Sorry for this delay guys. I am using Debian 3.1
Thanks for any hint. Marcos Marinho Analista de Redes Rede Anhanguera de Comunicação (19) 3772-8084 -----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de Felipe Tocchetto Enviada em: terça-feira, 1 de agosto de 2006 13:33 Para: [EMAIL PROTECTED] Cc: Nagios-UsersInt Assunto: Re: [Nagios-users] RES: Nagios do not send e.mails What is the OS that Nagios is installed? 2006/7/31, Marcos Marinho <[EMAIL PROTECTED]>: > > > > Yes, Mike , > > In the nagios.cfg there is a line config like this : > enable_notifications=1 > > Is this right ? > > Thanks for your cooperation > > > [Marcos Marinho] -----Mensagem original----- > De: Mike Koponick [mailto:[EMAIL PROTECTED] > Enviada em: segunda-feira, 31 de julho de 2006 18:58 > Para: [EMAIL PROTECTED]; > nagios-users@lists.sourceforge.net > Assunto: RE: [Nagios-users] Nagios do not send e.mails > > > > Are notifications turned on in the nagios.cfg file? > > Mike > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marcos Marinho > Sent: Monday, July 31, 2006 2:57 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Nagios do not send e.mails > > I had installed the version 2.4 by binary way and we had using NagiosQL to > configure. > > The servers had been monitored ok > > In all time that nagios was installed here none of the serves had not been > down any moment > > On the first server down one, the nagios process did not send any e.mail > using the pre-configured scritp host-notify-by-email. > > Whe I had tried runnig the script using user nagios the message was sent > with no problem. > > This is what is showed in nagio.log > > [1154056710] HOST ALERT: marcos;DOWN;SOFT;1;CRITICAL - Plugin timed out > after 10 seconds > > [1154056720] HOST ALERT: marcos;DOWN;SOFT;2;CRITICAL - Plugin timed out > after 10 seconds > > [1154056730] HOST ALERT: marcos;DOWN;SOFT;3;CRITICAL - Plugin timed out > after 10 seconds > > [1154056740] HOST ALERT: marcos;DOWN;SOFT;4;CRITICAL - Plugin timed out > after 10 seconds > > [1154056750] HOST ALERT: marcos;DOWN;HARD;5;CRITICAL - Plugin timed out > after 10 seconds > > This is our configuration files > > ================================================================ > > define host { > > host_name marcos > > alias Workstation Marcos > > address 10.10.21.18 > > parents Debian > > check_command check-host-alive > > max_check_attempts 5 > > check_interval 10 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > obsess_over_host 1 > > check_freshness 1 > > freshness_threshold 360 > > event_handler_enabled 0 > > flap_detection_enabled 0 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > contact_groups admins > > notification_interval 5 > > notification_period 24x7 > > notification_options d,u > > notifications_enabled 1 > > stalking_options d,u > > register 1 > > } > > ================================================================ > > define command { > > command_name host-notify-by-email > > command_line /usr/bin/printf \\"%b\\" \\"***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\\" | /usr/bin/mail -s \\"Host $HOSTSTATE$ alert for > $HOSTNAME$!\\" $CONTACTEMAIL$ > > } > > ================================================================ > > define contactgroup { > > contactgroup_name admins > > alias Nagios Administrators > > members redes > > } > > ================================================================ > > define contact { > > contact_name redes > > alias Grupo Redes > > host_notification_period 24x7 > > service_notification_period 24x7 > > host_notification_options d,u,r > > service_notification_options w,u,c,r > > host_notification_commands host-notify-by-email > > service_notification_commands notify-by-email > > email [EMAIL PROTECTED] > > } > > ================================================================ > > Any hints > > Thank you before hands << File: ATT350909.txt >> << File: ATT350911.txt >> > ------------------------------------------------------------------------- > 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 > > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- 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