Page 3 of 5

Re: SNMP Password limitation

Posted: Fri Feb 13, 2015 5:07 pm
by scottwilkerson
I think you may still have a version with a bug in it.

Please install 2.1.7 of the wizard which should replace the plugin with the current version
http://assets.nagios.com/downloads/nagi ... switch.zip

Re: SNMP Password limitation

Posted: Fri Feb 13, 2015 5:09 pm
by scottwilkerson
JohnFLi wrote:So now that I am not getting an error....

For Bandwidth on the ports, it all shows ZEROS
actually that is normal until the checks have been running for at least 10+ minutes.

Re: SNMP Password limitation

Posted: Fri Feb 13, 2015 5:40 pm
by JohnFLi
OK....upgraded and now the wizard is showing 2.1.7

The output has changed as well:

Re: SNMP Password limitation

Posted: Fri Feb 13, 2015 8:08 pm
by Box293
Can you please run these commands and send us the output:

Code: Select all

ls -al /etc/mrtg/conf.d/ | wc -l

ls -al /var/lib/mrtg/ | wc -l

service crond status

ps -aef | grep mrtg

Re: SNMP Password limitation

Posted: Sun Feb 15, 2015 12:24 am
by JohnFLi
ls -al /etc/mrtg/conf.d/ | wc -l returned the number 4

Code: Select all

[root@G1VPNAG03 mrtg]# ls -al /var/lib/mrtg/ | wc -l
30

[root@G1VPNAG03 mrtg]# service crond status
crond (pid  1760) is running...


[root@G1VPNAG03 mrtg]# ps -aef | grep mrtg

root       387  6749  0 21:22 pts/0    00:00:00 grep mrtg
[root@G1VPNAG03 mrtg]#

Re: SNMP Password limitation

Posted: Sun Feb 15, 2015 1:44 pm
by scottwilkerson
Did you bandwidth graphs start generating?

Re: SNMP Password limitation

Posted: Mon Feb 16, 2015 11:14 am
by JohnFLi
eventually, but it shows every port as Zero bandwidth, in and out.

Code: Select all

	fc1/7 Bandwidth	Ok	2d 18h 15m 2s	1/5	02/16/2015 08:09:42	OK - Current BW in: 0Gbps Out: 0Gbps

Re: SNMP Password limitation

Posted: Mon Feb 16, 2015 11:58 am
by abrist
Can you run the following and post the output:

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok

Re: SNMP Password limitation

Posted: Mon Feb 16, 2015 12:00 pm
by JohnFLi
not very informative

Code: Select all

[root@G1VPNAG03 mrtg]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
[root@G1VPNAG03 mrtg]#

Re: SNMP Password limitation

Posted: Mon Feb 16, 2015 12:21 pm
by abrist
Well, that means there are no errors when the mrtg cron is run.
Next, lets check to make sure the mrtg cron is running and configured correctly:

Code: Select all

service crond status
ls -la /etc/cron.d/mrtg
cat /etc/cron.d/mrtg