I'm using manual config files in Nagios XI 2009R1.4B to monitor several Win2008 machines.
Using check_nrpe, I'm querying NSClient++ (0.3.8.76) for CheckCPU, CheckMem, and CheckDriveSize. All Service checks seem to be working OK, and performance data is returned in the "Service Detail" screen and under "Performance Data" in the Advanced tab for all the Services.
But the only rrd data files being generated are those for the cpu service check. graphs for the cpu service checks look OK, but naturally graphs for the other services are unavailable since no data is being kept.
Since CPU performance data is logging ok, I assume it's not a file permission or security credential problem.
Any ideas? Any screenshots you'd like to see?
Thanks....Lyle
performance data not kept for some services
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
Re: performance data not kept for some services
One possibility is that you simply haven't told it to. There is an option in the service definition for whether or not to "process performance data" - is that enabled for all of them?
-
- Posts: 158
- Joined: Sun Nov 21, 2010 3:05 am
Re: performance data not kept for some services
I am thinking of using that parameter to cut down on future performance issues. But these are config files copied from our Core 3.0.3 installation, and do not contain any statement like this.
Thanks...Lyle
Thanks...Lyle
-
- Posts: 578
- Joined: Sat Nov 20, 2010 4:51 pm
Re: performance data not kept for some services
Hello Lyle,
it would be this:
If you would could you please send a config snapshot to me so we could look through a few things if possible?
rdedon@nagios.com
Thanks!
it would be this:
Code: Select all
process_perf_data 1 ; Process performance data
rdedon@nagios.com
Thanks!
-
- Posts: 158
- Joined: Sun Nov 21, 2010 3:05 am
Re: performance data not kept for some services
Just emailed you our /usr/local/nagios/etc directory as a tar.gz file.
Thanks for your responsiveness.....Lyle
Thanks for your responsiveness.....Lyle
-
- Posts: 578
- Joined: Sat Nov 20, 2010 4:51 pm
Re: performance data not kept for some services
Received it and combing through it at the moment, thanks! 

-
- Posts: 578
- Joined: Sat Nov 20, 2010 4:51 pm
Re: performance data not kept for some services
Still looking through these and in the meantime could you try these:
Also, go to a service with a known graphing issue and on the Advanced tab copy the output and paste it here.
Such as:
Code: Select all
service npcd restart
Such as:
Thanks!Advanced Status Details
Service State: Ok
Duration: 2d 3h 36m 41s
State Type: Hard
Current Check: 1 of 4
Last Check: 2011-04-07 07:57:55
Next Check: 2011-04-07 08:02:55
Last State Change: 2011-04-05 04:22:55
Last Notification: Never
Check Type: Active
Check Latency: 0.05 seconds
Execution Time: 4.07963 seconds
State Change: 0%
Performance Data: rta=0.061000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0
-
- Posts: 158
- Joined: Sun Nov 21, 2010 3:05 am
Re: performance data not kept for some services
I restarted npcd and gave it some time, but no new rrd files have been created.
Here's the Advanced Tab for a memory check:
Thanks for the help....Lyle
Here's the Advanced Tab for a memory check:
Code: Select all
Advanced Status Details
Service State: Ok
Duration: 21h 53m 52s
State Type: Hard
Current Check: 1 of 3
Last Check: 2011-04-07 11:32:38
Next Check: 2011-04-07 11:38:38
Last State Change: 2011-04-06 13:44:38
Last Notification: Never
Check Type: Active
Check Latency: 0.015 seconds
Execution Time: 0.33501 seconds
State Change: 0%
Performance Data: 'physical memory %'=25%;80;90; 'physical memory'=1.0G;3.;3.;0;4;
-
- Posts: 578
- Joined: Sat Nov 20, 2010 4:51 pm
Re: performance data not kept for some services
okay, it looks like there is a syntax error and a space in between "physical" and "memory" in what you have shown.
Here is a quick overview that should help:
http://docs.pnp4nagios.org/pnp-0.4/abou ... quirements
Here is a quick overview that should help:
http://docs.pnp4nagios.org/pnp-0.4/abou ... quirements
-
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
Re: performance data not kept for some services
The space is fine because he's quoting the label.