2014-05-08 Koichiro KIKUCHI <koichiro@rworks.jp>
* godmode/agentes/agent_wizard.snmp_interfaces_explorer.php: (Re)added ifXTable support to the SNMP interface wizard. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
dd9f51d3e0
commit
310459c6c3
|
@ -1,3 +1,8 @@
|
|||
2014-05-08 Koichiro KIKUCHI <koichiro@rworks.jp>
|
||||
|
||||
* godmode/agentes/agent_wizard.snmp_interfaces_explorer.php:
|
||||
(Re)added ifXTable support to the SNMP interface wizard.
|
||||
|
||||
2014-05-08 Vanessa Gil <vanessa.gil@artica.es>
|
||||
|
||||
* godmode/agentes/agent_wizard.snmp_explorer.php:
|
||||
|
|
|
@ -52,10 +52,12 @@ if ($snmpwalk) {
|
|||
$snmpis = get_snmpwalk($ip_target, $snmp_version, $snmp_community, $snmp3_auth_user,
|
||||
$snmp3_security_level, $snmp3_auth_method, $snmp3_auth_pass,
|
||||
$snmp3_privacy_method, $snmp3_privacy_pass, 0, ".1.3.6.1.2.1.2", $tcp_port);
|
||||
|
||||
if ($snmpis === false) {
|
||||
$snmpis = array();
|
||||
}
|
||||
// ifXTable is also used
|
||||
$ifxitems = get_snmpwalk($ip_target, $snmp_version, $snmp_community, $snmp3_auth_user,
|
||||
$snmp3_security_level, $snmp3_auth_method, $snmp3_auth_pass,
|
||||
$snmp3_privacy_method, $snmp3_privacy_pass, 0, ".1.3.6.1.2.1.31.1.1", $tcp_port);
|
||||
|
||||
$snmpis = array_merge(($snmpis === false ? array() : $snmpis), ($ifxitems === false ? array() : $ifxitems));
|
||||
|
||||
$interfaces = array();
|
||||
|
||||
|
|
Loading…
Reference in New Issue