Switches without bandwidth data
Posted: Tue Aug 13, 2013 12:16 pm
I am trying to figure out why some switches don't show bandwidth data. I have tried running this to colled data:
and then I searched the log file /tmp/mrtg_teste2.log for the IP address of the switch with the issue and found this:
]
Any idea of what could be going on? I am a little lost on how to keep investigating.
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --confcache-file /var/lib/mrtg/mrtg.ok --log-only -debug=snmp -loggin /tmp/mrtg_teste2.log
Code: Select all
2013-08-09 14:22:10 -- SNMP Error:
no response received
SNMPv2c_Session (remote host: "172.27.134.1" [172.27.134.1].161)
community: "n@g10s"
request ID: 1900662350
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
2013-08-09 14:22:10 -- SNMPGET Problem for ifHCInOctets.1 ifHCOutOctets.1 on n@[email protected]:::::2:v4only
at /usr/bin/mrtg line 2035
2013-08-09 14:22:10 -- Friday, 9 August 2013 at 14:19: WARNING: skipping because at least the query for ifHCInOctets.1 on 172.27.134.1 did not succeed
2013-08-09 14:22:10 -- Friday, 9 August 2013 at 14:19: WARNING: no data for ifHCInOctets&ifHCOutOctets:n@[email protected]. Skipping further queries for Host 172.27.134.1 in this round.
...
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_1][_IN_] ' $target->[1031]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_1][_OUT_] ' $target->[1031]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_100][_IN_] ' $target->[1032]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_100][_OUT_] ' $target->[1032]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_101][_IN_] ' $target->[1033]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_101][_OUT_] ' $target->[1033]{$mode} c' (warn): (Missing operator before c?)
....
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_5001][_OUT_] ' $target->[1039]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_5002][_IN_] ' $target->[1040]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_5002][_OUT_] ' $target->[1040]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_5179][_IN_] ' $target->[1041]{$mode} c' (warn): (Missing operator before c?)
2013-08-09 14:22:29 -- Friday, 9 August 2013 at 14:22: ERROR: Target[172.27.134.1_5179][_OUT_] ' $target->[1041]{$mode} c' (warn): (Missing operator before c?)
Any idea of what could be going on? I am a little lost on how to keep investigating.