2007-08-27 Sancho Lerena <slerena@gmail.com>

* lib/PandoraFMS/Config.pm: Updated version string.

        * bin/pandora_network: Fixed BUG with SNMP Timeout (net-snmp uses MICROSECONDS
        instead seconds!)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2007-08-27 15:06:17 +00:00
parent c8ab11ec26
commit 8a8ba58683
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2007-08-27 Sancho Lerena <slerena@gmail.com>
* 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 <slerena@gmail.com>
* Fixed a BUG in daemon launcher scripts that makes to do not stop servers :(

View File

@ -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 != "")) {

View File

@ -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