diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index f3f65aa9c7..94b6d3506f 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,10 @@ +2007-08-27 Sancho Lerena + + * lib/PandoraFMS/Config.pm: Updated version string. + + * bin/pandora_network: Fixed BUG with SNMP Timeout (net-snmp uses MICROSECONDS + instead seconds!) + 2007-08-23 Sancho Lerena * Fixed a BUG in daemon launcher scripts that makes to do not stop servers :( diff --git a/pandora_server/bin/pandora_network b/pandora_server/bin/pandora_network index a5aa58f7bc..0b212fb7c9 100755 --- a/pandora_server/bin/pandora_network +++ b/pandora_server/bin/pandora_network @@ -402,8 +402,9 @@ sub pandora_query_snmp (%$$$$) { # $_[4] contains error var. my $output =""; + my $snmp_timeout = 1000 * 1000 * $pa_config->{"networktimeout"}; my $SESSION = new SNMP::Session (DestHost => $snmp_target, - Timeout => $pa_config->{"networktimeout"}, + Timeout => $snmp_timeout, Community => $snmp_community, Version => 1); if ((!defined($SESSION))&& ($snmp_community != "") && ($snmp_oid != "")) { diff --git a/pandora_server/lib/PandoraFMS/Config.pm b/pandora_server/lib/PandoraFMS/Config.pm index 9c0c811622..34c399c746 100644 --- a/pandora_server/lib/PandoraFMS/Config.pm +++ b/pandora_server/lib/PandoraFMS/Config.pm @@ -35,7 +35,7 @@ our @EXPORT = qw( pandora_help_screen # version: Defines actual version of Pandora Server for this module only my $pandora_version = "1.3beta2"; -my $pandora_build="PS070822"; +my $pandora_build="PS070827"; our $VERSION = $pandora_version." ".$pandora_build; # Setup hash