NagiosPro stopped update some RRD

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
akhokhlov
Posts: 4
Joined: Mon Apr 21, 2014 8:37 am

NagiosPro stopped update some RRD

Post 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.
Attachments
printscreen.png
printscreen.png (13.58 KiB) Viewed 2360 times
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NagiosPro stopped update some RRD

Post 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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
akhokhlov
Posts: 4
Joined: Mon Apr 21, 2014 8:37 am

Re: NagiosPro stopped update some RRD

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosPro stopped update some RRD

Post 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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
akhokhlov
Posts: 4
Joined: Mon Apr 21, 2014 8:37 am

Re: NagiosPro stopped update some RRD

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosPro stopped update some RRD

Post 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"?
akhokhlov
Posts: 4
Joined: Mon Apr 21, 2014 8:37 am

Re: NagiosPro stopped update some RRD

Post by akhokhlov »

This means that I have changed the format of the output of the script.
Problem solved, thanks
Locked