New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[network::citrix::netscaler::mpx8000::plugin] mode=certificates-expire return wrong output #588
Comments
What is your command line ? |
$ perl centreon_plugins.pl --plugin=network::citrix::netscaler::mpx8000::plugin --mode=certificates-expire --hostname=XXXXXX --snmp-community=XXXXXX --snmp-version=v2c --critical=100 CRITICAL: Certificate 'applis.xxxx.cloud': 170 days remaining before expiration $ perl centreon_plugins.pl --plugin=network::citrix::netscaler::mpx8000::plugin --mode=certificates-expire --hostname=XXXXXX --snmp-community=XXXXXX --snmp-version=v2c --critical=171 OK: All certificates are ok. |
If you want threshold critical if value <. Please use like that: --critical=100: |
Co-authored-by: Simon Bomm <sbomm@centreon.com>
Hi,
Mode certificates-expire return the wrong (reverse) output code ; it return 0, OK when remains days are inferior to critical threshold. And 2, Critical when remains days are superior to critical threshold.
Thank You !
The text was updated successfully, but these errors were encountered: