Feature 10965 Airflow monitoring pipeline for VIM status
[osm/NG-SA.git] / src / osm_mon / vim_connectors / azure.py
index a401f75..23086c4 100644 (file)
@@ -181,3 +181,13 @@ class AzureCollector(VIMConnector):
         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