Notification problem.

twebster at DAKSOFT.COM twebster at DAKSOFT.COM
Tue Oct 1 15:43:16 CEST 2002


Marcus,

What program are you piping your text into?

The | "'nagios-users at lists.sourceforge.net'"  command needs to contain an
executable.

Maybe try | sendmail marcus.nilsson at cannondale.com

or | mail -s "Host DOWN alert for Oldenzaal01!"
marcus.nilsson at cannondale.com"

Tony





|---------+---------------------------------------->
|         |           Marcus Nilsson               |
|         |           <Marcus.Nilsson at Cannondale.co|
|         |           m>                           |
|         |           Sent by:                     |
|         |           nagios-users-admin at lists.sour|
|         |           ceforge.net                  |
|         |                                        |
|         |                                        |
|         |           10/01/2002 03:05 AM          |
|         |                                        |
|---------+---------------------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       "'nagios-users at lists.sourceforge.net'" <nagios-users at lists.sourceforge.net>                                  |
  |       cc:                                                                                                                    |
  |       Subject:  [Nagios-users] Notification problem.                                                                         |
  >------------------------------------------------------------------------------------------------------------------------------|




Hi,
This is probably very easy and I am quite novel on Linux so bare with me.

This is what I get in /usr/local/nagios/var/nagios.log:

[1033453141] Warning: Attempting to execute the command "/usr/bin/printf
"%b" "***** Nagios 1.0b6 *****\n\nNotification Type: PROBLEM\nHost:
Oldenzaal01\nState: DOWN\nAddress: 192.168.206.82\nInfo: CRITICAL - Plugin
timed out after 10 seconds\n\nDate/Time: Tue Oct 1 08:19:01 CEST 2002\n" |
-s "Host DOWN alert for Oldenzaal01!" marcus.nilsson at cannondale.com"
resulted in a return code of 127.  Make sure the script or binary you are
trying to execute actually exists...
[1033453441] HOST NOTIFICATION:
nilssonm;Oldenzaal01;DOWN;host-notify-by-email;CRITICAL - Plugin timed out
after 10 seconds

Do I need sendmail installed to get the notify-by-email function to work?

The box is running Linux Slackware 8.1

Thanks in advice.

Marcus Nilsson
Cannondale Corp.


-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users







-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm




More information about the Users mailing list