Page 1 of 1

Graph is not updating

Posted: Tue Apr 11, 2023 3:18 pm
by bv406
I've got a XI installation and created a new one to migrate some hosts/services.

After the new server was installed, I was tasked with the configuration and the migration of objects.

I copied the hosts and services and they're visible in the UI, then I copied all rrd files from /var/lib/mrtg over but they're not getting updated.

I checked and followed the article below:
Nagios XI - Performance Graph Problems: https://support.nagios.com/kb/article.php?id=9

I'm get some output from the logs:
/usr/local/nagios/var/perfdata.log - empty
/usr/local/nagios/var/npcd.log - full of "NPCD: WARN: MAX load reached: load 992.720000/10.000000 at i=57" errors (numbers vary).

I have thousands of "/bin/bash /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/..." processes that are hitting the server.

Should I delete the rrd files?

Re: Graph is not updating

Posted: Tue Apr 11, 2023 4:29 pm
by bv406
UPDATE:
Read this article, https://support.nagios.com/kb/article/n ... s-510.html and it mentioned configurations for hosts contained in /etc/mrtg/conf.d/*.cfg.

Since there weren't any *,cfg files in the new server, I copied them from the old server and rebooted.

Now, /var/lib/mrtg/ is starting to populate and and rrd files were created.