Process Count not working after NSclient upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Process Count not working after NSclient upgrade

Post 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.
You do not have the required permissions to view the files attached to this post.
Regards,
Ranjit W
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Process Count not working after NSclient upgrade

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Process Count not working after NSclient upgrade

Post 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,
Regards,
Ranjit W
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Process Count not working after NSclient upgrade

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Process Count not working after NSclient upgrade

Post by ranjitw »

Thank you , I will test and come back with the results.
Regards,
Ranjit W
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Process Count not working after NSclient upgrade

Post by ranjitw »

Hi,

I should just do unzip of the file?
Regards,
Ranjit W
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Process Count not working after NSclient upgrade

Post by tgriep »

Yes, you just need to unzip it to this folder.

Code: Select all

C:\Program Files\NSClient++
Make sure any other checks continue to run. As this is a nightly build, it may break other checks.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Process Count not working after NSclient upgrade

Post 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.
Regards,
Ranjit W
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Process Count not working after NSclient upgrade

Post by ranjitw »

Hi ,

Can you please let me know a less bug version (stable version ) which has Process count functionality working ?
Regards,
Ranjit W
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Process Count not working after NSclient upgrade

Post 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.
Former Nagios Employee
Locked