You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
we try to get certificat expiration from Windows server 2022 with x509 plugin.
We encounter the error :
Unknown option: hostname at /usr/lib/centreon/plugins//centreon_protocol_x509.pl line 1294.
When we do this from the poller:
/usr/lib/centreon/plugins//centreon_protocol_x509.pl --plugin=apps::protocols::x509::plugin --mode=certificate --custommode='file' --hostname='1.2.3.4' --port=443 --warning-status='%{expiration} < 60' --critical-status='%{expiration} < 30' --certificate='E:\FOLDER\myCertificat.pem'
The text was updated successfully, but these errors were encountered:
Hi @SavCent,
This custom mode is intended to check a local certificate, meaning on the Linux server where it runs (the poller or the Linux host you are monitoring using SSH or NRPE).
You cannot reach a Windows file system with it.
Hi,
we try to get certificat expiration from Windows server 2022 with x509 plugin.
We encounter the error :
Unknown option: hostname at /usr/lib/centreon/plugins//centreon_protocol_x509.pl line 1294.
When we do this from the poller:
/usr/lib/centreon/plugins//centreon_protocol_x509.pl --plugin=apps::protocols::x509::plugin --mode=certificate --custommode='file' --hostname='1.2.3.4' --port=443 --warning-status='%{expiration} < 60' --critical-status='%{expiration} < 30' --certificate='E:\FOLDER\myCertificat.pem'
The text was updated successfully, but these errors were encountered: