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
> [email protected]
> 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

Attachment: notification_rss.pl
Description: Perl program

------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to