icingaweb2-module-x509
icingaweb2-module-x509 copied to clipboard
icingacli x509 check host: correct (previously inverted) thresholds
As the check actually generates an alert if V < W|C, not V > W|C, the perfdata shall be L=V;W:;C:, not L=V;W;C.
https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT
Before/after
[vagrant@icinga-web-2-development ~]$ icingacli x509 check host --host al2klimov.de
OK - al2klimov.de expires in 84 days|'al2klimov.de'=7315591s;1900800;777600;0;7775999
[vagrant@icinga-web-2-development ~]$ icingacli x509 check host --host al2klimov.de
OK - al2klimov.de expires in 84 days|'al2klimov.de'=7315574s;1900800:;777600:;0;7775999
[vagrant@icinga-web-2-development ~]$