Skip to main content

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

 

Hello @vguegan ,

the “validity” mode is indeed deprecated and replaced by the “certificate” mode in the latest versions of the Plugin.

You may need to update the Pack so the templates will be up-to-date and use the new “App-Protocol-X509-Certificate” Service template.

Hope it helps!

Cheers


Ok. Thank you.

My plugin was up to date but an old service inherited from the older one was present.

By removing the plugin, i had to change the model of my host temporarily and now i use the new model after reinstalling plugin.

So the mode of my service is the good one : certificate


Reply