Nagios don't send mails

Nuno Dias ndias at lip.pt
Tue Mar 17 12:42:49 CET 2009


 Hi,

 I have nagios Version 3.0.5 installed and running, everything is
working well but the nagios don't send mails in case of service/host
problems.

 I can send mail through the command line shell, I receive mail if I go
through "Send custom service notification".

 My objects

define contact {
                contact_name                     xxxxx
                alias                            xxxxx
                host_notification_options        d,u,r,f,n
                service_notification_options     w,u,c,r,f,n
                email                            xxxxx at xxx.xx
                host_notification_period         24x7
                service_notification_period      24x7
                host_notification_commands       notify-host-by-email
                service_notification_commands    notify-service-by-email
}

define contactgroup {
             contactgroup_name                     admins
             alias                                 Nagios Administrators
             members                               xxxxx
}

define service {
                service_description                   check_ntp
                check_command                         check_ntp!
                host_name                             zzzzzzz
                notification_period                   24x7
                check_period                          24x7
                contact_groups                        admins
                max_check_attempts                    3
                normal_check_interval                 5
                retry_check_interval                  1
                notification_interval                 15
                notification_options                  w,u,c,r
                active_checks_enabled                 1
                passive_checks_enabled                0
                notifications_enabled                 1
                check_freshness                       0
                freshness_threshold                   86400 
}

 Any help would be appreciated.

Thank's 
Nuno
-- 
Nuno Dias <ndias at lip.pt>
LIP


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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