Re: [PATCH] Fix stderrlog in agent using Perl subagents

2011-02-08 Thread Wes Hardaker
> On Mon, 31 Jan 2011 16:50:10 +0100, Martin Buck > said: MB> finally, here are two proposed patches which remove mandatory logging to MB> stderr in snmpd if it is using subagents implemented in Perl. I ended up applying the first (the one that removes the call from the perl module itse

Re: [PATCH] AGENT: fix no interface statistics available

2011-02-08 Thread Wes Hardaker
> On Tue, 08 Feb 2011 17:56:51 +0300, Konstantin Baydarov > said: KB> The "No statistics available" check fails because sizeof returns KB> "strlen() + 1" symbol. I'm not sure about recent kernels but in the KB> Linux 2.6.19 there is a dot at the end of line: "No statistics KB> available.

[PATCH] AGENT: fix no interface statistics available

2011-02-08 Thread Konstantin Baydarov
Hi, all. The "No statistics available" check fails because sizeof returns "strlen() + 1" symbol. I'm not sure about recent kernels but in the Linux 2.6.19 there is a dot at the end of line: "No statistics available." BR, Konstantin Baydarov. agent/mibgroup/if-mib/data_access