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

It is now ovn-central.crt, so changing it to ovn-chassis.crt

Change-Id: I1c7940793a2d76722cc65b8333a05058a7535bd6
This commit is contained in:
Seyeong Kim
2024-04-30 02:52:28 +00:00
parent f309023b5e
commit c57d5e32b7

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