2010-09-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm, lib/PandoraFMS/Core.pm: Fixed some prototypes that led to warnings in recent versions of PERL. This fixes bug #3061906. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b2b4b3ceb7
commit
933e9b2b39
|
@ -1,3 +1,9 @@
|
|||
2010-09-10 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/NetworkServer.pm,
|
||||
lib/PandoraFMS/Core.pm: Fixed some prototypes that led to warnings
|
||||
in recent versions of PERL. This fixes bug #3061906.
|
||||
|
||||
2010-09-09 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Fixed alert behaviour when time_from is
|
||||
|
|
|
@ -1571,7 +1571,7 @@ sub get_module_status ($$$) {
|
|||
# Validate event.
|
||||
# This validates all events pending to ACK for the same id_agent_module
|
||||
##########################################################################
|
||||
sub pandora_validate_event (%$$) {
|
||||
sub pandora_validate_event ($$$) {
|
||||
my ($pa_config, $id_agentmodule, $dbh) = @_;
|
||||
if (!defined($id_agentmodule)){
|
||||
return;
|
||||
|
|
|
@ -140,7 +140,7 @@ sub data_consumer ($$) {
|
|||
# tcp_rcv, id_tipo_module, dbh)
|
||||
# Makes a call to TCP modules to get a value.
|
||||
##########################################################################
|
||||
sub pandora_query_tcp (%$$$$$$$) {
|
||||
sub pandora_query_tcp ($$$$$$$$) {
|
||||
my $pa_config = $_[0];
|
||||
my $tcp_port = $_[1];
|
||||
my $ip_target = $_[2];
|
||||
|
@ -247,7 +247,7 @@ next_pair:
|
|||
# Makes a call to SNMP modules to get a value,
|
||||
##########################################################################
|
||||
|
||||
sub pandora_query_snmp (%$) {
|
||||
sub pandora_query_snmp ($$) {
|
||||
my $pa_config = $_[0];
|
||||
my $module = $_[1];
|
||||
|
||||
|
|
Loading…
Reference in New Issue