mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
allow disabling of alerting per device, allow override of syscontact, minor cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@1995 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -50,7 +50,7 @@ echo("<table cellpadding=0 cellspacing=0><tr><td>
|
||||
<table width='400' border='0'>
|
||||
<tr>
|
||||
<td width='150'><div align='right'>SNMP Community</div></td>
|
||||
<td><input name='community' size='20' value='" . $device['community'] . "'></input>
|
||||
<td><input name='community' size='20' value='" . $device['community'] . "' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -63,7 +63,7 @@ echo("<table cellpadding=0 cellspacing=0><tr><td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div align='right'>SNMP Port</div></td>
|
||||
<td><input name='port' size='20' value='" . $device['port'] . "'></input>
|
||||
<td><input name='port' size='20' value='" . $device['port'] . "' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -83,13 +83,13 @@ echo(" </select>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div align='right'>SNMP Timeout</div></td>
|
||||
<td><input name='timeout' size='20' value='" . ($device['timeout'] ? $device['timeout'] : '') . "'></input>
|
||||
<td><input name='timeout' size='20' value='" . ($device['timeout'] ? $device['timeout'] : '') . "' />
|
||||
<em>seconds</em>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><div align='right'>SNMP Retries</div></td>
|
||||
<td colspan='3'><input name='retries' size='20' value='" . ($device['timeout'] ? $device['retries'] : '') . "'></input>
|
||||
<td colspan='3'><input name='retries' size='20' value='" . ($device['timeout'] ? $device['retries'] : '') . "' />
|
||||
</td>
|
||||
</tr>");
|
||||
|
||||
|
Reference in New Issue
Block a user