summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57312c4)
raw | patch | inline | side by side (parent: 57312c4)
author | guiguidoc <guiguidoc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Oct 2005 08:38:53 +0000 (08:38 +0000) | ||
committer | guiguidoc <guiguidoc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Oct 2005 08:38:53 +0000 (08:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1694 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_setup.inc | patch | blob | history |
index 91fd12ccc4ebfbaf52cb145a2f95be34ecb7f999..0200bd5abb9222d6eeafab55cacc123efeeb6f57 100644 (file)
@@ -226,6 +226,16 @@ function schema_check($server, $admin, $password, $aff=0,$CalledByIndexPhP=false
$affich['phoneaccount']['msg']= _("Support for gofon enabled")."<td class=\"check\">gofon.schema</td>";
$affich['phoneaccount']['status']= true;
}
+
+ if (!isset($objectclasses['nagiosContact'])){
+ $messages['nagioscontact']['msg']= _("Support for nagios disabled, no schema seems to be installed");
+ $affich['nagioscontact']['msg']= $messages['nagioscontact']['msg']."<td class=\"check\">nagios.schema</td>";
+ $messages['nagioscontact']['status']= FALSE;
+ $affich['nagioscontact']['status']= FALSE;
+ }else{
+ $affich['nagioscontact']['msg']= _("Support for nagios enabled")."<td class=\"check\">nagios.schema</td>";
+ $affich['nagioscontact']['status']= true;
+ }
/* Fix for PHP Fehler "Undefined index: ldapconf"
* Ablaufverfolgung[1]: Funktion schema_check Datei: /home/hickert/gosa/include/functions_setup.inc (Zeile 230)