ssl_cert.conf 664 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Old Icinga2 doesn't ship with check command for ssl_cert check
  3. #
  4. {%- if grains['oscodename'] == 'jessie' %}
  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. {%- endif %}