<< Back to man.ChinaUnix.net

2. Configuring Layout and Dependencies

define host{
        use                     generic-host            ; Name of host template to use
        host_name               ad1
        alias                   Primary AD Server
        address                 192.168.1.27
        parents                 router1
        check_command           check-host-alive
        max_check_attempts      10                                                   
        notification_interval   120                                                  
        notification_period     24x7                                                 
        notification_options    d,r                                                  
        contact_groups  admins                                                       
        }