MRTG doesn't work after latest update

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
NMFSTeam
Posts: 88
Joined: Thu Nov 12, 2015 9:01 am

MRTG doesn't work after latest update

Post by NMFSTeam »

We have updated our Nagios XI server from 5.5.5 to 5.5.8, and now, bandwidth graphs are not working anymore. We are assuming it is some sort of permission issue, but if you could point us in the right direction, that would be great.

It is running on CentOS 6.10 server.

Thank you very much.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: MRTG doesn't work after latest update

Post by npolovenko »

Hi, @mblower. There was a bug with mrtg cron in the latest version of XI. Here is a temporarely fix untill we come up with the new update:
Open the following cron /etc/cron.d/mrtg and delete --user=nagios --group=nagios:
*/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=nagios
Save the cron and run the following command:
service crond restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
NMFSTeam
Posts: 88
Joined: Thu Nov 12, 2015 9:01 am

Re: MRTG doesn't work after latest update

Post by NMFSTeam »

Ok we will give that a shot, thank you. Should we restart the server, or restart any other services?

Thanks.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: MRTG doesn't work after latest update

Post by npolovenko »

@mblower, Just the crond should be enough.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
NMFSTeam
Posts: 88
Joined: Thu Nov 12, 2015 9:01 am

Re: MRTG doesn't work after latest update

Post by NMFSTeam »

Sounds good, thank you. If we have any more issues, we'll make a new post. You may close this thread.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: MRTG doesn't work after latest update

Post by scottwilkerson »

mblower wrote:Sounds good, thank you. If we have any more issues, we'll make a new post. You may close this thread.
Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked