diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 75a6bf21cd..0b0872daba 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2011-03-15 Sancho Lerena + + * util/recon_scripts/snmpdevices.pl: Fixed a typo in interface + detection :-( + 2011-03-14 Raúl Mateos * lib/PandoraFMS/Config.pm, lib/PandoraFMS/Core.pm, diff --git a/pandora_server/util/recon_scripts/snmpdevices.pl b/pandora_server/util/recon_scripts/snmpdevices.pl index 658789eab3..4a9cb0dfe6 100755 --- a/pandora_server/util/recon_scripts/snmpdevices.pl +++ b/pandora_server/util/recon_scripts/snmpdevices.pl @@ -254,7 +254,7 @@ for (my $i = 1, $net_addr++; $net_addr < $net_addr->broadcast; $i++, $net_addr++ # Process interface list # Get interface indexes - my $interface_indexes = `/usr/bin/snmpwalk -Ouvq -c '$target_community' -v 1 $addr ifIndex>/dev/null`; + my $interface_indexes = `/usr/bin/snmpwalk -Ouvq -c '$target_community' -v 1 $addr ifIndex 2>/dev/null`; my @ids = split("\n", $interface_indexes);