2009-06-15 Ramon Novoa <rnovoa@artica.es>

* lib/PandoraFMS/SNMPServer.pm: Fixed the call to snmp_trap2agent (was
          missing an argument).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2009-06-15 14:37:51 +00:00
parent c588de94dc
commit 41936bbdc5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-06-15 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Fixed the call to snmp_trap2agent (was
missing an argument).
2009-06-08 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Let the user specify the maximum number

View File

@ -156,7 +156,7 @@ sub pandora_snmptrapd {
pandora_evaluate_snmp_alerts ($pa_config, $trap_id, $source, $oid, $oid, $custom_oid, $custom_value, $dbh);
}
enterprise_hook ('snmp_trap2agent', [$trap2agent, $pa_config, $source, $oid, $value, $custom_oid, $custom_value, $timestamp, $dbh]);
enterprise_hook ('snmp_trap2agent', [$trap2agent, $pa_config, $source, $oid, $value, $custom_oid, $custom_value, $timestamp, $self->getServerID (), $dbh]);
}
sleep ($pa_config->{'server_threshold'});