mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
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
55f61be126
commit
1e3589ffa0
@ -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>
|
2010-09-09 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* lib/PandoraFMS/Core.pm: Fixed alert behaviour when time_from is
|
* lib/PandoraFMS/Core.pm: Fixed alert behaviour when time_from is
|
||||||
|
@ -1571,7 +1571,7 @@ sub get_module_status ($$$) {
|
|||||||
# Validate event.
|
# Validate event.
|
||||||
# This validates all events pending to ACK for the same id_agent_module
|
# 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) = @_;
|
my ($pa_config, $id_agentmodule, $dbh) = @_;
|
||||||
if (!defined($id_agentmodule)){
|
if (!defined($id_agentmodule)){
|
||||||
return;
|
return;
|
||||||
|
@ -140,7 +140,7 @@ sub data_consumer ($$) {
|
|||||||
# tcp_rcv, id_tipo_module, dbh)
|
# tcp_rcv, id_tipo_module, dbh)
|
||||||
# Makes a call to TCP modules to get a value.
|
# Makes a call to TCP modules to get a value.
|
||||||
##########################################################################
|
##########################################################################
|
||||||
sub pandora_query_tcp (%$$$$$$$) {
|
sub pandora_query_tcp ($$$$$$$$) {
|
||||||
my $pa_config = $_[0];
|
my $pa_config = $_[0];
|
||||||
my $tcp_port = $_[1];
|
my $tcp_port = $_[1];
|
||||||
my $ip_target = $_[2];
|
my $ip_target = $_[2];
|
||||||
@ -247,7 +247,7 @@ next_pair:
|
|||||||
# Makes a call to SNMP modules to get a value,
|
# Makes a call to SNMP modules to get a value,
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
sub pandora_query_snmp (%$) {
|
sub pandora_query_snmp ($$) {
|
||||||
my $pa_config = $_[0];
|
my $pa_config = $_[0];
|
||||||
my $module = $_[1];
|
my $module = $_[1];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user