NSClient++ Help (#1) - No Handler for command '10' (#187) - Message List
Goodmorning everyone.
I'm trying to query some results with this command:
./check_nt -H 192.168.8.111 -p 12489 -v INSTANCES -l Process
But I end up with this in the NSC.log
2008-07-03 09:49:41: message:.\NSClient++.cpp:551: No handler for command: '10' 2008-07-03 09:49:41: message:..\..\include\NSCHelper.cpp:223: No handler for command '10'.
Any ideas? I've just uncommented a couple of lines in the NSC.ini and set the allowed networks to query.
Thank you.
-
Message #529
if you tell me what instance does I shall add support for it, as of now I haven't got a faintest idea :)
MickeM
mickem07/03/08 10:26:00 (5 years ago)-
Message #530
I found that variable somewhere within googles grasp, so I've no clue what it should return to be honest. :)
But it said something along the lines with: "Try this to see if it works". I probably got my head quite clouded or such, do you got some "standard" variable I could test with otherwise?
Thank you
Lars Engström07/03/08 10:51:03 (5 years ago)-
Message #531
LOL; all the other should work do check_nt -h :)
And I have also looked for what "INSTANCES" does so if anyone knows let me know :)
MickeM
mickem07/03/08 11:16:48 (5 years ago)-
Message #532
http://nagiosplugins.org/man/check_nt:
INSTANCES =
Check any performance counter object of Windows NT/2000. Syntax: check_nt -H <hostname> -p <port> -v INSTANCES -l <counter object> <counter object> is a Windows Perfmon Counter object (eg. Process), if it is two words, it should be enclosed in quotes The returned results will be a comma-separated list of instances on
the selected computer for that object.
The purpose of this is to be run from command line to determine what instances
are available for monitoring without having to log onto the Windows server
to run Perfmon directly.
It can also be used in scripts that automatically create Nagios service
configuration files.
Some examples: check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process
anonymous07/03/08 11:25:13 (5 years ago)-
Message #533
oki will try top add it in next version see ticket #195
mickem07/03/08 11:44:22 (5 years ago)
-
-
-
-








