Page 1 of 1

NagiosPro stopped update some RRD

Posted: Tue May 06, 2014 10:20 am
by akhokhlov
Hi,

I recently purchased and installed NagiosPro. It worked well but yesterday there was a strange problem -
nagios graph does not draw graphs of all services except standart PING and standart localhost services.
I see that the RRD files of other services are stopped and not updated, and new rrd cant created :
[root@nagios ~]# ls -al /usr/local/nagios/share/perfdata/MegaMart_BS11217/
-rw-rw-rw- 1 nagios nagios 768224 May 6 19:06 1._Wired_Channel_Ping_Loss_Latency.rrd
-rw-rw-rw- 1 nagios nagios 3112 May 6 19:06 1._Wired_Channel_Ping_Loss_Latency.xml
-rw-rw-rw- 1 nagios nagios 768224 May 6 19:04 2._Rezerv_Channel_Ping_Loss_Latency.rrd
-rw-rw-rw- 1 nagios nagios 3132 May 6 19:04 2._Rezerv_Channel_Ping_Loss_Latency.xml
-rw-rw-rw- 1 nagios nagios 384952 May 5 12:42 3._Hotspot_Active_Users.rrd
-rw-rw-rw- 1 nagios nagios 2370 May 5 12:42 3._Hotspot_Active_Users.xml
-rw-rw-rw- 1 nagios nagios 384952 May 5 14:36 3._PoE_Temperature.rrd
-rw-rw-rw- 1 nagios nagios 2354 May 5 14:36 3._PoE_Temperature.xml
-rw-rw-rw- 1 nagios nagios 384952 May 5 12:45 4._PoE_Temperature.rrd
-rw-rw-rw- 1 nagios nagios 2348 May 5 12:45 4._PoE_Temperature.xml

In http://"mynagios"/nagios/pnp/index.php i see "Data for this service is too old" ( print in attach)

Can you help me to resolve this problem, it should be easy for you.

Re: NagiosPro stopped update some RRD

Posted: Tue May 06, 2014 11:44 am
by sreinhardt
What was the timerange specified for the graph you attempted to display? Also how long have those hosts\services been collecting data within nagios?

Re: NagiosPro stopped update some RRD

Posted: Wed May 07, 2014 12:28 am
by akhokhlov
This problem occurs in all modes timerange. It's weekly graph.
These services are collected and successfully showed graphics - 4 or 5 days

Re: NagiosPro stopped update some RRD

Posted: Wed May 07, 2014 12:58 pm
by lmiltchev
Run the following command and see if this is going to solve your issue:

Code: Select all

chmod -R +x /usr/local/nagios/share/perfdata/

Re: NagiosPro stopped update some RRD

Posted: Mon May 12, 2014 12:33 am
by akhokhlov
The problem was solved - a command's output was modified. In this nagios service status displays correctly, but the graphics are not painted.
Is there documentation for the correct command output for graphics?

Re: NagiosPro stopped update some RRD

Posted: Mon May 12, 2014 10:17 am
by slansing
The problem was solved - a command's output was modified. In this nagios service status displays correctly, but the graphics are not painted.
So, you said the problem was solved, but it is not? Is it actually not solved? You said that it does not graph the data, which I though was your original issue, nothing was mentioned about service status's.

What do you mean by "a command's output was modified"?

Re: NagiosPro stopped update some RRD

Posted: Tue May 20, 2014 12:51 am
by akhokhlov
This means that I have changed the format of the output of the script.
Problem solved, thanks