################################################################################ # Sample object config file for Nagios # # Read the documentation for more information on this configuration file. I've # provided some comments here, but things may not be so clear without further # explanation, so make sure to read the HTML documentation! # # Last Modified: 03-10-2002 # ################################################################################ ################################################################################ # HOST DEFINITIONS # # SYNTAX: # ################################################################################ # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; } # 'power720-2' host definition #define host{ # use generic-host ; Name of host template to use # # host_name power720-2 # alias Server #1 # address 149.44.174.138 # check_command check-host-alive # max_check_attempts 10 # notification_interval 120 # notification_period 24x7 # notification_options d,u,r # } # 'power720-3' host definition define host{ use generic-host ; Name of host template to use host_name power720-3 alias Server #2 address 149.44.174.139 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r }