Page 1 of 1

Nagios XI check_xi_service_mrtgtraf showing 0gbps

Posted: Wed Jul 12, 2017 7:34 am
by argrubbs
I'm currently running Nagios XI 5.4.3 on CentOS 7. I have used the wizard for monitoring network switches and included the bandwidth monitoring and graphing. However, there appears to be no data coming in. I checked the OID for ifOctetsIn and it returned data, so the switch is noting the data coming through. However in XI there is no data being displayed. I checked the mrtg.cfg and it is using rrdtool for log files. Is there anything else that I could possibly be overlooking?

Re: Nagios XI check_xi_service_mrtgtraf showing 0gbps

Posted: Wed Jul 12, 2017 3:44 pm
by tgriep
The 2 links below are some KB articles you can go through to see if they fix the issue you are having with the bandwidth being reported as 0.
https://support.nagios.com/kb/article/n ... x-cfg.html
https://support.nagios.com/kb/article/n ... *-cfg.html

If either of them do not work, can you run the following command as root and post the /tmp/mrtg.txt file?

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base &> /tmp/mrtg.txt