Re: can't get Ethernet SNMP information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Rudi Ahlers wrote:

> running snmpwalk, I get the following:
>

Likely you need to open up your snmpd.conf, take a look at this one
as an example:
http://portal.aphroland.org/~aphro/snmp/snmpd.conf

For CentOS 4.x at least the OIDs are:

eth0 in: .1.3.6.1.2.1.2.2.1.10.2
eth0 out: .1.3.6.1.2.1.2.2.1.16.2
eth1 in: .1.3.6.1.2.1.2.2.1.10.3
eth1 out: .1.3.6.1.2.1.2.2.1.16.3

[cacti@dc1-mon002:~/bin]$ snmpget -v1 -c public localhost
.1.3.6.1.2.1.2.2.1.10.2
IF-MIB::ifInOctets.2 = Counter32: 1203591015
[cacti@dc1-mon002:~/bin]$ snmpget -v1 -c public localhost
.1.3.6.1.2.1.2.2.1.16.2
IF-MIB::ifOutOctets.2 = Counter32: 4079516345

For cacti I use all my own custom scripts to gather data, I
don't use the built in stuff. I've gotten my custom install
to scale to 10.6 million data points updated per day, and
I'm only running at 16% cpu usage. Love that efficiency, though
unfortunately I can't virtualize it as it's too page fault
heavy(just nailed that down this morning).

nate

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux