event handler for remote host

sushilkumar sushildeshmukh at sqtl.com
Fri Oct 29 15:39:56 CEST 2004


Hello nagios users

I am using the (httpd-restart) script given on the nagios.org page for
hadling the events on the remote host. But still i am not getting expected
result. Is thereany way to see the expected results. the script is properly
placed ont he remote host
also(/usr/local/nagios/libexec/eventhandlers/restart-httpd). do u think
there is any problem in my command defination.

define command{
        command_name    try
        command_line   
/usr/local/nagios/libexec/eventhandlers/restart-httpd  $SERVICESTATE$
$STATETYPE$ $SERVICEATTEMPT$
}

Regards sushil





-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list