}
+object CheckCommand "icingacli-x509" {
+ import "icingacli"
+
+ command += [ "x509", "check", "host" ]
+
+ arguments = {
+ "--ip" = {
+ value = "$icingacli_x509_ip$"
+ description = "A hosts IP address"
+ }
+ "--host" = {
+ value = "$icingacli_x509_host$"
+ description = "A hosts name"
+ }
+ "--port" = {
+ value = "$icingacli_x509_port$"
+ description = "The port to check in particular"
+ }
+ "--warning" = {
+ value = "$icingacli_x509_warning$"
+ description = "Less remaining time results in state WARNING"
+ }
+ "--critical" = {
+ value = "$icingacli_x509_critical$"
+ description = "Less remaining time results in state CRITICAL"
+ }
+ "--allow-self-signed" = {
+ set_if = "$icingacli_x509_allow_self_signed$"
+ description = "Ignore if a certificate or its issuer has been self-signed"
+ }
+ }
+}
+