############################################################################### ############################################################################### # # HOST DEFINITIONS # ############################################################################### ############################################################################### # Define the router that we'll be monitoring define host{ use generic-router ; Inherit default values from a template host_name ROUTER_INTERNODE ; The name we're giving to this router alias ROUTER_INTERNODE ; A longer name associated with the router address 123.123.123.123 ; IP address of the router hostgroups Example ; Host groups this router is associated with contact_groups VANREE Support parents Parent_Device icon_image switch40.gif statusmap_image switch40.gd2 } ############################################################################### ############################################################################### # # SERVICE DEFINITIONS # ############################################################################### ############################################################################### # Create a service to PING to router define service{ use generic-service ; Inherit values from a template host_name ROUTER_INTERNODE ; The name of the host the service is associated with service_description PING ; The service description check_command check_ping!1000.0,20%!1500.0,60% ; The command used to monitor the service normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined } define service{ use generic-service ; Inherit values from a template host_name ROUTER_INTERNODE ; The name of the host the service is associated with service_description Internode Usage Percent ; The service description check_command check_usage_internode!username!password!usage_percent!80!90!12345678 ; Check the usage percent, warning at 80% and critical at 90% normal_check_interval 60 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined }