Code

cb6262148d5a87000c1785aba33b6e5ff262d07d
[gosa.git] / plugins / personal / nagios / nagios.tpl
1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
2  <tr>
3   <td style="width:50%; vertical-align:top;">
4    <h2><img class="center" alt="" align="middle" src="images/rightarrow.png" />&nbsp;{t}Nagios Account{/t}</h2>
5    <table summary="">
6     <tr>
7      <td><label for="NagiosAlias">{t}Alias{/t}</label>{$must}</td>
8      <td><input id="NagiosAlias" name="NagiosAlias" size=25 maxlength=65 {$NagiosAliasACL} value="{$NagiosAlias}"></td>
9     </tr>
11     <tr>
12      <td><label for="NagiosMail">{t}Mail address{/t}</label>{$must}</td>
13      <td><input id="NagiosMail" name="NagiosMail" size=25 maxlength=65 {$NagiosMailACL} value="{$NagiosMail}"></td>
14     </tr>
16         <tr>
17         <td><label for="HostNotificationPeriod">{t}Host notification period{/t}</label>{$must}</td>
18         <td><select name="HostNotificationPeriod" id="HostNotificationPeriod" {$HostNotificationPeriodACL}>
19         {html_options options=$HostNotificationPeriodValues values=$HostNotificationPeriodValues selected=$HostNotificationPeriod }
20         </select>
21         </td>
22         </tr>
24         <tr>
25         <td><label for="ServiceNotificationPeriod">{t}Service notification period{/t}</label>{$must}</td>
26         <td><select name="ServiceNotificationPeriod" id="ServiceNotificationPeriod" {$ServiceNotificationPeriodACL}>
27         {html_options options=$ServiceNotificationPeriodValues values=$ServiceNotificationPeriodValues selected=$ServiceNotificationPeriod}
28         </select>
29         </td>
30         </tr>
31         <tr>
32         <td><label for="ServiceNotificationOptions">{t}Service notification options{/t}</label>{$must}</td>
33         <td><select name="ServiceNotificationOptions" id="ServiceNotificationOptions" {$ServiceNotificationOptionsACL}>
34         {html_options options=$ServiceNotificationOptionsValues values=$ServiceNotificationOptionsValues selected=$ServiceNotificationOptions}
35         </select>
36         </td>
37         </tr>
40         <tr>
41         <td><label for="HostNotificationOptions">{t}Host notification options{/t}</label>{$must}</td>
42         <td><select name="HostNotificationOptions" id="HostNotificationOptions" {$HostNotificationOptionsACL}>
43         {html_options options=$HostNotificationOptionsValues values=$HostNotificationOptionsValues selected=$HostNotificationOptions }
44         </select>
45         </td>
46         </tr>
47     <tr>
48      <td><label for="NagiosPager">{t}Pager{/t}</label></td>
49      <td><input id="NagiosPager" name="NagiosPager" size=25 maxlength=65 {$NagiosPagerACL} value="{$NagiosPager}"></td>
50     </tr>
52     <tr>
53      <td><label for="ServiceNotificationCommands">{t}Service notification commands{/t}</label></td>
54      <td><input id="ServiceNotificationCommands" disabled name="ServiceNotificationCommands" size=25 maxlength=65  value="{$ServiceNotificationCommands}"></td>
55     </tr>
56     <tr>
57      <td><label for="HostNotificationCommands">{t}Host notification commands{/t}</label></td>
58      <td><input id="HostNotificationCommands" disabled name="HostNotificationCommands" size=25 maxlength=65  value="{$HostNotificationCommands}"></td>
59     </tr>
60 </table>
61 </td>
62   <td style="border-left:1px solid #A0A0A0">
63    &nbsp;
64   </td>
65 <td style="width:100%; vertical-align:top;">
66    <h2><img class="center" alt="" align="middle" src="images/rightarrow.png" />&nbsp;{t}Nagios authentification{/t}</h2>
67    <table summary="">
68         <tr><td><input type="checkbox" name="AuthorizedSystemInformation" value="1" {$AuthorizedSystemInformationACL}  
69 {$AuthorizedSystemInformationCHK}>{t}view system informations{/t}</td></tr>
70         
71         <tr><td><input type="checkbox" name="AuthorizedConfigurationInformation" {$AuthorizedConfigurationInformationACL} value="1" 
72 {$AuthorizedConfigurationInformationCHK}>{t}view configuration information{/t}</td></tr>
73         
74         <tr><td><input type="checkbox" name="AuthorizedSystemCommands" {$AuthorizedSystemCommandsACL} value="1" 
75 {$AuthorizedSystemCommandsCHK}>{t}trigger system commands{/t}</td></tr>
76         
77         <tr><td><input type="checkbox" name="AuthorizedAllServices" {$AuthorizedAllServicesACL} value="1" 
78 {$AuthorizedAllServicesCHK}>{t}view all services{/t}</td></tr>
79         
80         <tr><td><input type="checkbox" name="AuthorizedAllHosts" {$AuthorizedAllHostsACL} value="1" 
81 {$AuthorizedAllHostsCHK}>{t}view all hosts{/t}</td></tr>
82         
83         <tr><td><input type="checkbox" name="AuthorizedAllServiceCommands" {$AuthorizedAllServiceCommandsACL} value="1" {$AuthorizedAllServiceCommandsCHK}>{t}trigger all service commands{/t}</td></tr>
84         
85         <tr><td><input type="checkbox" name="AuthorizedAllHostCommands" {$AuthorizedAllHostCommandsACL} value="1" 
86 {$AuthorizedAllHostCommandsCHK}>{t}trigger all host commands{/t}</td></tr>
88    </table>
89 </td>
91 </table>
93 <input type="hidden" name="nagiosTab" value="nagiosTab">
95 <!-- Place cursor -->
96 <script language="JavaScript" type="text/javascript">
97   <!-- // First input field on page
98   document.mainform.NagiosAlias.focus();
99   -->
100 </script>