nagios-plugins-contrib.conf 804 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #
  2. # Checks aus nagios-plugins-contrib (Salt managed)
  3. #
  4. ### Memory-Check
  5. object CheckCommand "memory" {
  6. import "plugin-check-command"
  7. command = [ PluginDir + "/check_memory" ]
  8. arguments = {
  9. "--warning" = "$memory.warning$"
  10. "--critical" = "$memory.critical$"
  11. "--unit" = "$memory.unit$"
  12. "--timeout" = "$memory.timeout$"
  13. }
  14. vars.memory.warning = 10
  15. vars.memory.critical = 5
  16. vars.memory.unit = "M"
  17. }
  18. ### Uptime-Check
  19. object CheckCommand "uptime" {
  20. import "plugin-check-command"
  21. command = [ PluginDir + "/check_uptime" ]
  22. arguments = {
  23. "-T" = "$uptime_T$"
  24. "-w" = "$uptime_w$"
  25. "-c" = "$uptime_c$"
  26. "-f" = "$uptime_f$"
  27. "-P" = "$uptime_P$"
  28. "-t" = "$uptime_t$"
  29. }
  30. }
  31. ### libs-Check
  32. object CheckCommand "libs" {
  33. import "plugin-check-command"
  34. command = [ PluginDir + "/check_libs" ]
  35. }