[NSClient++] Topic #187 - No Handler for command '10'
http://nsclient.org/nscp/discussion/topic/187
<p>
No Handler for command '10'
</p>
en-usNSClient++/trac/nswide.png
http://nsclient.org/nscp/discussion/topic/187
Trac 1.0beta1 - DiscussionPluginLars EngströmThu, 03 Jul 2008 07:57:44 GMTTopic #187 - No Handler for command '10'
http://nsclient.org/nscp/discussion/topic/187#topic
http://nsclient.org/nscp/discussion/topic/187#topic
<p>
Goodmorning everyone.
</p>
<p>
I'm trying to query some results with this command:
</p>
<p>
./check_nt -H 192.168.8.111 -p 12489 -v INSTANCES -l Process
</p>
<p>
But I end up with this in the NSC.log
</p>
<p>
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'.
</p>
<p>
Any ideas?
I've just uncommented a couple of lines in the NSC.ini and set the allowed networks to query.
</p>
<p>
Thank you.
</p>
TopicmickemThu, 03 Jul 2008 09:44:22 GMTReply #533 to topic #187 - No Handler for command '10'
http://nsclient.org/nscp/discussion/message/533#message533
http://nsclient.org/nscp/discussion/message/533#message533
<p>
oki will try top add it in next version see ticket <a class="closed ticket" href="/nscp/ticket/195" title="enhancement: Add suport for INSTANCES (closed: fixed)">#195</a>
</p>
MessageanonymousThu, 03 Jul 2008 09:25:13 GMTReply #532 to topic #187 - No Handler for command '10'
http://nsclient.org/nscp/discussion/message/532#message532
http://nsclient.org/nscp/discussion/message/532#message532
<p>
<a class="ext-link" href="http://nagiosplugins.org/man/check_nt"><span class="icon"></span>http://nagiosplugins.org/man/check_nt</a>:
</p>
<blockquote>
<p>
INSTANCES =
</p>
<blockquote>
<p>
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
</p>
<blockquote>
<p>
the selected computer for that object.
</p>
</blockquote>
<p>
The purpose of this is to be run from command line to determine what instances
</p>
<blockquote>
<p>
are available for monitoring without having to log onto the Windows server
</p>
<blockquote>
<p>
to run Perfmon directly.
</p>
</blockquote>
</blockquote>
<p>
It can also be used in scripts that automatically create Nagios service
</p>
<blockquote>
<p>
configuration files.
</p>
</blockquote>
<p>
Some examples:
check_nt -H 192.168.1.1 -p 1248 -v INSTANCES -l Process
</p>
</blockquote>
</blockquote>
MessagemickemThu, 03 Jul 2008 09:16:48 GMTReply #531 to topic #187 - No Handler for command '10'
http://nsclient.org/nscp/discussion/message/531#message531
http://nsclient.org/nscp/discussion/message/531#message531
<p>
LOL; all the other should work do check_nt -h :)
</p>
<p>
And I have also looked for what "INSTANCES" does so if anyone knows let me know :)
</p>
<p>
<em> MickeM
</em></p>
MessageLars EngströmThu, 03 Jul 2008 08:51:03 GMTReply #530 to topic #187 - No Handler for command '10'
http://nsclient.org/nscp/discussion/message/530#message530
http://nsclient.org/nscp/discussion/message/530#message530
<p>
I found that variable somewhere within googles grasp, so I've no clue what it should return to be honest. :)
</p>
<p>
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?
</p>
<p>
Thank you
</p>
MessagemickemThu, 03 Jul 2008 08:26:00 GMTReply #529 to topic #187 - No Handler for command '10'
http://nsclient.org/nscp/discussion/message/529#message529
http://nsclient.org/nscp/discussion/message/529#message529
<p>
if you tell me what instance does I shall add support for it, as of now I haven't got a faintest idea :)
</p>
<p>
<em> MickeM
</em></p>
Message