Code

- Corrected host and service notification (Closes: #804)
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Dec 2009 08:59:29 +0000 (08:59 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Dec 2009 08:59:29 +0000 (08:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14880 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc

index 0d50aac78649ad2bc793839f85817a720696c18d..1a3e15edc4b5da1bf45adec9317b3959b436662b 100644 (file)
@@ -136,8 +136,8 @@ class nagiosAccount extends plugin
         }
       }
     }
-    $smarty->assign('ServiceNotificationOptionsValues'  ,array("d,u,r,v"=>"d,u,r,v" ,"d,u,r"=>"d,u,r" ,"d,u"=>"d,u"));
-    $smarty->assign('HostNotificationOptionsValues'     ,array("w,u,c,r"=>"w,u,c,r" ,"w,u,c"=>"w,u,c" ,"c,w"=>"c,w"));
+    $smarty->assign('ServiceNotificationOptionsValues'  ,array("w,u,c,r,f"=>"w,u,c,r,f" ,"w,u,c,r"=>"w,u,c,r" ,"w,u,c"=>"w,u,c" ,"c,w"=>"c,w","n"=>"n"));
+    $smarty->assign('HostNotificationOptionsValues'     ,array("d,u,r,f"=>"d,u,r,f" ,"d,u,r"=>"d,u,r" ,"d,u"=>"d,u","n"=>"n"));
     $smarty->assign('ServiceNotificationPeriodValues'   ,array("24x7"=>"24x7" ,"24x5"=>"24x5" ,"8x5"=>"8x5"));
     $smarty->assign('HostNotificationPeriodValues'      ,array("24x7"=>"24x7" ,"24x5"=>"24x5" ,"8x5"=>"8x5"));
     $display.= $smarty->fetch (get_template_path('nagios.tpl', TRUE, dirname(__FILE__)));