Force host assume up when services are up

Leonardo Bacha Abrantes leonardo at lbasolutions.com
Thu Oct 18 21:42:45 CEST 2012


Hey guys!

I'm monitoring my external dns server with these configuration in nagios
with these configuration:

define host{
        host_name               myserver
        notes                   External primary DNS
        notifications_enabled   0
        notification_interval   0
        max_check_attempts      5
    *   #### initial_state           o     =====> It doesn't worked*
        contact_groups          xxxxx
        }


define service{
        use                     generic-service
        service_description     Response Test
        max_check_attempts      3
        normal_check_interval   7
        retry_check_interval    2
        contact_groups          xxxxxx
        check_command           check_external_dns!www.mysite.com
!xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy
        host_name               myserver
        }


it's working, however, nagios is not assuming the host is up. How can I
configure nagios to assume an host is up when the services of it are up ?
PS: The same configuration worked on nagios versions 2.9 and 1.4.

nagios: 3.4.1

can anyone help me please ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121018/1fc808c5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
-------------- next part --------------
_______________________________________________
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