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??.
To use external scripts you need a few things: 1, Load a module which can use ExternalScripts?:
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 Medinmickem01/19/09 14:26:40 (4 years ago)
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)
These are the sceen shots with my problem.
thank youanonymous01/20/09 09:04:36 (4 years ago)
Im really really sorry. I have done a mistake and now its working properly.
Thank you very much.dinesh70701/20/09 09:19:56 (4 years ago)