mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
33 lines
1.1 KiB
INI
33 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
|
|
}
|