Hi
Have a good day.
Actually I am looking for
CGI command for checking host/service status for a machine in Nagios.
Fox Example, I have one cgi command to disable/enable notification for the host. Similarly I need the above one.
------
For Enabling
curl -H 'Authorization: Basic AuthKey' -d 'cmd_typ=28&cmd_mod=2&host='servername'&ahas=on&btnSubmit=Commit' 'http://nagiosmaster.domain.com/nagios/cgi-bin/cmd.cgi'
For Disabling
curl -H 'Authorization: Basic AuthKey' -d 'cmd_typ=29&cmd_mod=2&host='servername'&ahas=on&btnSubmit=Commit' 'http://nagiosmaster.domain.com/nagios/cgi-bin/cmd.cgi'
---
Regards
Tinu
CGI Command For Checking Host/Service Status
Re: CGI Command For Checking Host/Service Status
Any help will be apperciated