custom fields

Steve Shipway s.shipway at auckland.ac.nz
Sun Oct 15 23:09:02 CEST 2006




> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Az
> Sent: Sunday, 15 October 2006 9:34 a.m.
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] custom fields
> 
> Kyle Vorster wrote:
> > What i am trying to do is give a more detailed email 
> notification to my
> > clients.
> You can define your notification commands 
> (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#comma
> nd) with 
> whatever you want in them using the relevant macros 
> (http://nagios.sourceforge.net/docs/2_0/macros.html#arg) as required.
> 
> An out-of-the-box example...
> 
> # 'notify-by-email' command definition
> define command{
>         command_name    notify-by-email
>         command_line    /usr/bin/printf "%b" "***** Nagios  
> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: 
> $SERVICEDESC$
> \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
> $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional 
> Info:\n\n$OUTPUT$" 
> | /bin/
> mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is 
> $SERVICESTATE$ **" $CONTACTEMAIL$
>         }
> 
> 
> 
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
> dat=121642
> _______________________________________________
> 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
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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