Skip to content
Snippets Groups Projects
Commit eb500b5a authored by hahn's avatar hahn
Browse files

update appmonitor client

parent 55171b32
Branches
No related tags found
1 merge request!14Update Appmonitor client
...@@ -114,6 +114,7 @@ $oMonitor->addCheck( ...@@ -114,6 +114,7 @@ $oMonitor->addCheck(
array( array(
"name" => "ci projects", "name" => "ci projects",
"description" => "Count of Projects in CI Webgui", "description" => "Count of Projects in CI Webgui",
"group" => "monitor",
"check" => array( "check" => array(
"function" => "Simple", "function" => "Simple",
"params" => array( "params" => array(
...@@ -129,6 +130,7 @@ $oMonitor->addCheck( ...@@ -129,6 +130,7 @@ $oMonitor->addCheck(
array( array(
"name" => "ci inProgress", "name" => "ci inProgress",
"description" => "Projects in progress", "description" => "Projects in progress",
"group" => "monitor",
"check" => array( "check" => array(
"function" => "Simple", "function" => "Simple",
"params" => array( "params" => array(
...@@ -144,6 +146,7 @@ $oMonitor->addCheck( ...@@ -144,6 +146,7 @@ $oMonitor->addCheck(
array( array(
"name" => "ci hasqueue", "name" => "ci hasqueue",
"description" => "Waiting for install", "description" => "Waiting for install",
"group" => "monitor",
"check" => array( "check" => array(
"function" => "Simple", "function" => "Simple",
"params" => array( "params" => array(
...@@ -192,6 +195,7 @@ if(isset($aConfig['foreman']['api'])){ ...@@ -192,6 +195,7 @@ if(isset($aConfig['foreman']['api'])){
array( array(
"name" => "Foreman $sForemanKey", "name" => "Foreman $sForemanKey",
"description" => "Count of Foreman $sForemanKey", "description" => "Count of Foreman $sForemanKey",
"group" => "monitor",
"check" => array( "check" => array(
"function" => "Simple", "function" => "Simple",
"params" => array( "params" => array(
...@@ -228,6 +232,7 @@ if(count($aConfig['mirrorPackages'])){ ...@@ -228,6 +232,7 @@ if(count($aConfig['mirrorPackages'])){
array( array(
"name" => "mirror target $sHostKey", "name" => "mirror target $sHostKey",
"description" => "Sync target of generated packages", "description" => "Sync target of generated packages",
"group" => "network",
"check" => array( "check" => array(
"function" => "Simple", "function" => "Simple",
"params" => array( "params" => array(
...@@ -263,6 +268,7 @@ foreach(array( ...@@ -263,6 +268,7 @@ foreach(array(
array( array(
"name" => 'port check '.$aDescr['host'].':'.$aDescr['port'], "name" => 'port check '.$aDescr['host'].':'.$aDescr['port'],
"description" => $aDescr['descr'], "description" => $aDescr['descr'],
"group" => "cloud",
"check" => array( "check" => array(
"function" => "PortTcp", "function" => "PortTcp",
"params" => array( "params" => array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment