Merge "Changing cert file to check from ovn-central.crt to ovn-chassis.crt"

This commit is contained in:
Zuul
2024-05-13 14:34:30 +00:00
committed by Gerrit Code Review

View File

@@ -55,7 +55,7 @@ def check_ovn_certs():
os.makedirs(NAGIOS_PLUGIN_DATA)
exit_code = SUCCESS
for cert in ['/etc/ovn/cert_host', '/etc/ovn/ovn-central.crt']:
for cert in ['/etc/ovn/cert_host', '/etc/ovn/ovn-chassis.crt']:
if not os.path.exists(cert):
message = "cert '{}' does not exist.".format(cert)
exit_code = CRITICAL