1234567891011121314151617181920212223242526272829303132333435 |
- object CheckCommand "check_gpg_expiry" {
- import "plugin-check-command"
- command = [ FFHOPluginDir + "/check_gpg_expiry" ]
- arguments = {
- "--dirs" = {
- required = false
- value = "$gpg_directory$"
- repeat_key = false
- }
- "--warning" = {
- required = false
- value = "$gpg_warning_secs$"
- }
- "--critical" = {
- required = false
- value = "$gpg_critical_secs$"
- }
- "--verbose" = {
- set_if = "$gpg_verbose$"
- description = "Output all keys with their corresponding dates"
- }
- "--sort" = {
- set_if = "$gpg_sort$"
- description = "Sort keys by expiry date"
- }
- "--expiring" = {
- set_if = "$gpg_expiring$"
- description = "Only show expiring keys in verbose output"
- }
- "--ignore" = {
- required = false
- value = "$gpg_ignore$"
- }
- }
- }
|