Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * File: /etc/icinga2/conf.d/djehuti.conf
- * Title: Djehuti Host Configuration File
- * Description: Host and services definition for Icinga2 for
- * the Djehuti EdgeRouter Lite.
- * Host: djehuti.zyradyl.org
- * System: Ubiquiti EdgeOS v1.7
- * License: Creative Commons Zero - Public Domain
- * Version: 1.0
- * Date: August 16, 2015
- */
- //
- // Host Declaration Block
- //
- object Host "djehuti.zyradyl.org" {
- // Define the host IPv4 Address
- address = "10.0.0.1"
- // Define a basic functionality test
- // Hostalive does a basic ICMP ECHO to the target
- // specified in the address directive.
- check_command = "hostalive"
- }
- //
- // Service Declaration Block
- // Service: HTTP
- // Note: The address specified in the above directive
- // is carried into the service declaration
- // blocks via specifying the host_name variable
- //
- object Service "https" {
- host_name = "djehuti.zyradyl.org"
- // Enable HTTPS checking
- vars.http_ssl = "1"
- // Time till warning is issued
- vars.http_warn_time = "5"
- // Time till critical notification
- vars.http_critical_time = "10"
- check_command = "http"
- }
- // Service Declaration Block
- // Service: SSL Cert Check
- // Note: The address specified in the above directive
- // is carried into the service declaration
- // blocks via specifying the host_name variable
- //
- object Service "ssl" {
- host_name = "djehuti.zyradyl.org"
- vars.ssl_port = "443"
- vars.ssl_cert_valid_days_warn = "30"
- vars.ssl_cert_valid_days_critical = "15"
- check_command = "ssl"
- }
- //
- // Service Declaration Block
- // Service: SSH
- // Note: The address specified in the above directive
- // is carried into the service declaration
- // blocks via specifying the host_name variable
- //
- object Service "ssh" {
- host_name = "djehuti.zyradyl.org"
- check_command = "ssh"
- }
- // EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement