Hi,
I ran these all commands, however it did not work.
After running these commands I added a new device with SNMPv3 and the graphics still do not generate data in the bandwidth
Bandwith Graphs show 0/0 in all network hosts.
Re: Bandwith Graphs show 0/0 in all network hosts.
Maybe it is a permission problem with some of the files as all of the tests seem to work running as root.
Lets change how the MRTG application runs.
Edit the /etc/cron.d/mrtg file and change this line from
to
Save the change and restart cron by running
service crond restart
Wait for 20 minutes and see if you start to see the bandwidth.
Lets change how the MRTG application runs.
Edit the /etc/cron.d/mrtg file and change this line from
Code: Select all
*/5 * * * * root 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=nagiosCode: Select all
*/5 * * * * root 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.okservice crond restart
Wait for 20 minutes and see if you start to see the bandwidth.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Bandwith Graphs show 0/0 in all network hosts.
Hi,
It's worked!!
Thank you a lot for your entire Help.
It's worked!!
Thank you a lot for your entire Help.
Re: Bandwith Graphs show 0/0 in all network hosts.
That is good news that it is working now. Let us know if it is OK to lock the post for you as solved.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Bandwith Graphs show 0/0 in all network hosts.
I have been stalking this topic...now that the original user is happy, can I continue this thread?
Our environment also ran with improved reliability when running MRTG as an root, but it is still a bit ... unreliable. But either way, I don't really want to run MRTG as root - this server has secrets that need to be protected, and I consider the risks too high...
Do I need to start another thread?
Our environment also ran with improved reliability when running MRTG as an root, but it is still a bit ... unreliable. But either way, I don't really want to run MRTG as root - this server has secrets that need to be protected, and I consider the risks too high...
Do I need to start another thread?
Re: Bandwith Graphs show 0/0 in all network hosts.
Starting a new thread would be best to keep the issues separate.
Be sure to check out our Knowledgebase for helpful articles and solutions!