Revision dc17a9de
Added by Chris Buechler over 10 years ago
usr/local/www/services_snmp.php | ||
---|---|---|
321 | 321 |
<br /><?=gettext("The community string is like a password, restricting access to querying SNMP to hosts knowing the community string. Use a strong value here to protect from unauthorized information disclosure.");?><br /> |
322 | 322 |
</td> |
323 | 323 |
</tr> |
324 |
|
|
325 |
<?php |
|
326 |
/* disabled until some docs show up on what this does. |
|
327 |
<tr> |
|
328 |
<td width="22%" valign="top" class="vtable"> </td> |
|
329 |
<td width="78%" class="vtable"> |
|
330 |
<input name="rwenable" id="rwenable" type="checkbox" value="yes" <?php if ($pconfig['rwenable']) echo "checked=\"checked\""; ?> onclick="enable_change(this)" /> |
|
331 |
<strong>Enable Write Community String</strong> |
|
332 |
</td> |
|
333 |
</tr> |
|
334 |
|
|
335 |
<tr> |
|
336 |
<td width="22%" valign="top" class="vncellreq">Write community string</td> |
|
337 |
<td width="78%" class="vtable"> |
|
338 |
<input name="rwcommunity" type="text" class="formfld unknown" id="rwcommunity" size="40" value="<?=htmlspecialchars($pconfig['rwcommunity']);?>" /> |
|
339 |
<br />Please use something other then "private" here<br /> |
|
340 |
</td> |
|
341 |
</tr> |
|
342 |
*/ |
|
343 |
?> |
|
344 |
|
|
345 | 324 |
<tr><td> </td></tr> |
346 | 325 |
|
347 | 326 |
<tr> |
... | ... | |
351 | 330 |
<td align="right" class="optsect_s"><input name="trapenable" id="trapenable" type="checkbox" value="yes" <?php if ($pconfig['trapenable']) echo "checked=\"checked\""; ?> onclick="enable_change(this)" /> <strong><?=gettext("Enable");?></strong></td></tr> |
352 | 331 |
</table></td> |
353 | 332 |
</tr> |
354 |
|
|
355 |
|
|
356 | 333 |
<tr> |
357 | 334 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Trap server");?></td> |
358 | 335 |
<td width="78%" class="vtable"> |
... | ... | |
360 | 337 |
<br /><?=gettext("Enter trap server name");?><br /> |
361 | 338 |
</td> |
362 | 339 |
</tr> |
363 |
|
|
364 | 340 |
<tr> |
365 | 341 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Trap server port ");?></td> |
366 | 342 |
<td width="78%" class="vtable"> |
Also available in: Unified diff
remove dead code, clean up excess white space a bit.