NSClient++ Help (#1) - Some performance data not stored in RRD (#767) - Message List
Our Nagios XI (2009R1.4B) installation is checking NSClient++ (0.3.8.76) on some Windows 2008 hosts via NRPE.
All service checks (CheckCPU, CheckMem, CheckDriveSize, and CheckServiceState) respond with performance data. But only CheckCPU winds up in an RRD data file.
I'm wondering if the problem might be the space characters included in the performance data.
For example, XI shows this string being returned from CheckMem:
Performance Data: 'physical memory %'=25%;80;90; 'physical memory'=1.0G;3.;3.;0;4;
By watching for arriving files in /usr/local/nagios/var/spool/perfdata and quickly looking at one before PNP consumes it, I see:
DATATYPE::SERVICEPERFDATA TIMET::1302212328 HOSTNAME::pat-sac-cpa-001 SERVICEDESC::Memory/Windows SERVICEPERFDATA::physical memory %=25%;80;90; physical memory=1.03G;3.;3.;0;4; SERVICECHECKCOMMAND::check_nrpe_mem HOSTSTATE::UP HOSTSTATETYPE::HARD SERVICESTATE::OK SERVICESTATETYPE::HARD SERVICEOUTPUT::OK: physical memory: Total: 4G - Used: 1.03G (25%) - Free: 2.97G (75%)
Notice how the single quotes have been striped out and the spaces are exposed. I'm wondering if that's why RRD files aren't being created. The PNP logfile just show the incoming spooled data being consumed without error.
Thanks for any advice...Lyle
-
Message #2141
Sorry, but I double-posted #766 and #767 on Friday 4/8/11.
Please delete one of them. Maybe the double post is the reason they show up in the Timeline, but have not been visible in the Forum.
Thanks...Lyle
Lyle04/11/11 17:20:33 (2 years ago)-
Message #2142
From the PNP4Nagios-Users list:
This is fixed since pnp4nagios 0.6.3 and also reported to Michael Medin http://nsclient.org/nscp/ticket/364
Joerg
Lyle04/12/11 17:22:12 (2 years ago)
-








