Network traffic anomaly detection fails: quick fix

Cybersecurity & Malware Intermediate 👁 10 views 📅 Jun 23, 2026

Your anomaly detection tool misses threats or false alarms. The usual cause is a misconfigured SNMP or NetFlow setting. Here's the fix.

You're not alone — this is frustrating

You've got a network anomaly detection tool — maybe SolarWinds, PRTG, or Zabbix — and it's either showing nothing or screaming about things that aren't real. I've seen this a hundred times. The fix is usually boring, not a deep security issue.

The fix: check SNMP and NetFlow first

90% of the time, the problem is on the device side, not your monitoring server. Here's the order I use:

Step 1: Verify SNMP is running on your devices

Log into your router, switch, or firewall. For a Cisco device, use SSH or console. Run this command:

show snmp

You should see something like "SNMP agent enabled" and a community string (like "public" or "monitor"). If it says disabled, enable it:

configure terminal
snmp-server community public RO
end
write memory

What to expect: After you run write memory, the config saves. Wait 2 minutes, then check your monitoring tool. If you see traffic data now, you're done. If not, keep going.

Step 2: Match the SNMP version

Your monitoring tool and your device must speak the same SNMP version. v2c is the most common. v3 is more secure but harder to set up. If your tool uses v3 and the device uses v2c, you'll get nothing. On your monitoring server, check the SNMP settings:

  • For PRTG: go to Device Settings > SNMP Version. Set it to v2c if you're not sure.
  • For Zabbix: host configuration > SNMP interfaces > version dropdown.

Real-world trigger: This happens a lot after a firewall firmware update. The update sometimes resets SNMP to v3 by default. I've seen it on Fortinet and Palo Alto gear.

Step 3: Check NetFlow or sFlow

Anomaly detection tools need traffic flow data. If SNMP works but you still get no anomalies, flow data is probably missing. On a Cisco switch:

show flow exporter
show flow monitor

If these show nothing, you need to configure NetFlow. Here's a basic setup for a Cisco switch:

configure terminal
flow exporter EXPORTER-1
 destination 192.168.1.100  (your monitoring server IP)
 transport udp 2055
 source vlan 1
 exit
flow monitor MONITOR-1
 exporter EXPORTER-1
 record netflow original
 exit
interface gigabitethernet 1/0/1
 ip flow monitor MONITOR-1 input
 end
write memory

What to expect: After 5 minutes, your monitoring tool should start showing flow data. If it doesn't, check that port 2055 (or whatever port you used) is open on your firewall between the switch and the monitoring server.

Why this worked

Network anomaly detection relies on two things: device health (SNMP) and traffic patterns (NetFlow/sFlow). If either is broken, the tool either sees nothing or sees garbage data. Matching the SNMP version is the most common mistake — v2c vs v3 is like speaking English vs Spanish. The device hears noise, not data. NetFlow setup is the second most common — people forget to apply the flow monitor to an interface. Without that, no traffic data leaves the switch.

Less common variations of the same problem

Variation 1: SNMP community string mismatch

Your monitoring tool has "public" configured, but the device has "monitor123". Simple fix: change the tool to match the device, or change the device. On a Cisco device:

snmp-server community monitor123 RO

On PRTG: go to device settings, SNMP community, type monitor123. Test connection.

Variation 2: Firewall blocking SNMP or NetFlow ports

SNMP uses UDP 161. NetFlow uses UDP 2055 (or custom). If there's a firewall between your switch and monitoring server, it might block these. On your firewall, add a rule to allow UDP 161 and UDP 2055 from the switch's IP to the monitoring server's IP. On a pfSense firewall:

Firewall > Rules > Add: Protocol UDP, Source switch IP, Destination monitoring IP, port 161 and 2055

What to expect: After adding the rule, traffic should appear within 2 minutes.

Variation 3: Too many false positives from broadcast traffic

Sometimes the tool works but shouts at you for normal broadcast storms. This isn't a real failure. On your monitoring tool, set a baseline threshold. For SolarWinds: go to Alerts > Thresholds > Network > set "Broadcast packets per second" to 1000 before alerting. On PRTG: sensor settings > "Trigger if above" field — set to a higher number like 5000.

How to stop this from happening again

  • Document your SNMP and NetFlow configs. Write down the community string, version, and flow exporter details. Keep a text file on your team's shared drive.
  • Test after every firmware update. It's the top trigger. After updating your firewall or switch, run show snmp and show flow exporter to verify they're still there.
  • Use SNMP v3 if you can. It's harder to set up initially, but it doesn't break after updates as often. I've seen v2c reset to default "public" after updates. v3 stays put.
  • Set a calendar reminder. Every 3 months, log into your monitoring tool and verify it's seeing data from all critical devices. Takes 10 minutes. Saves hours of panic later.

That's it. Start with SNMP, then NetFlow. If both are correct and you still have issues, it's probably a firewall rule. I've never seen it be anything else in the last 8 years of doing this.

Was this solution helpful?