sunetdrive/templates/monitor/monitor-host_nagios4.cfg.erb

20 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-02-13 09:44:56 +00:00
# Generic host definition template - This is NOT a real host, just a template!
define host{
name monitor-host ; The name of this host template
action_url /grafana/dashboard/script/histou.js?host=$HOSTNAME$&theme=light&annotations=true
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
check_command check-host-alive
max_check_attempts 10
notification_interval 0
notification_period 24x7
notification_options d,u,r
contact_groups admins
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}