From eb500b5a4a776f536624b29eb74457624d73c7aa Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Fri, 17 Dec 2021 12:51:16 +0100
Subject: [PATCH] update appmonitor client

---
 public_html/appmonitor/index.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/public_html/appmonitor/index.php b/public_html/appmonitor/index.php
index cd38360e..b978327c 100644
--- a/public_html/appmonitor/index.php
+++ b/public_html/appmonitor/index.php
@@ -114,6 +114,7 @@ $oMonitor->addCheck(
     array(
         "name" => "ci projects",
         "description" => "Count of Projects in CI Webgui",
+        "group" => "monitor",
         "check" => array(
             "function" => "Simple",
             "params" => array(
@@ -129,6 +130,7 @@ $oMonitor->addCheck(
     array(
         "name" => "ci inProgress",
         "description" => "Projects in progress",
+        "group" => "monitor",
         "check" => array(
             "function" => "Simple",
             "params" => array(
@@ -144,6 +146,7 @@ $oMonitor->addCheck(
     array(
         "name" => "ci hasqueue",
         "description" => "Waiting for install",
+        "group" => "monitor",
         "check" => array(
             "function" => "Simple",
             "params" => array(
@@ -192,6 +195,7 @@ if(isset($aConfig['foreman']['api'])){
             array(
                 "name" => "Foreman $sForemanKey",
                 "description" => "Count of Foreman $sForemanKey",
+                "group" => "monitor",
                 "check" => array(
                     "function" => "Simple",
                     "params" => array(
@@ -228,6 +232,7 @@ if(count($aConfig['mirrorPackages'])){
             array(
                 "name" => "mirror target $sHostKey",
                 "description" => "Sync target of generated packages",
+                "group" => "network",
                 "check" => array(
                     "function" => "Simple",
                     "params" => array(
@@ -263,6 +268,7 @@ foreach(array(
             array(
                     "name" => 'port check '.$aDescr['host'].':'.$aDescr['port'],
                     "description" => $aDescr['descr'],
+                    "group" => "cloud",
                     "check" => array(
                             "function" => "PortTcp",
                             "params" => array(
-- 
GitLab