[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090422105309.GB17947@hmsreliant.think-freely.org>
Date: Wed, 22 Apr 2009 06:53:09 -0400
From: Neil Horman <nhorman@...driver.com>
To: David Miller <davem@...emloft.net>
Cc: dada1@...mosbay.com, netdev@...r.kernel.org
Subject: Re: [PATCH] snmp: add missing counters for RFC 4293
On Wed, Apr 22, 2009 at 02:50:03AM -0700, David Miller wrote:
> From: Eric Dumazet <dada1@...mosbay.com>
> Date: Wed, 22 Apr 2009 11:35:45 +0200
>
> > So RFC4293 tells corresponding Octets variables should be supported :
> >
> > InOctets, InMcastOctets, OutMcastOctets, OutBcastOctets, OutOctets
> >
> > And I dont see them in /proc/net/snmp or /proc/net/netstat
> >
> > Mitsuru added :
> >
> > SNMP_MIB_ITEM("InNoRoutes", IPSTATS_MIB_INNOROUTES),
> > SNMP_MIB_ITEM("InTruncatedPkts", IPSTATS_MIB_INTRUNCATEDPKTS),
> > SNMP_MIB_ITEM("InMcastPkts", IPSTATS_MIB_INMCASTPKTS),
> > SNMP_MIB_ITEM("OutMcastPkts", IPSTATS_MIB_OUTMCASTPKTS),
> > SNMP_MIB_ITEM("InBcastPkts", IPSTATS_MIB_INBCASTPKTS),
> > SNMP_MIB_ITEM("OutBcastPkts", IPSTATS_MIB_OUTBCASTPKTS),
> >
> > And Neil adds : InOctets, OutOctets, InMcastOctets and OutMcastOctets
> >
> > Neil, you forgot OutBcastOctets :)
>
> Fair enough. Neil I wait for an updated patch :-)
>
Yep, you're right, thats the better spot for it, and I did miss the bcast
packets. I'm not sure why people keep asking me to update snmp counters. I'm
apparently very bad at it :). I'll repost soon
Neil
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists