Hi Marc I did this mistake, thanks!
Now I fixed the files, and the notifications are in the log file: [1153746375] HOST NOTIFICATION: felipe;test.xx.xxxxx.br;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds But I don“t receive nothing by email =( 2006/7/23, Marc Powell <[EMAIL PROTECTED]>: > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of Felipe Tocchetto > > Sent: Friday, July 21, 2006 1:28 PM > > To: nagios-users@lists.sourceforge.net > > Subject: [Nagios-users] not receiving the nagios notifications > > > > Hi All > > > > I have a nagios 2.4 here, I already insert some hosts to it monitor. > > But when a host goes down, the nagios system do not send me the > > notifications by email. > > You've told it not to. See below. > > > define contact{ > > contact_name felipe > > alias Felipe Tocchetto > > host_notification_period 24x7 > > service_notification_period 24x7 > > host_notification_options d,u,r,n > > service_notification_options w,u,c,r,n > > host_notification_commands host-notify-by-email > > service_notification_commands notify-by-email > > email [EMAIL PROTECTED] > > } > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact > > For host_notification_options and service_notification_options, 'n' > means don't send _any_ notifications. Remove it and restart nagios. > > host_notification_options: This directive is used to define the > host states for which notifications can be sent out to this contact. > Valid options are a combination of one or more of the following: d = > notify on DOWN host states, u = notify on UNREACHABLE host states, and r > = notify on host recoveries (UP states). *****If you specify n (none) as > an option, the contact will not receive any type of host > notifications.***** > > service_notification_options: This directive is used to define the > service states for which notifications can be sent out to this contact. > Valid options are a combination of one or more of the following: w = > notify on WARNING service states, u = notify on UNKNOWN service states, > c = notify on CRITICAL service states, and r = notify on service > recoveries (OK states). *****If you specify n (none) as an option, the > contact will not receive any type of service notifications.***** > > (emphasis mine) > > -- > 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 > -- 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