Skip to content
Snippets Groups Projects
Commit 2e0ca032 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'rollout-plugins' into 'master'

appmonitor fixes

See merge request !13
parents 6b410b69 55171b32
No related branches found
No related tags found
1 merge request!13appmonitor fixes
Pipeline #395 passed
......@@ -58,8 +58,8 @@ foreach (array(
'dataDir/sshkeys'=>array('dir'=>$aConfig['dataDir'].'/sshkeys', 'descr'=>'SSH Keys'),
'buildDir'=>array('dir'=>$aConfig['buildDir'], 'descr'=>'Basisverzeichnis fuer Builds'),
'packageDir'=>array('dir'=>$aConfig['buildDir'], 'descr'=>'Basisverzeichnis der Pakete und Versionen'),
'archiveDir'=>array('dir'=>$aConfig['buildDir'], 'descr'=>'Ablage der gebuildeten Archive'),
'packageDir'=>array('dir'=>$aConfig['packageDir'], 'descr'=>'Basisverzeichnis der Pakete und Versionen'),
'archiveDir'=>array('dir'=>$aConfig['archiveDir'], 'descr'=>'Ablage der gebuildeten Archive'),
) as $sKey=>$aItem) {
$oMonitor->addCheck(
......@@ -77,7 +77,20 @@ foreach (array(
)
);
}
$oMonitor->addCheck(
array(
"name" => "Free space in Archive dir ",
"description" => "The file storage must have some space left",
"check" => array(
"function" => "Diskfree",
"params" => array(
"directory" => $aConfig['archiveDir'],
"warning" => "2GB",
"critical" => "500MB",
),
),
)
);
// ----------------------------------------------------------------------
// count of Projects
// ----------------------------------------------------------------------
......@@ -228,11 +241,13 @@ if(count($aConfig['mirrorPackages'])){
}
foreach(array(
/*
array(
'host'=>'gitlab.iml.unibe.ch',
'port'=>22,
'descr'=>'SSH port to Gitlab on gitlab.iml.unibe.ch'
),
*/
array(
'host'=>'git-repo.iml.unibe.ch',
'port'=>22,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment