R: Nagios 3 compatible RSS

Marc-André Doll mad at b-care.net
Tue Jul 28 08:30:18 CEST 2009


Sure. Feel free to use it and/or modify it.

Here is the command definition in Nagios :

define command {
       command_name                             notify-host-rss
       command_line                             $USER1
$/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H "$HOSTNAME$" -e
$HOSTSTATE$ -o "$HOSTOUTPUT$" -m 30 -f '$CONTACTEMAIL$'
}

define command {
       command_name                             notify-service-rss
       command_line                             $USER1
$/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H "$HOSTNAME$" -s
"$SERVICEDESC$" -e $SERVICESTATE$ -o "$SERVICEOUTPUT$" -m 30 -f
'$CONTACTEMAIL$'
}


Le lundi 27 juillet 2009 à 11:48 +0000, Joseph L. Casale a écrit :
> >I wrote my own perl script to generate RSS notifications using the
> >XML::RSS perl module.
> 
> Marc-André,
> I would be grateful to see this if you don't mind passing it on.
> 
> Thanks for the info guys!
> jlc
> ------------------------------------------------------------------------------
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: notification_rss.pl
Type: application/x-perl
Size: 2814 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090728/ff567ef9/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
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


More information about the Users mailing list