R: [Nagios-users] email notification problem

2006-01-27 Thread Nicola Agnelli
Hello all, i've the same problem, i've installed nagios 2.0 and all works good, but the email notifications can't be send.. my command is the default command: define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification

Re: R: [Nagios-users] email notification problem

2006-01-27 Thread Arno Lehmann
Hello, On 1/27/2006 10:23 AM, Nicola Agnelli wrote: Hello all, i've the same problem, i've installed nagios 2.0 and all works good, but the email notifications can't be send.. The first step could be to modify your command_line to actually send a message. Usually, you use printf to create

Re: R: R: [Nagios-users] email notification problem

2006-01-27 Thread Arno Lehmann
: R: [Nagios-users] email notification problem Hello, On 1/27/2006 10:23 AM, Nicola Agnelli wrote: Hello all, i've the same problem, i've installed nagios 2.0 and all works good, but the email notifications can't be send.. The first step could be to modify your command_line to actually

R: R: [Nagios-users] email notification problem

2006-01-27 Thread Nicola Agnelli
but I'm new to nagios .. Nicola -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Arno Lehmann Inviato: venerdì 27 gennaio 2006 10.50 A: nagios-users@lists.sourceforge.net Oggetto: Re: R: [Nagios-users] email notification problem Hello, On 1/27/2006 10:23 AM

R: R: R: [Nagios-users] email notification problem

2006-01-27 Thread Nicola Agnelli
; nagios-users@lists.sourceforge.net Oggetto: Re: R: R: [Nagios-users] email notification problem You should use the variables to get more info : # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf %b * Nagios *\n

Re: R: R: R: [Nagios-users] email notification problem

2006-01-27 Thread Toto Capuccino
Capuccino [mailto:[EMAIL PROTECTED]] Inviato: venerdì 27 gennaio 2006 11.23 A: Nicola Agnelli Cc: Arno Lehmann; nagios-users@lists.sourceforge.net Oggetto: Re: R: R: [Nagios-users] email notification problem You should use the variables to get more info : # 'host-notify-by-email' command

R: R: R: R: [Nagios-users] email notification problem

2006-01-27 Thread Nicola Agnelli
: R: R: [Nagios-users] email notification problem that's it if your mail program is /usr/bin/mail 2006/1/27, Nicola Agnelli [EMAIL PROTECTED]: Thank you very mach, so for notify-by-email I sould add | /usr/bin/mail -s Service $HOSTALIAS$ alert for $SERVICEDESC$! $CONTACTEMAIL

Re: R: R: [Nagios-users] email notification problem

2006-01-27 Thread Toto Capuccino
-users] email notification problem Hello,On 1/27/2006 10:23 AM, Nicola Agnelli wrote: Hello all, i've the same problem, i've installed nagios 2.0 and all works good, butthe email notifications can't be send.. The first step could be to modify your command_line to actually send amessage. Usually, you

Re: R: [Nagios-users] email notification problem

2006-01-27 Thread Don Lewis
Yes, example of my mail config: define command{ command_namenotify-by-email command_line/usr/bin/printf %b * Nagios *\n \nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: