Hello Craig, check nagiosexchange.org and search for "notify-html-email.sh"
Christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Tuesday, September 08, 2009 1:49 PM > To: [email protected] > Subject: [Nagios-users] Email alert to contain ack url > > Hi all, I'm looking to place an ack url in my email > alert but not quite sure where do add the line, could > one of your Nagions point me in the correct direction. > > Below is my mail alert. > > /usr/bin/printf "%b" "Alert\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mailx -s " > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ > is $SERVICESTATE$ " $CONTACTEMAIL$ > > and as far as I'm aware the next line has to be > inserted but I'm unsure where at this present time, > tried a few places but it fails, well not it but "I" > > http://your.nagios.host/cgi-bin/cmd.cgi?cmd_typ=34&host=$HOSTN AME$&service=$SERVICEDESC$ > > Thanks Group, now back to work I guess. > > Craig > > > -------------------------------------------------------------- > ---------------- > 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 > ------------------------------------------------------------------------------ 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
