Page 1 of 1

MRTG doesn't work after latest update

Posted: Mon Dec 17, 2018 4:35 pm
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.

Re: MRTG doesn't work after latest update

Posted: Mon Dec 17, 2018 5:05 pm
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

Re: MRTG doesn't work after latest update

Posted: Mon Dec 17, 2018 5:19 pm
by NMFSTeam
Ok we will give that a shot, thank you. Should we restart the server, or restart any other services?

Thanks.

Re: MRTG doesn't work after latest update

Posted: Mon Dec 17, 2018 5:22 pm
by npolovenko
@mblower, Just the crond should be enough.

Re: MRTG doesn't work after latest update

Posted: Mon Dec 17, 2018 5:52 pm
by NMFSTeam
Sounds good, thank you. If we have any more issues, we'll make a new post. You may close this thread.

Re: MRTG doesn't work after latest update

Posted: Mon Dec 17, 2018 5:55 pm
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