cmd.cgi arguments info?
Michael Friedrich
michael.friedrich at univie.ac.at
Thu Aug 19 11:58:57 CEST 2010
Danilo Godec wrote:
> Hi,
>
> where can I find information about cmd.cgi arguments available on my
> version of Nagios (3.0.6)?
>
> I want to acknowledge detected problems from a remote machine using
> 'curl' and need to turn the acknowledgment notification off...
>
Have a look into cgi/cmd.c
void request_command_data(int cmd){
and then translate the cmd type e.g. CMD_DISABLE_HOST_NOTIFICATIONS into
appropriate integer in include/common.h
but afaik disabling only the ack notification won't be possible in that
particular case, you'll need to disable host/service notifications then.
kind regards,
Michael
>
> Danilo
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> 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
>
>
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: michael.friedrich at univie.ac.at
phone: +43 1 4277 14359
fax: +43 1 4277 14279
web: http://www.univie.ac.at/zid
Icinga Core& IDOUtils Developer
http://www.icinga.org
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
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