2011-11-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Fixed snmp v3 call in server. Fixes: #3429360 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
cc82b64a86
commit
821a60deaa
|
@ -1,3 +1,9 @@
|
|||
2011-11-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* lib/PandoraFMS/NetworkServer.pm: Fixed snmp v3 call in server.
|
||||
|
||||
Fixes: #3429360
|
||||
|
||||
2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* lib/PandoraFMS/ReconServer.pm: Fixed assignation of module
|
||||
|
|
|
@ -358,8 +358,7 @@ sub pandora_query_snmp ($$$) {
|
|||
$snmp3_extra = " -a $snmp3_auth_method -u $snmp3_auth_user -A $snmp3_auth_pass -x $snmp3_privacy_method -X $snmp3_privacy_pass ";
|
||||
}
|
||||
|
||||
$snmp3_execution = pandora_snmp_get_command ($snmpget_cmd, $snmp_version, $snmp_retries, $snmp_timeout, $snmp_community, $snmp_target, $snmp_oid, $snmp3_security_level, $snmp3_extra);
|
||||
$output = `$snmp3_execution`;
|
||||
$output = pandora_snmp_get_command ($snmpget_cmd, $snmp_version, $snmp_retries, $snmp_timeout, $snmp_community, $snmp_target, $snmp_oid, $snmp3_security_level, $snmp3_extra);
|
||||
if (defined ($output) && $output ne ""){
|
||||
$module_result = 0;
|
||||
$module_data = $output;
|
||||
|
|
Loading…
Reference in New Issue