Notifications Problems

Danilo Perdomo danilo.perdomo at intercable.com.ve
Tue Dec 12 16:26:43 CET 2006


>> -Original Message-----
>> From: Danilo Perdomo [mailto:danilo.perdomo at intercable.com.ve]
>> Sent: Tuesday, December 12, 2006 8:56 AM
>> To: Marc Powell
>> Cc: nagios-users at 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
>   
I'm sorry Marc, Im from Venezuela and my english is not that good, maybe 
i missunderstood
your recomendation, i thought you were asking for the command definition 
that i posted before.
This is the first time im working with Nagios, someone was in charge of 
all the monitoring before
me.

-------------------------------------------------------------------------
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 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