mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
disdovery/services: remove unused variables, patch by Corentin Chary
git-svn-id: http://www.observium.org/svn/observer/trunk@1794 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -2,12 +2,6 @@
|
||||
|
||||
if ($config['discover_services'])
|
||||
{
|
||||
$id = $device['device_id'];
|
||||
$hostname = $device['hostname'];
|
||||
$community = $device['community'];
|
||||
$snmpver = $device['snmpver'];
|
||||
$port = $device['port'];
|
||||
|
||||
echo("Services: ");
|
||||
|
||||
$known_services = array(22 => "ssh", 25 => "smtp", 53 => "dns", 80 => "http", 110 => "pop", 143 => "imap");
|
||||
|
Reference in New Issue
Block a user