windows.conf 3.1 KB

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