From: opensides Date: Tue, 8 Dec 2009 08:59:29 +0000 (+0000) Subject: - Corrected host and service notification (Closes: #804) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32f817034150330abf347445e87e48fc7ce90d0b;p=gosa.git - Corrected host and service notification (Closes: #804) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14880 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc b/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc index 0d50aac78..1a3e15edc 100644 --- a/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc +++ b/gosa-plugins/nagios/personal/nagios/class_nagiosAccount.inc @@ -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__)));