I try to monitor certificates expiration with Centreon.
I use the model App-Protocol-X509-Expiration-custom which give the command :
/usr/lib/centreon/plugins//centreon_protocol_x509.pl --plugin=apps::protocols::x509::plugin --mode=validity --hostname=<ip> --port=443 --validity-mode=expiration --warning-date=60: --critical-date=30:
but mode=validity is not valid a valid one
--list-mode give only certificate