NSClient++ Help (#1) - External Scripts - No Handler problem ?? (#332) - Message List
I have configured everything in the nagios server side and now im waiting to see a reply from the external script which i made inside the NSClient++. When ever the nagios make that call from the server side, in the NSC log it shows that in the message "No Handler for command TestOK" (TestOk? is the command that i made). And when i inject the command it shows just an output.
What is this handler thing? Is there a specific way to output the result on a external script??.
Thanx
-
Message #990
To use external scripts you need a few things: 1, Load a module which can use ExternalScripts?:
[Modules] CheckExternalScripts.dll
Then you need a defenition to tie the script to a "NSClient++ command":
[External Scripts] <nagios command>=scripts\<script name>
Anf finally if you use "arguments" you might need these:
[External Script] allow_arguments=1 allow_nasty_meta_chars=1
Michael Medin
mickem01/19/09 14:26:40 (4 years ago)-
Message #991
I have done all these mentioned here. When i test with the command by injecting it.. then it works. But in the nagios monitoring shows it as a UNKNOWN: No handler for that command.
So is there a specific way of giving the output from the script??
dinesh70701/20/09 08:40:10 (4 years ago)-
Message #992
http://picasaweb.google.com/dinesh707/OtherUploads#5293282328493092418
These are the sceen shots with my problem.
thank you
anonymous01/20/09 09:04:36 (4 years ago)
-
-








