mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
ipv4/ipv6 udp/tcp transport support patch
git-svn-id: http://www.observium.org/svn/observer/trunk@1860 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -49,6 +49,18 @@ echo("<table cellpadding=0 cellspacing=0><tr><td>
|
||||
<td colspan='3'><input name='port' size='20' value='" . $device['port'] . "'></input>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='300'><div align='right'>SNMP Transport</div></td>
|
||||
<td colspan='3'>
|
||||
<select name='transport'>");
|
||||
foreach ($config['snmp']['transports'] as $transport) {
|
||||
echo ("<option value='".$transport."'");
|
||||
if ($transport == $device['transport']) { echo (" selected='selected'"); }
|
||||
echo (">".$transport."</option>");
|
||||
}
|
||||
echo(" </select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='300'><div align='right'>SNMP Timeout</div></td>
|
||||
<td colspan='3'><input name='timeout' size='20' value='" . $device['timeout'] . "'></input>
|
||||
|
||||
Reference in New Issue
Block a user