small mods

git-svn-id: http://www.observium.org/svn/observer/trunk@2995 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2012-04-08 16:00:32 +00:00
parent 339dc72beb
commit 9db13602e5
4 changed files with 6 additions and 6 deletions

View File

@@ -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