X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fprivate%2Fmonitoring%2Fconf%2Fhosts.cfg;h=d903b0a3da80f542b43d0a12c13e47409b023eab;hb=eb071dd42518cb40d629e5bde29c6aed72e4d4df;hpb=9f2025235d888eb4a7822024a5fad2e288388814;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/monitoring/conf/hosts.cfg b/modules/private/monitoring/conf/hosts.cfg deleted file mode 100644 index d903b0a..0000000 --- a/modules/private/monitoring/conf/hosts.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# vim: filetype=nagios - -define host { - name generic-host - event_handler_enabled 1 - flap_detection_enabled 1 - notification_period 24x7 - notifications_enabled 1 - process_perf_data 1 - register 0 - retain_nonstatus_information 1 - retain_status_information 1 -} - -define host { - name linux-server - use generic-host - check_command check-host-alive - check_interval 5 - check_period 24x7 - contact_groups admins - max_check_attempts 10 - notification_interval 120 - notification_options d,u,r,f - register 0 - retry_interval 1 -} - -define command { - command_name check-host-alive - command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 -}