i upgraded to 5.3 and now mrtg is generating these errors
2016-10-04 15:25:39: WARNING: Expected a number but got 'noSuchInstance'
2016-10-04 15:25:39: WARNING: Expected a number but got 'noSuchInstance'
2016-10-04 15:25:39: WARNING: Expected a number but got 'noSuchInstance'
2016-10-04 15:25:39: WARNING: Expected a number but got 'noSuchInstance'
this is mrtg version
LANG=C LC_ALL=C /usr/bin/mrtg
Usage: mrtg <config-file>
mrtg-2.17.4 - Multi Router Traffic Grapher
Copyright 1995-2006 by Tobias Oetiker
Licensed under the Gnu GPL.
If you want to know more about this tool, you might want
to read the docs. You can find everything on the
mrtg website:
http://oss.oetiker.ch/mrtg/
upgraded to 5.3 / mrtg issues
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: upgraded to 5.3 / mrtg issues
Can you post the output of more /etc/mrtg/mrtg.cfg?
Also, do you have any output when you run LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg?
Do you run any custom commands? If so, could you post them here?
Also, do you have any output when you run LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg?
Do you run any custom commands? If so, could you post them here?
Re: upgraded to 5.3 / mrtg issues
Are you using SNMP Version 3 to monitor that device that is generating the message?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: upgraded to 5.3 / mrtg issues
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg
Forks: 4
EnableSnmpV3: yes
Include: conf.d/*.cfg
EnableSNMPv3: yes
~
i do have output from command and i do not run any special commands...
ImageDir: /var/www/mrtg
LogFormat: rrdtool
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg
WorkDir: /var/lib/mrtg
Forks: 4
EnableSnmpV3: yes
Include: conf.d/*.cfg
EnableSNMPv3: yes
~
i do have output from command and i do not run any special commands...
Re: upgraded to 5.3 / mrtg issues
my mrtg config never changed..
Re: upgraded to 5.3 / mrtg issues
The SNMPv# settings in the /etc/mrtg.cfg file enable the use of SNMPv3 we would have to see the configuration file for the device that is generating the error to see if it is using SNMPv3
Are the interfaces that are generating the warning messages functioning correctly in the XI interface and are showing bandwidth information?
Code: Select all
/etc/mrtg/conf.dBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: upgraded to 5.3 / mrtg issues
the graphs are working... i don't know exactly which file is causing the error...i have over 250 files in that directory
Re: upgraded to 5.3 / mrtg issues
You can run the command below and look at the /tmp/mrtg.txt file to see which device is causing the warning.
It could be that the interface isn't active anymore on that device causing the warning. At that point, you can remove the entries from the cfg file as they are not needed anymore.
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base &> /tmp/mrtg.txtBe sure to check out our Knowledgebase for helpful articles and solutions!