Hi,
My issue is similar to this: http://support.nagios.com/forum/viewtop ... data#p9847
We've added a few Cisco switches via the wizard only monitoring bandwidth.
On one model ( a 6509 ) reports bandwidth usage on all ports.
Adding similar models also seem to result in it reporting bandwidth usage.
Adding other models ( 3560 & 6513 ) results in all of the bandwidth monitoring to be zero'd out.
Now, I've noticed when I added the 6509 model via the wizard, I ended up with a bunch of ports that reported an 'Unknown' state due to the .rrd file not getting created becuase there was no activity on the port at the time the wizard was run.I resolved this by touching the relevent .rrd files. The other models add the ports regardless of port activity, though I'm not sure these two events are related.
Any ideas?
Switch Bandwidth - Peformance Data empty.
Re: Switch Bandwidth - Peformance Data empty.
In regards to the zero bandwidth situation, have you tried using private write community string? I was running into a similar situation and created a private string with write access on the switch and that fixed the problem immediately.
Also thanks for the tip on touching the rrd files.
Also thanks for the tip on touching the rrd files.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Switch Bandwidth - Peformance Data empty.
Ok,
I tried the private write string, the switch still isn't reporting the performance data.
Is the private read/write string saved somewhere, or is it only being using in the initial mrtg/cfgmaker scan?
I checked, and the switches are both running the same IOS.
I tried the private write string, the switch still isn't reporting the performance data.
Is the private read/write string saved somewhere, or is it only being using in the initial mrtg/cfgmaker scan?
I checked, and the switches are both running the same IOS.
Re: Switch Bandwidth - Peformance Data empty.
I believe the string is store in the service config of the device or service you set up to monitor with that community string. Its not explicitly stated, but it is in the check_command of some of the services in the services/<hostname>.cfg
Can you try executing the check_snmp_int from the command line? If you're unsure how to do that (default location) go to /usr/local/nagios/libexec/ . From here just ./check_snmp_int -H <hostname> -n <InterfaceName> -C <string> -k -w 0,0 -c 0,0
Does that return anything?
Can you try executing the check_snmp_int from the command line? If you're unsure how to do that (default location) go to /usr/local/nagios/libexec/ . From here just ./check_snmp_int -H <hostname> -n <InterfaceName> -C <string> -k -w 0,0 -c 0,0
Does that return anything?
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Switch Bandwidth - Peformance Data empty.
I'm getting
"port:UP No usable data on file (3 rows) :(1 UP): UNKNOWN"
even on ports that are getting performance data.
"port:UP No usable data on file (3 rows) :(1 UP): UNKNOWN"
even on ports that are getting performance data.
Re: Switch Bandwidth - Peformance Data empty.
mccollege,
I haven't found a fix for your problem yet, but I have managed to duplicate it, I'll keep you up to date on what I find.
I haven't found a fix for your problem yet, but I have managed to duplicate it, I'll keep you up to date on what I find.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Switch Bandwidth - Peformance Data empty.
mccollege,
There is another post on this topic here, that we will continue the troubleshoot on, I would very much like your input there to see if we can get a resolution for this issue.
http://support.nagios.com/forum/viewtop ... 931#p10931
There is another post on this topic here, that we will continue the troubleshoot on, I would very much like your input there to see if we can get a resolution for this issue.
http://support.nagios.com/forum/viewtop ... 931#p10931
Nicholas Scott
Former Nagios employee
Former Nagios employee