projects
/
osm
/
NG-SA.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10965 Airflow monitoring pipeline for VIM status
[osm/NG-SA.git]
/
src
/
osm_mon
/
vim_connectors
/
azure.py
diff --git
a/src/osm_mon/vim_connectors/azure.py
b/src/osm_mon/vim_connectors/azure.py
index
a401f75
..
23086c4
100644
(file)
--- a/
src/osm_mon/vim_connectors/azure.py
+++ b/
src/osm_mon/vim_connectors/azure.py
@@
-181,3
+181,13
@@
class AzureCollector(VIMConnector):
except Exception as e:
log.error(e)
return servers
except Exception as e:
log.error(e)
return servers
+
+ def is_vim_ok(self) -> bool:
+ status = False
+ self.reload_client = True
+ try:
+ self._reload_connection()
+ status = True
+ except Exception as e:
+ log.error(e)
+ return status