Page 1 of 1

Problems with RRD files in Nagios 5.5.7

Posted: Tue Dec 04, 2018 7:05 pm
by evisus
Nagios Version: 5.5.7
O.S: CentOS Linux release 7.5.1804 (Core)
Core/CPU: 2 Core / Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
Mem: 4Gb

attached profile

######

We are testing Nagios 5.5.7 in a clean centos installation.

It calls attention to the RRD files are not generated, XML files are generated correctly, we do not see errors in the log records.

The installation process has been regular, we have only made a change of the keys by default, but even before that the rrd files were not generated.

I appreciate your help

Re: Problems with RRD files in Nagios 5.5.7

Posted: Tue Dec 04, 2018 8:59 pm
by evisus
Apparently I found the error.

The problem is not because of errors in Nagios 5.5.7, it is related to an error in Centos 7.5

When trying to manually create an rrd file I found the following error:

[root@localhost]#rrdtool restore /usr/local/nagios/share/perfdata/localhost/PING.xml /usr/local/nagios/share/perfdata/localhost/PING.rrd

rrdtool: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard

This led me to find the following bugs: "https://bugs.centos.org/view.php?id=15495"

Updating glib2 the problem is solved.

Now I have little data for the graphics, but for tomorrow I will have the certainty that the problem is corrected

Re: Problems with RRD files in Nagios 5.5.7

Posted: Wed Dec 05, 2018 8:53 am
by evisus
There are no problems with the graphics.

You only have to update glib2 in the new installations of Centos 7.5.

I hope this information serves others.

Re: Problems with RRD files in Nagios 5.5.7

Posted: Wed Dec 05, 2018 10:33 am
by ssax
Thank you for posting this and the solution, I'm sure future visitors will find it helpful! Are we okay to lock the topic and mark it as resolved?

Re: Problems with RRD files in Nagios 5.5.7

Posted: Wed Dec 05, 2018 10:56 am
by evisus
Yes, it is resolved, you can close the ticket.
Thank you