Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define host {
- use generic-host
- host_name hostname1
- alias hostname1
- check_interval 1
- address foo.bar.com
- max_check_attempts 5
- contact_groups admins
- check_command check_http! foo.bar.com
- }
- define service {
- use generic-service
- host_name hostname
- service_description HTTP
- check_command check_http! foo.bar.com
- max_check_attempts 5
- check_interval 5
- retry_interval 1
- }
- define host {
- use generic-host
- host_name hostname2
- alias hostname2
- check_interval 1
- address 192.168.2.4
- max_check_attempts 5
- contact_groups admins
- check_command check_http! 192.168.2.4
- }
- define service {
- use generic-service
- host_name hostname
- service_description HTTP
- check_command check_http! 192.168.2.4
- max_check_attempts 5
- check_interval 5
- retry_interval 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement