mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
small mods
git-svn-id: http://www.observium.org/svn/observer/trunk@2995 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -194,13 +194,13 @@ function addHost($host, $snmpver = 'v2c', $port = '161', $transport = 'udp')
|
||||
print_error("Given hostname does not match SNMP-read hostname ($snmphost)!");
|
||||
}
|
||||
} else {
|
||||
print_error("No reply on community $community");
|
||||
print_error("No reply on community $community using $snmpver");
|
||||
}
|
||||
}
|
||||
if (!$device_id)
|
||||
{
|
||||
/// Failed SNMP
|
||||
print_error("Could not reach $host with given SNMP community");
|
||||
print_error("Could not reach $host with given SNMP community using $snmpver");
|
||||
}
|
||||
} else {
|
||||
/// failed Reachability
|
||||
|
||||
Reference in New Issue
Block a user