Advice on Plugin Development

Eli Stair estair at ilm.com
Sun Dec 18 10:38:41 CET 2005



If you write your event handler in Perl, then you can just use HTTP::Request POST to handle the transaction that way, it's nice and clean.  If you want to do it in shell you can pipe your http transactions through nc.

/eli

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net on behalf of Nick Weisser
Sent: Sat 12/17/2005 11:22 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Advice on Plugin Development
 
Hi there,

I need a plugin for Nagios that reboots an external server under certain 
circumstances (no ping response).

There is no "direct connection" between the machine that Nagios runs on 
and the monitored server, so the reboot needs to be initiated via HTTPS 
with several POST parameters, i.e. a "simple" web form.

I've been using Nagios for quite some time now, but I'm not sure if this 
can be realized with a plugin or what other approaches are possible.

Any comments would be greatly appreciated.
-- 
Regards
Nick


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051218/0944cb78/attachment.html>


More information about the Users mailing list