Rss Alert Generator

by Aug 6, 2007

RSS Alert Notification Generator for uptime v4

This monitor generates an RSS feed containing alerts

Files Included

Windows
– README.txt – This README file
– rss-alert.cmd – Wrapper script to call the php source file
– rss-alert.php – script generating alerts for the rss generator
– rss-generator.php – script placed in GUI directory to feed your RSS source

Linux/Solaris/AIX
– README.txt – This README file
– rss-alert.php – script generating alerts for the rss generator
– rss-generator.php – script placed in GUI directory to feed your RSS source

Installation
– Follow the included README.txt instructions to install

To verify its working use the Test Alert Profile option on your alert profile and browse to this web page:
http://:9999/rss-generator.php

Custom Viewing Options

When viewing the RSS page you can send GET arguments to the page so that it displays/filters based on different things.
These are regular expression based as well so you can get as fancy as you like.

Custom Options:
title – Set the title of the feed
maxitems – Set the number of alerts returned
alert_type – Filter by alert type (Problem/Recovery)
hostname – Filter by hostname
mon_name – Filter by service monitor name
mon_status – Filter by service monitor status (CRIT/WARN/OK/UNKNOWN)
mon_output – Filter by service monitor output (search for something in the output)

An example of how to display the feed with the following settings:
– only show alerts for machines that start with “dev-“
– a title of “Dev's Alerts”

uptime-hostname:9999/rss-generator.php Alerts&hostname=dev-*

(when typed in a browser it will be converted to:
http://uptime-hostname:9999/rss-generator.php?title=Dev's%20Alerts&hostname=dev-*)

You can of course add all or none of those options in any order you like; and remember that they are regular expressions.