Please don't top-post. > -----Original Message----- > From: Danilo Perdomo [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 12, 2006 8:56 AM > To: Marc Powell > Cc: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Notifications Problems > > Hello, the notification command is: > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios Barquisimeto > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$" | > /bin/mail -s "Alerta: $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$" $CONTACTEMAIL$ > }
Follow the _other_ recommendation in my original response. It's very straightforward. I'm sure you can figure it out in less than 5 minutes and you'll learn something important about the program you are using. Please try to help yourself *before* asking someone to do your work for you. Yes, I am definitely of the 'Teach a man to fish..." crowd. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users@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