Qmail with Nagios?????

Christian Vanguers wangee at linuxbe.org
Sat Jan 4 21:22:38 CET 2003


On Sat, Jan 04, 2003 at 07:52:30PM -0000, Tom Welsh wrote:
> I use qmail and debian server and have the following in my
> notifications....
> 
> Note /usr/bin/mailsubj is what I use to send mails
> 
> ----------------<SNIP>------------------------------------
> 
> # 'notify-by-email' command definition (ORIGINAL)
> define command{
>         name            notify-by-email
>         command_name    notify-by-email 
>         command_line    /usr/bin/echo -e 'Notification Type:
> $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTA
> LIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
> $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/b
> in/mailsubj ' $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is
> $SERVICESTATE$ ' $CONTACTEMAIL$
>         }
> ----------------<SNIP>------------------------------------
>

Hi tom,

I suppose this is a FAQ...

Can you post all the command definitions ?

notify-by-email,notify-by-epager,host-notify-by-email and
host-notify-by-epager ?

Thanks,

Chris


-- 
 +----------------------------------+-----------------------------------------+
 |     ____       _____      _  __  |                                         |
 |    / __ \____ / ___/__  _| |/ /  |   Christian Vanguers                    |
 |   / / / / __ \\__ \/ / / /   /   |   ==================                    |
 |  / /_/ / /_/ /__/ / /_/ /   |    |   mailto: christian.vanguers at opsyx.com  |
 |  \____/ .___/____/\__, /_/|_|    |   www: http://www.opsyx.com             |
 |      /_/         /____/          |                                         |
 |      OPen SYstems eXpertise      |                                         |  
 +----------------------------------------------------------------------------+ 
 |     GnuPG keyID == 0xF814CC3A <christian.vanguers at opsyx.com>       	      |
 | Key Fingerprint == 76D7 8E94 440F E430 3981  D922 73E1 76DF F814 CC3A      |
 +----------------------------------+-----------------------------------------+


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list