Hello,
When I want to check the expiry date of my certificate, if I set a date lower than the number of days remaining, in the
/usr/lib/centreon/plugins//centreon_netscaler.pl --plugin=network::citrix::netscaler::snmp::plugin --mode=certificates-expire --hostname='192.168.201.189' --snmp-version='2c' --snmp-community='test' --filter-name='Citrix' --critical-days='90'
CRITICAL: Certificate 'Citrix ' 106 days remaining before expiration
/usr/lib/centreon/plugins//centreon_netscaler.pl --plugin=network::citrix::netscaler::snmp::plugin --mode=certificates-expire --hostname='192. 168.201.189' --snmp-version='2c' --snmp-community='M9UqgrSKDc8VEjCTsDYUQdj7l5Q4ufk' --filter-name='Citrix Habellis' --critical-days='107'
OK: Certificate 'Citrix' 106 days remaining before expiration
I think there is an inversion in the calculation of the date.