32_SYSSTAT.pm: set snmp session timeout to two seconds (instead of the default 5 seconds)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-09-16 08:54:09 +00:00
parent afe2bc81d9
commit 7cc412c087

View File

@ -139,6 +139,7 @@ SYSSTAT_InitSNMP($)
} elsif ( !defined($session) ) {
Log3 $name, 2, "$name: can't connect to host $host";
} else {
$session->timeout(3);
$hash->{session} = $session;
}
}