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 ac44399404
commit 3c311bff4d
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2011-03-14 Raúl Mateos <raulolfpandora@gmail.com>
* lib/PandoraFMS/Config.pm, lib/PandoraFMS/Core.pm, * lib/PandoraFMS/Config.pm, lib/PandoraFMS/Core.pm,

View File

@ -254,7 +254,7 @@ for (my $i = 1, $net_addr++; $net_addr < $net_addr->broadcast; $i++, $net_addr++
# Process interface list # Process interface list
# Get interface indexes # 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); my @ids = split("\n", $interface_indexes);