a-schild/zabbix-ssl

Time until expired is unsigned

jan2000 opened this issue · 1 comments

The values for the lifetime items are stored as unsigned numbers, causing data collection to fail once a certificate is expired because the negative numbers are not valid for the value type.

The trigger ... certificate on {HOSTNAME} expired is never triggered because the the condition ssltls.check[...,lifetime].last()}<0will never be satisfied.

This can be fixed by setting <value_type> to 0 (numeric float) for the lifetime items.

Thanks, it fixed.