Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Nagios-Prowl
v0.02
2012-10-12
- Nagios 2.x
- Nagios 3.x
- Nagios XI
GPL
54225
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Requirements
============
* Perl modules
** LWP::UserAgent
** Crypt::SSLeay
Use
===
* Grab nagios-prowl.pl and put them somewhere nice.
* Set mode for nagios-prowl.pl to 0555, or something more restrictive (0500 maybe).
* In Nagios:
** Add the following two commands making sure that the paths to nagios-prowl.pl are correct. If you have a provider API key (and you should), be sure to fill it in. If you don't, remove the -p bit from each command. Also update with the URL to your Nagios cgi-bin.
define command {
command_name notify-host-by-prowl
command_line /usr/local/bin/nagios-prowl.pl -p -u "" -t "$LONGDATETIME$" -N "$NOTIFICATIONTYPE$" -s "$HOSTSTATE$" -H "$HOSTNAME$" -o "$HOSTOUTPUT$" -a "$_CONTACTPROWL_APIKEYS$"
}
define command {
command_name notify-service-by-prowl
command_line /usr/local/bin/nagios-prowl.pl -p -u "" -t "$LONGDATETIME$" -N "$NOTIFICATIONTYPE$" -s "$SERVICESTATE$" -H "$HOSTNAME$" -S "$SERVICEDESC$" -o "$HOSTOUTPUT$" -a "$_CONTACTPROWL_APIKEYS$"
}
** Add the following to contact records you'd like Prowl notifications for:
define contact {
service_notification_commands,notify-service-by-prowl
host_notification_commands,notify-host-by-prowl
_prowl_apikeys[, ...]
}
============
* Perl modules
** LWP::UserAgent
** Crypt::SSLeay
Use
===
* Grab nagios-prowl.pl and put them somewhere nice.
* Set mode for nagios-prowl.pl to 0555, or something more restrictive (0500 maybe).
* In Nagios:
** Add the following two commands making sure that the paths to nagios-prowl.pl are correct. If you have a provider API key (and you should), be sure to fill it in. If you don't, remove the -p
define command {
command_name notify-host-by-prowl
command_line /usr/local/bin/nagios-prowl.pl -p
}
define command {
command_name notify-service-by-prowl
command_line /usr/local/bin/nagios-prowl.pl -p
}
** Add the following to contact records you'd like Prowl notifications for:
define contact {
service_notification_commands
host_notification_commands
_prowl_apikeys
}
Reviews (0)
Be the first to review this listing!