zyradyl

djehuti.conf v1

Aug 16th, 2015
2,252
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * File:        /etc/icinga2/conf.d/djehuti.conf
  3.  * Title:       Djehuti Host Configuration File
  4.  * Description: Host and services definition for Icinga2 for
  5.  *              the Djehuti EdgeRouter Lite.
  6.  * Host:        djehuti.zyradyl.org
  7.  * System:      Ubiquiti EdgeOS v1.7
  8.  * License:     Creative Commons Zero - Public Domain
  9.  * Version:     1.0
  10.  * Date:        August 16, 2015
  11.  */
  12.  
  13. //
  14. // Host Declaration Block
  15. //
  16. object Host "djehuti.zyradyl.org" {
  17.     // Define the host IPv4 Address
  18.     address         = "10.0.0.1"
  19.     // Define a basic functionality test
  20.     // Hostalive does a basic ICMP ECHO to the target
  21.     // specified in the address directive.  
  22.     check_command   = "hostalive"
  23. }
  24.  
  25. //
  26. // Service Declaration Block
  27. // Service: HTTP
  28. // Note: The address specified in the above directive  
  29. //       is carried into the service declaration
  30. //       blocks via specifying the host_name variable
  31. //
  32. object Service "https" {
  33.     host_name               = "djehuti.zyradyl.org"
  34.     // Enable HTTPS checking
  35.     vars.http_ssl           = "1"
  36.     // Time till warning is issued
  37.     vars.http_warn_time     = "5"
  38.     // Time till critical notification
  39.     vars.http_critical_time = "10"
  40.     check_command           = "http"
  41. }
  42.  
  43. // Service Declaration Block
  44. // Service: SSL Cert Check
  45. // Note: The address specified in the above directive  
  46. //       is carried into the service declaration                                                                                                                                                                          
  47. //       blocks via specifying the host_name variable
  48. //
  49. object Service "ssl" {
  50.     host_name                         = "djehuti.zyradyl.org"
  51.     vars.ssl_port                     = "443"
  52.     vars.ssl_cert_valid_days_warn     = "30"
  53.     vars.ssl_cert_valid_days_critical = "15"
  54.     check_command                     = "ssl"
  55. }
  56.  
  57. //
  58. // Service Declaration Block
  59. // Service: SSH
  60. // Note: The address specified in the above directive  
  61. //       is carried into the service declaration
  62. //       blocks via specifying the host_name variable
  63. //
  64. object Service "ssh" {
  65.     host_name     = "djehuti.zyradyl.org"
  66.     check_command = "ssh"
  67. }
  68.  
  69. // EOF
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×