sanju7 has asked for the wisdom of the Perl Monks concerning the following question:

Revered Monks \n,

I am looking for ideas as to how can i post an URL which has drop down list which has only 3 values to choose from. Nagios alert messages provide a response URL which can be clicked on browser and choose any of the three response "Acknowledge", "Scheduled Downtime", "Disable Notification"etc . Following are the fields available to manipulate.

1 .Acknowledge: Field Action = value (a) Acknowledge Field Comment = Value "Problem is Acknowledged" Press "go" .

2. Schedule Downtime Field Action = value (a) Schedule Downtime Field Comment = Value "Downtime is scheduled" Field Duration = Value "60" defaults in minute Press "go"

3. Disable Notification press "go" .

Replies are listed 'Best First'.
Re: Howto Post on Nagios Respond URL
by Anonymous Monk on Oct 26, 2016 at 06:55 UTC
Re: Howto Post on Nagios Respond URL
by FreeBeerReekingMonk (Deacon) on Oct 26, 2016 at 18:41 UTC
    I am not sure I understand what you exactly want.

    If you want to copy the acknowledge mechanism in the Web-interface of Nagios, by rolling your own; I suggest, provided you use firefox, to install the "Tamper Data" plug in, it will show details about the form posts. Use the Nagios web-interface to acknowledge an event, then try to mimick all the fields.