Re: Gaps in interface's bandwidth graphing
Posted: Mon Oct 14, 2019 2:18 pm
The data for Bandwidth graphs are collected using a application called MRTG and it that process is not retrieving the data for any reason, that could cause the issue in the graphs showing zero for the data.
Can you run the following commands as root and post the the /tmp/mrtg.txt file here so we can see if there are any errors, etc..?
You could try this to see if it allows more MRTG forks to run so it can gather data.
Edit the /etc/mrtg/mrtg.cfg file and change this line from
to
Save the file and restart crond by running
service crond restart
See if this fixes the issue.
Can you run the following commands as root and post the the /tmp/mrtg.txt file here so we can see if there are any errors, etc..?
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.txtEdit the /etc/mrtg/mrtg.cfg file and change this line from
Code: Select all
Forks: 4Code: Select all
Forks: 16service crond restart
See if this fixes the issue.