nagios-plugins-contrib.conf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #
  2. # Checks aus nagios-plugins-contrib (Salt managed)
  3. #
  4. ### SSL-Cert-Check
  5. object CheckCommand "ssl_cert" {
  6. import "plugin-check-command"
  7. command = [ PluginDir + "/check_ssl_cert" ]
  8. arguments = {
  9. "-H" = "$ssl_cert_H$"
  10. "-A" = "$ssl_cert_A$"
  11. "-C" = "$ssl_cert_C$"
  12. "-e" = "$ssl_cert_e$"
  13. "-f" = "$ssl_cert_f$"
  14. "-i" = "$ssl_cert_i$"
  15. "-n" = "$ssl_cert_n$"
  16. "-N" = "$ssl_cert_N$"
  17. "-o" = "$ssl_cert_o$"
  18. "-p" = "$ssl_cert_p$"
  19. "-P" = "$ssl_cert_P$"
  20. "-s" = "$ssl_cert_s$"
  21. "-S" = "$ssl_cert_S$"
  22. "-r" = "$ssl_cert_r$"
  23. "-t" = "$ssl_cert_t$"
  24. "-w" = "$ssl_cert_w$"
  25. "-d" = "$ssl_cert_d$"
  26. }
  27. }
  28. ### Memory-Check
  29. object CheckCommand "memory" {
  30. import "plugin-check-command"
  31. command = [ PluginDir + "/check_memory" ]
  32. arguments = {
  33. "--warning" = "$memory.warning$"
  34. "--critical" = "$memory.critical$"
  35. "--unit" = "$memory.unit$"
  36. "--timeout" = "$memory.timeout$"
  37. }
  38. vars.memory.warning = 10
  39. vars.memory.critical = 5
  40. vars.memory.unit = "M"
  41. }
  42. ### Uptime-Check
  43. object CheckCommand "uptime" {
  44. import "plugin-check-command"
  45. command = [ PluginDir + "/check_uptime" ]
  46. arguments = {
  47. "-T" = "$uptime_T$"
  48. "-w" = "$uptime_w$"
  49. "-c" = "$uptime_c$"
  50. "-f" = "$uptime_f$"
  51. "-P" = "$uptime_P$"
  52. "-t" = "$uptime_t$"
  53. }
  54. }
  55. ### libs-Check
  56. object CheckCommand "libs" {
  57. import "plugin-check-command"
  58. command = [ PluginDir + "/check_libs" ]
  59. }