mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
8b85db0728
svn path=/nixos/trunk/; revision=9658
32 lines
1.1 KiB
INI
32 lines
1.1 KiB
INI
define service {
|
|
name generic-service
|
|
active_checks_enabled 1
|
|
passive_checks_enabled 1
|
|
parallelize_check 1
|
|
obsess_over_service 1
|
|
check_freshness 0
|
|
notifications_enabled 1
|
|
event_handler_enabled 1
|
|
flap_detection_enabled 1
|
|
failure_prediction_enabled 1
|
|
process_perf_data 1
|
|
retain_status_information 1
|
|
retain_nonstatus_information 1
|
|
is_volatile 0
|
|
register 0
|
|
}
|
|
|
|
|
|
define service {
|
|
name local-service
|
|
use generic-service
|
|
check_period 24x7
|
|
max_check_attempts 4
|
|
normal_check_interval 5
|
|
retry_check_interval 1
|
|
contact_groups admins
|
|
notification_options w,u,c,r
|
|
notification_interval 0 # notify only once
|
|
notification_period 24x7
|
|
register 0
|
|
}
|