performance data not kept for some services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

performance data not kept for some services

Post by lyle »

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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA

Re: performance data not kept for some services

Post by tonyyarusso »

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?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: performance data not kept for some services

Post by lyle »

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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: performance data not kept for some services

Post by rdedon »

Hello Lyle,
it would be this:

Code: Select all

process_perf_data 1 ; Process performance data
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!
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: performance data not kept for some services

Post by lyle »

Just emailed you our /usr/local/nagios/etc directory as a tar.gz file.

Thanks for your responsiveness.....Lyle
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: performance data not kept for some services

Post by rdedon »

Received it and combing through it at the moment, thanks! :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: performance data not kept for some services

Post by rdedon »

Still looking through these and in the meantime could you try these:

Code: Select all

service npcd restart
Also, go to a service with a known graphing issue and on the Advanced tab copy the output and paste it here.
Such as:
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
Thanks!
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: performance data not kept for some services

Post by lyle »

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:

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;
Thanks for the help....Lyle
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: performance data not kept for some services

Post by rdedon »

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
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA

Re: performance data not kept for some services

Post by tonyyarusso »

The space is fine because he's quoting the label.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/