Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Nagios-Prowl

Current Version
v0.02
Last Release Date
2012-10-12
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
54155
Nagios CSP

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!
Allows you to send cleanly formatted Prowl notifications for Nagios alerts. Includes URLs to take you right to the host or service being alerted.
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 [, ...]
}