Page 1 of 2
Process Count not working after NSclient upgrade
Posted: Fri Oct 30, 2015 7:37 am
by ranjitw
Hi ,
After upgrading to NSCP-0.4.3-x64.msi Process Count is not working . Even if the criteria is met the alarm is getting generated .
Below is the output:
[root@hostn libexec]# ./check_nrpe -H newnsclient -t 30 -c CheckProcState -a MinCritCount=2 notepad.exe
CRITICAL: notepad.exe : 0, notepad.exe : 1|'count'=4;0;2
When running the same on old NSclient NSClient++-Stable-64 it working fine.
[root@hostn libexec]# ./check_nrpe -H oldnsclient -t 30 -c CheckProcState -a MinCritCount=2 notepad.exe
CRITICAL: notepad.exe: 2 < critical|'notepad.exe'=2;0;2
Please help in getting this problem resolved.
I am attaching the nsclient ini files.
Re: Process Count not working after NSclient upgrade
Posted: Fri Oct 30, 2015 12:14 pm
by tgriep
It looks like there is a bug in the NSClient++ agent. I installed the latest nightly build and it worked correctly.
You can go to this link to download the nightly build.
http://www.nsclient.org/download/0.4.4/
Make sure you backup your nsclient.ini file and the install will overwrite it.
Re: Process Count not working after NSclient upgrade
Posted: Mon Nov 02, 2015 2:56 am
by ranjitw
Hi tgriep,
Due to security restriction I am unable to download the agent. Can you please upload the binary to this post ?
It would be very helpful if you zip and upload.
Many thanks,
Re: Process Count not working after NSclient upgrade
Posted: Mon Nov 02, 2015 2:32 pm
by scottwilkerson
I have placed the file temporarily on one of our servers for download
https://assets.nagios.com/temp/nscp-0.4.4.2-x64.zip
Re: Process Count not working after NSclient upgrade
Posted: Tue Nov 03, 2015 2:16 am
by ranjitw
Thank you , I will test and come back with the results.
Re: Process Count not working after NSclient upgrade
Posted: Tue Nov 03, 2015 7:34 am
by ranjitw
Hi,
I should just do unzip of the file?
Re: Process Count not working after NSclient upgrade
Posted: Tue Nov 03, 2015 11:08 am
by tgriep
Yes, you just need to unzip it to this folder.
Make sure any other checks continue to run. As this is a nightly build, it may break other checks.
Re: Process Count not working after NSclient upgrade
Posted: Wed Nov 04, 2015 4:46 am
by ranjitw
Hi,
I have not checked the process count . I am getting new errors now for all the checks :
NSClient - ERROR: Invalid return from command: check_drivesize
Please suggest how to resolve this issue.
Re: Process Count not working after NSclient upgrade
Posted: Wed Nov 04, 2015 4:51 am
by ranjitw
Hi ,
Can you please let me know a less bug version (stable version ) which has Process count functionality working ?
Re: Process Count not working after NSclient upgrade
Posted: Wed Nov 04, 2015 3:20 pm
by rkennedy
Are you able to reinstall the previous version you were using before upgrading? That is the stable one that I would recommend.
At this time it seems the bug has been fixed as @tgriep mentioned, but you will have to wait for an official version to be released.