32_SYSSTAT.pm: set snmp session timeout to two seconds (instead of the default 5 seconds)
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user