windows.conf 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. ## CPU
  2. template: windows_10min_cpu_usage
  3. on: windows.cpu_utilization_total
  4. class: Utilization
  5. type: Windows
  6. component: CPU
  7. os: *
  8. hosts: *
  9. lookup: average -10m unaligned match-names of dpc,user,privileged,interrupt
  10. units: %
  11. every: 1m
  12. warn: $this > (($status >= $WARNING) ? (75) : (85))
  13. crit: $this > (($status == $CRITICAL) ? (85) : (95))
  14. delay: down 15m multiplier 1.5 max 1h
  15. summary: CPU utilization
  16. info: Average CPU utilization over the last 10 minutes
  17. to: silent
  18. ## Memory
  19. template: windows_ram_in_use
  20. on: windows.memory_utilization
  21. class: Utilization
  22. type: Windows
  23. component: Memory
  24. os: *
  25. hosts: *
  26. calc: ($used) * 100 / ($used + $available)
  27. units: %
  28. every: 10s
  29. warn: $this > (($status >= $WARNING) ? (80) : (90))
  30. crit: $this > (($status == $CRITICAL) ? (90) : (98))
  31. delay: down 15m multiplier 1.5 max 1h
  32. summary: Ram utilization
  33. info: Memory utilization
  34. to: sysadmin
  35. ## Network
  36. template: windows_inbound_packets_discarded
  37. on: windows.net_nic_discarded
  38. class: Errors
  39. type: Windows
  40. component: Network
  41. os: *
  42. hosts: *
  43. lookup: sum -10m unaligned absolute match-names of inbound
  44. units: packets
  45. every: 1m
  46. warn: $this >= 5
  47. delay: down 1h multiplier 1.5 max 2h
  48. summary: Inbound network packets discarded
  49. info: Number of inbound discarded packets for the network interface in the last 10 minutes
  50. to: silent
  51. template: windows_outbound_packets_discarded
  52. on: windows.net_nic_discarded
  53. class: Errors
  54. type: Windows
  55. component: Network
  56. os: *
  57. hosts: *
  58. lookup: sum -10m unaligned absolute match-names of outbound
  59. units: packets
  60. every: 1m
  61. warn: $this >= 5
  62. delay: down 1h multiplier 1.5 max 2h
  63. summary: Outbound network packets discarded
  64. info: Number of outbound discarded packets for the network interface in the last 10 minutes
  65. to: silent
  66. template: windows_inbound_packets_errors
  67. on: windows.net_nic_errors
  68. class: Errors
  69. type: Windows
  70. component: Network
  71. os: *
  72. hosts: *
  73. lookup: sum -10m unaligned absolute match-names of inbound
  74. units: packets
  75. every: 1m
  76. warn: $this >= 5
  77. delay: down 1h multiplier 1.5 max 2h
  78. summary: Inbound network errors
  79. info: Number of inbound errors for the network interface in the last 10 minutes
  80. to: silent
  81. template: windows_outbound_packets_errors
  82. on: windows.net_nic_errors
  83. class: Errors
  84. type: Windows
  85. component: Network
  86. os: *
  87. hosts: *
  88. lookup: sum -10m unaligned absolute match-names of outbound
  89. units: packets
  90. every: 1m
  91. warn: $this >= 5
  92. delay: down 1h multiplier 1.5 max 2h
  93. summary: Outbound network errors
  94. info: Number of outbound errors for the network interface in the last 10 minutes
  95. to: silent
  96. ## Disk
  97. template: windows_disk_in_use
  98. on: windows.logical_disk_space_usage
  99. class: Utilization
  100. type: Windows
  101. component: Disk
  102. os: *
  103. hosts: *
  104. calc: ($used) * 100 / ($used + $free)
  105. units: %
  106. every: 10s
  107. warn: $this > (($status >= $WARNING) ? (80) : (90))
  108. crit: $this > (($status == $CRITICAL) ? (90) : (98))
  109. delay: down 15m multiplier 1.5 max 1h
  110. summary: Disk space usage
  111. info: Disk space utilization
  112. to: sysadmin