mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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:
parent
cb4b714227
commit
7128397c61
pandora_server
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user