2011-03-15 Sancho Lerena <slerena@artica.es>

* util/recon_scripts/snmpdevices.pl: Fixed a typo in interface 
        detection :-(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2011-03-15 17:43:59 +00:00
parent cb4b714227
commit 7128397c61
2 changed files with 6 additions and 1 deletions
pandora_server
ChangeLog
util/recon_scripts

@ -1,3 +1,8 @@
2011-03-15 Sancho Lerena <slerena@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a typo in interface
detection :-(
2011-03-14 Raúl Mateos <raulolfpandora@gmail.com>
* lib/PandoraFMS/Config.pm, lib/PandoraFMS/Core.pm,

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