From 5fbf1300e506ad39171f4b91bde013d67a69ac0c Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Thu, 15 Jun 2023 09:11:24 +0200
Subject: [PATCH] update docs

---
 docs/20_Checks/check_onevm.md | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/docs/20_Checks/check_onevm.md b/docs/20_Checks/check_onevm.md
index 425bc6a..b269d0c 100644
--- a/docs/20_Checks/check_onevm.md
+++ b/docs/20_Checks/check_onevm.md
@@ -23,7 +23,7 @@ icingaclient ALL=(ALL) NOPASSWD: /bin/onevm
 ______________________________________________________________________
 
 CHECK_ONEVM 
-v1.0
+v1.1
 
 (c) Institute for Medical Education - University of Bern
 Licence: GNU GPL 3
@@ -49,7 +49,7 @@ PARAMETERS:
 
 Without parameter:
 
-```
+```txt
 ./check_onevm
 OK: OpenNebula VMs - Total: 32 .. running: 32 .. other: 0
 >>>>>> By state
@@ -64,3 +64,12 @@ The VM is running (note that this stage includes the internal virtualized machin
 
 |total=32;; running=32;; fail=0;; unknown=0;; other=0;; 
 ```
+
+If no vm was created yet the result is OK.
+
+```txt
+/check_onevm
+OK: OpenNebula VMs - Total: 0 .. running: 0, Fail: 0, unknown: 0 .. other: 0
+Info: no vm was created yet.
+ |total=0;; running=0;; fail=0;; unknown=0;; other=0;; root@admin:one plugins# 
+```
-- 
GitLab