Code

Added naios user plugin to acls
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Jul 2006 04:10:14 +0000 (04:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 13 Jul 2006 04:10:14 +0000 (04:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4133 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/nagios/class_nagiosAccount.inc

index 482cd1cb36c567ffac0b8e0c8c689c2aab63265e..216c0913521b9b7b929275b81da892ac17b4ef70 100644 (file)
@@ -232,6 +232,38 @@ class nagiosAccount extends plugin
     $this->handle_post_events('remove');
   }
 
+
+
+  function plInfo()
+  {
+    return (array(
+          "plDescription"   => _("Intranet account settings"),
+          "plSelfModify"    => TRUE,
+          "plDepends"       => array("objectClass" => "gosaAccount"),
+
+          "NagiosAlias"                       =>  _("Alias"),
+          "NagiosPager"                       =>  _("Pager number"),
+          "NagiosMail"                        =>  _("Mail address"),
+
+          "HostNotificationCommands"          =>  _("Host notification commands"),
+          "HostNotificationOptions"           =>  _("Host notification options"),
+          "HostNotificationPeriod"            =>  _("Host notification period"),
+
+          "ServiceNotificationCommands"       =>  _("Service notification commands"),
+          "ServiceNotificationOptions"        =>  _("Service notification options"),
+          "ServiceNotificationPeriod"         =>  _("Service notification period"),
+
+          "AuthorizedAllHosts"                =>  _("View all hosts"),
+          "AuthorizedAllServices"             =>  _("View all services"),
+
+          "AuthorizedSystemCommands"          =>  _("Trigger system commands"),
+          "AuthorizedAllHostCommands"         =>  _("Trigger all host commands"),
+          "AuthorizedAllServiceCommands"      =>  _("Trigger all service commands"),
+
+          "AuthorizedConfigurationInformation"=>  _("View configuration information"),
+          "AuthorizedSystemInformation"       =>  _("View system informations")));
+
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: