Advertisement
zyradyl

wepwawet.conf v1

Aug 16th, 2015
5,562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nagios 1.57 KB | None | 0 0
  1. /*
  2.  * File:        /etc/icinga2/conf.d/wepwawet.conf
  3.  * Title:       Wepwawet Host Configuration File
  4.  * Description: Host and services definition for Icinga2 for
  5.  *              the Wepwawet access point.
  6.  * Host:        wepwawet.zyradyl.org
  7.  * System:      Ubiqiti AirOS v5.6.2
  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 "wepwawet.zyradyl.org" {
  17.     // Define the host IPv4 Address
  18.     address         = "10.0.0.10"
  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               = "wepwawet.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. //
  44. // Service Declaration Block
  45. // Service: SSH
  46. // Note: The address specified in the above directive  
  47. //       is carried into the service declaration
  48. //       blocks via specifying the host_name variable
  49. //
  50. object Service "ssh" {
  51.     host_name     = "wepwawet.zyradyl.org"
  52.     check_command = "ssh"
  53. }
  54.  
  55. // EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement