I Open the /usr/local/nagios/etc/resource.cfg file
I Edit the $USER1$ macro
$USER1$=LC_ALL=C /usr/local/nagios/libexec
When running Nagios XI on a system bandwidth services and their associated graphs may incorrectly report 0 Mb/s even though there is traffic actively flowing through the given port.
Nagios XI - Bandwidth Graphs Showing 0Mb/s
-
- Posts: 1
- Joined: Sun Mar 31, 2019 1:31 pm
Re: Nagios XI - Bandwidth Graphs Showing 0Mb/s
Can you run the following commands as root and post the the /tmp/mrtg.txt file here?
What version of XI are you running?
What OS and Release version is it installed on?
Code: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=cfg,base,log &> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios &>> /tmp/mrtg.txt
{ time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg 2>1 ; } 2>> /tmp/mrtg.txt
What OS and Release version is it installed on?
Be sure to check out our Knowledgebase for helpful articles and solutions!