################################################################################ # 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 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } # 'tara' host definition define host{ use generic-host ; Name of host template to use host_name tara alias Tara's XP computer address 192.168.123.253 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups admin } # 'TECH3' host definition define host{ use generic-host ; Name of host template to use host_name TECH3 alias Tech3 Laptop address 192.168.123.25 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups admin } # 'Paul's workstation' host definition define host{ use generic-host ; Name of host template to use host_name paulororke.net alias Linux FC2 workstation address 192.169.123.120 check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r contact_groups admin } # 'mail server' host definition define host{ use generic-host ; Name of host template to use host_name mail.paulororke.net alias Linux FC2 workstation address 192.169.123.120 check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r contact_groups admin } # 'Linksys Router' host definition define host{ use generic-host ; Name of host template to use host_name BEFVP41 alias Linksys Router #1 address 192.168.123.1 check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r contact_groups admin }