rrd files not created

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: rrd files not created

Post by xlin125 »

I increased the Performance Data Logging Verbosity to use a debug log level "2" on two Nagios XI servers.

I noticed that on a Nagios XI server that is able to create rrd files, the perfdata.log shows an update for a rrd file for a Ping service below and this rrd file actually exists under this host in the perfdata directory:
2018-02-21 22:37:23 [92933] [2] /opt/app/rrdtool/bin/rrdtool update ///opt/app/nagios/share/perfdata/nycmnyfotl01v/Ping_vm.rrd 1519252623:91.029999:0

I also noticed that on a Nagios XI server that is unable to create rrd files, the perfdata.log shows a creation for a rrd file for a ping service, but this rrd file does not exist under this host in the perfdata directory:
2018-02-21 22:36:44 [74814] [2] /opt/app/rrdtool/bin/rrdtool create ///opt/app/nagios/share/perfdata/nycmnyfotl01v/_HOST_.rrd RRA:AVERAGE:0.5:1:2880 RRA:AVERAGE:0.5:5:2880 RRA:AVERAGE:0.5:30:4320 RRA:AVERAGE:0.5:360:5840 RRA:MAX:0.5:1:2880 RRA:MAX:0.5:5:2880 RRA:MAX:0.5:30:4320 RRA:MAX:0.5:360:5840 RRA:MIN:0.5:1:2880 RRA:MIN:0.5:5:2880 RRA:MIN:0.5:30:4320 RRA:MIN:0.5:360:5840 DS:1:GAUGE:8460:U:U DS:2:GAUGE:8460:U:U DS:3:GAUGE:8460:U:U DS:4:GAUGE:8460:U:U --start=1519252572 --step=60

I do not see any "rrdtool update" for a service for a host on this Nagios XI server in the perfdata.log, like the first Nagios XI server that actually has rrd files created. I only see the "rrdtool update" in the perfdata.log on this Nagios XI server as shown below:
2018-02-21 22:37:15 [75547] [2] /opt/app/rrdtool/bin/rrdtool update ///opt/app/nagios/share/perfdata/.pnp-internal/runtime_runtime.rrd 1519252604:3.277295
2018-02-21 22:37:15 [75547] [2] /opt/app/rrdtool/bin/rrdtool update ///opt/app/nagios/share/perfdata/.pnp-internal/runtime_update.rrd 1519252604:0
2018-02-21 22:37:15 [75547] [2] /opt/app/rrdtool/bin/rrdtool update ///opt/app/nagios/share/perfdata/.pnp-internal/runtime_create.rrd 1519252604:0

Can you explain these different log messages in the perfdata.log on these two Nagios XI servers and the relationship to the rrd files? Thanks!
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: rrd files not created

Post by xlin125 »

The problem was that the two libraries from pixman-0.32.8-1.el6.x86_64.rpm are bad: libpixman-1.so.0.32.8 is empty (zero size), and libpixman-1.so.0 is missing. So when rrdtool ran, it returned with error while loading these shared libraries. We asked SA to reinstall this RPM package on this server. Now rrd file are created,and all looks good now. Thanks for the help and support.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: rrd files not created

Post by tgriep »

Thanks for reporting back that the issue is resolved. If you do not have any related questions, shall I lock the post as solved?
Be sure to check out our Knowledgebase for helpful articles and solutions!
xlin125
Posts: 172
Joined: Mon Jan 19, 2015 6:01 pm

Re: rrd files not created

Post by xlin125 »

Yes, please lock this post as solved. Thanks!
Locked