Really use the dedicated virtual IP for Nagios UI

Change-Id: I8fdb9f940c7ffd5b93da3e58af86c80353b3c3f5
This commit is contained in:
Swann Croiset 2016-06-24 14:49:52 +02:00
parent 4d4371d89c
commit 977aa159f5

View File

@ -39,10 +39,10 @@ class InfraAlertingPluginApi(base_test.PluginApi):
def get_plugin_vip(self): def get_plugin_vip(self):
try: try:
return self.helpers.get_plugin_vip(self.settings.vip_name)
except Exception:
return self.helpers.get_plugin_vip( return self.helpers.get_plugin_vip(
'infrastructure_alerting_mgmt_vip') 'infrastructure_alerting_mgmt_vip')
except Exception:
return self.helpers.get_plugin_vip(self.settings.vip_name)
def check_plugin_online(self): def check_plugin_online(self):
logger.info("Check that the Nagios server is running") logger.info("Check that the Nagios server is running")