No mail, no idea why not

James Nachlin jim at motionbox.com
Mon May 8 23:46:07 CEST 2006


Hello Nagios users,

I've got Nagios set up, evrything seems OK.  BUT, when a service is 
down, I don't get an email.

contacts.cfg is like (and that's not the actual email address in there):
define contact{
         contact_name                    jim
         alias                           Jim
         service_notification_period     workhours
         host_notification_period        workhours
         service_notification_options    c,r
         host_notification_options       d,r
         service_notification_commands   notify-by-email
         host_notification_commands      host-notify-by-email
         email                           jim at example.com
}

contactgroups.cfg:
define contactgroup{
         contactgroup_name       admins
         alias                   Administrators
         members                 jim
}

a typical service definition:
define service{
         use                             generic-service
         host_name                       duran
         service_description             HTTP
         is_volatile                     0
         check_period                    24x7
         max_check_attempts              5
         normal_check_interval           7
         retry_check_interval            3
         contact_groups                  admins
         notification_interval           120
         notification_period             24x7
         notification_options            w,u,c,r
         check_command                   check_http
         }

I can send mail from the command line on this machine to the email 
address specified in the hosts.cfg.  No errors in nagios.log.  Can 
anyone suggest where else to look?

Thanks very much,
-- 
Jim Nachlin
Motionbox Systems Administrator


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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