mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Accidental inclusion.
This commit is contained in:
@@ -336,14 +336,6 @@ function addHost($host, $snmp_version = '', $port = '161', $transport = 'udp', $
|
||||
return "Could not connect, please check the snmp details and snmp reachability";
|
||||
}
|
||||
|
||||
function getAddHostErrorMessage($error) {
|
||||
switch($error) {
|
||||
case -1:
|
||||
return "Already got host $host";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function deviceArray($host, $community, $snmpver, $port = 161, $transport = 'udp', $v3, $port_assoc_mode = 'ifIndex') {
|
||||
$device = array();
|
||||
$device['hostname'] = $host;
|
||||
|
Reference in New Issue
Block a user