mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +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
ac44399404
commit
3c311bff4d
@ -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,
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user