check_gpg_expiry.conf 768 B

1234567891011121314151617181920212223242526272829303132333435
  1. object CheckCommand "check_gpg_expiry" {
  2. import "plugin-check-command"
  3. command = [ FFHOPluginDir + "/check_gpg_expiry" ]
  4. arguments = {
  5. "--dirs" = {
  6. required = false
  7. value = "$gpg_directory$"
  8. repeat_key = false
  9. }
  10. "--warning" = {
  11. required = false
  12. value = "$gpg_warning_secs$"
  13. }
  14. "--critical" = {
  15. required = false
  16. value = "$gpg_critical_secs$"
  17. }
  18. "--verbose" = {
  19. set_if = "$gpg_verbose$"
  20. description = "Output all keys with their corresponding dates"
  21. }
  22. "--sort" = {
  23. set_if = "$gpg_sort$"
  24. description = "Sort keys by expiry date"
  25. }
  26. "--expiring" = {
  27. set_if = "$gpg_expiring$"
  28. description = "Only show expiring keys in verbose output"
  29. }
  30. "--ignore" = {
  31. required = false
  32. value = "$gpg_ignore$"
  33. }
  34. }
  35. }