I am running nagios 2.4 on a FC 4 server. I have nsclient 2.0.1 installed on several windows 2003 Terminal Servers with SP1. I have made the change to the DEP for the nsclient to work. I have had it monitoring CPU, Memory, # of TS users, and Disk. All checks are working except 3 of them on 1 server. The results I see are 0 for CPU, Memory, and TS Users which I know is wrong. But for disk it reports the correct results. This is the same when I run the check from the command line. I have restarted the nsclient service. I have also tried to switch the port that I am using in case there was a conflict but got the same results. Again I know the check commands are correct because they use to work and I have them working on other servers.
I have restarted the terminal server but get the same results.
I also see an error in the event viewer:
NSClient CollectData: Call to retrieve counter value for \Processor(_total)% Processor Time failed, returning status code 4294967295.
Anyone have any ideas on what might have caused this. If you want any additional info please let me know.
In your case I expect (but didn’t test) that these should work:
./check_nt -H 192.168.1.91 -p 1248 -v COUNTER -l “\Processor(_total)% Processor Time” -w 20 -c 30
or
./check_nt -H 192.168.1.91 -p 1248 -v COUNTER -l “\Processor(_total)\% Processor Time” -w 20 -c 30
Out of curiosity, why did you choose nsclient over NC_Net? I ~thought~ both were currently stagnant, but NC_Net was “fresher”. Where did you get the updated(?) version of nsclient?