[CentOS] can't get Ethernet SNMP information

Wed Aug 13 13:28:01 UTC 2008
Rudi Ahlers <rudiahlers at gmail.com>

On Wed, Aug 13, 2008 at 3:20 PM, nate <centos at linuxpowered.net> wrote:

> Rudi Ahlers wrote:
>
> > Well, that's the thing, in Cacti there' an option, "SMP Interface
> > Statistics" - which you need to enable first, and then select the
> different
> > interfaces. It's supposed to list eth0 - xenbr0, and everything in
> between,
> > but it doesn't.
>
>
> Run a snmpwalk against your system's full tree and count the lines
> just to verify that it's wide open
>
> snmpwalk -v1 -c public localhost .1 | wc -l
>
> One of my systems returns over 4500 lines, if yours is returning
> a small amount(few dozen) then security is too tight for the
> community string your using and you need to adjust snmpd.conf
>
> See this as an example:
> http://portal.aphroland.org/~aphro/snmp/snmpd.conf<http://portal.aphroland.org/%7Eaphro/snmp/snmpd.conf>
>
> nate
>
> _______________________________________________
>

Mine returns 6861 entries:


snmpwalk -v1 -c public localhost .1 | wc -l

6861
[root at saturn snmp]#
[root at saturn snmp]# more snmpd.conf
rocommunity public 127.0.0.1

includeAllDisks




-- 

Kind Regards
Rudi Ahlers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080813/43962045/attachment-0005.html>