SHARE
TWEET

Untitled

a guest Apr 13th, 2017 181 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. define host {
  2.   host_name bastion
  3.   alias bastion
  4.   address bastion.example.internal
  5.   max_check_attempts 3
  6.   check_period 24x7
  7.   check_command check-host-alive
  8.   contacts root
  9.   notification_interval 60
  10.   notification_period 24x7
  11. }
  12.  
  13. define host {
  14.   host_name app-server
  15.   alias app-1
  16.   address app-1.example.internal
  17.   max_check_attempts 3
  18.   check_period 24x7
  19.   check_command check-host-alive
  20.   contacts root
  21.   notification_interval 60
  22.   notification_period 24x7
  23. }
  24.  
  25. define host {
  26.   host_name util-server
  27.   alias app-1
  28.   address util-1.example.internal
  29.   max_check_attempts 3
  30.   check_period 24x7
  31.   check_command check-host-alive
  32.   contacts root
  33.   notification_interval 60
  34.   notification_period 24x7
  35. }
  36.  
  37. define service {
  38.   use                             generic-service
  39.   host_name                       bastion
  40.   service_description             Disk Space
  41.   check_command                   check_all_disks!20%!10%
  42. }
  43.  
  44. define service {
  45.   use                             generic-service
  46.   host_name                       app-server
  47.   service_description             Disk Space
  48.   check_command                   check_all_disks!20%!10%
  49. }
  50.  
  51. define service {
  52.   use                             generic-service
  53.   host_name                       util-server
  54.   service_description             Disk Space
  55.   check_command                   check_all_disks!20%!10%
  56. }
  57.  
  58. define service {
  59.   use                             generic-service
  60.   host_name                       bastion
  61.   service_description             Current Users
  62.   check_command                   check_users!0!2
  63. }
  64.  
  65. define service {
  66.   use                             generic-service
  67.   host_name                       app-server
  68.   service_description             Current Users
  69.   check_command                   check_users!0!2
  70. }
  71.  
  72. define service {
  73.   use                             generic-service
  74.   host_name                       util-server
  75.   service_description             Current Users
  76.   check_command                   check_users!0!2
  77. }
  78.  
  79. define service {
  80.   use                             generic-service
  81.   host_name                       bastion
  82.   service_description             Disk Space
  83.   check_command                   check_all_disks!20%!10%
  84. }
  85.  
  86. define service {
  87.   use                             generic-service
  88.   host_name                       app-server
  89.   service_description             Disk Space
  90.   check_command                   check_all_disks!20%!10%
  91. }
  92.  
  93. define service {
  94.   use                             generic-service
  95.   host_name                       util-server
  96.   service_description             Current Users
  97.   check_command                   check_users!0!2
  98. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top