pnp4nagios graph data swapped after upgrading nsclient 0.5.2

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
rohithroki
Posts: 138
Joined: Mon Nov 30, 2015 6:12 am

pnp4nagios graph data swapped after upgrading nsclient 0.5.2

Post by rohithroki »

Hi Team,

Recently we upgraded the nsclient from version 0.3.9 to 0.5.2 on all the windows servers.

we do have physical memory service monitoring via nrpe plugin.

In Nsclient 0.3.9

The physical memory monitor and the Nagios output follows.

Code: Select all

[root@XXX libexec]# ./check_nrpe -H <IPAddress> -p 5666 -c CheckMEM -a type=physical ShowAll
OK: physical memory: 3.26G|'physical memory %'=81% 'physical memory'=3.26GB 
In Nsclient 0.5.2

Physical memory output as follows

Code: Select all

[root@xxxx libexec]# ./check_nrpe -H <IPAddress> -p 5666 -c CheckMEM -a type=physical ShowAll
OK: physical: Total: 32GB - Used: 24.499GB (76%) - Free: 7.501GB (23%)|'physical'=24.49914GB;25.6;28.8;0;32 'physical %'=77%;80;90;0;100
In this case, the pnp4nagios graph data of the service for 1 year duration has been swapped during the upgrade, as the output differs from the versions.

Attaching the figure 1 for Nsclient 0.3.9 client looks good.

but for Nsclient 0.5.2 clients, the data has been swapped between the graphs attaching figure 2.

pleas help me to sort the issue.

Regards,
Simbu S
Attachments
figure 2
figure 2
figure 1
figure 1
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: pnp4nagios graph data swapped after upgrading nsclient 0

Post by tgriep »

You may need to contact the author of NSClient to see if there is a solution ot that he will put the performance data output back to the legacy output.
In the documentation for the check, there is a perf-config option that you can use to change the output but is seems to not work.
And the link to the document is unclear is if it implemented.
https://docs.nsclient.org/reference/win ... erf-config

Code: Select all

./check_nrpe -H <IPAddress> -c check_memory -a type=physical "perf-config=used %(suffix: %)used(suffix)"
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked