Re: [CentOS] can't get Ethernet SNMP information

2008-08-16 Thread Rudi Ahlers
On 8/13/08, Marc Grimme <[EMAIL PROTECTED]> wrote: > > Hi, > I didn't follow the whole thread but had the same problem when using > net-snmp > with bridges (an I see peth0 and that rang the bell). The problem seems to > be > that net-snmp does not like nics with same ips (I didn't find very much on

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Marc Grimme wrote: > Hi, > I didn't follow the whole thread but had the same problem when using > net-snmp > with bridges (an I see peth0 and that rang the bell). The problem seems to > be > that net-snmp does not like nics with same ips (I didn't find very much on > that topic). You should see som

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Marc Grimme
Hi, I didn't follow the whole thread but had the same problem when using net-snmp with bridges (an I see peth0 and that rang the bell). The problem seems to be that net-snmp does not like nics with same ips (I didn't find very much on that topic). You should see some errors from net-snmp in the

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Rudi Ahlers wrote: > Here's my verbose output: [..] > + Found item [ifName='lo'] index: 1 [from value] > + Found item [ifName='peth0'] index: 2 [from value] > + Found item [ifName='sit0'] index: 3 [from value] It certainly looks like cacti is finding a bunch of stuff, what does the status column

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 5:59 PM, nate <[EMAIL PROTECTED]> wrote: > Rudi Ahlers wrote: > > > Yes, I have clicked on the green circle a few times, and I have even > removed > > the "Interface Statistics" altogether, and added it again > > Very strange, can you include the output of the verbose query

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Rudi Ahlers wrote: > Yes, I have clicked on the green circle a few times, and I have even removed > the "Interface Statistics" altogether, and added it again Very strange, can you include the output of the verbose query? What version of cacti? This is what I get, though I don't use this method t

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 3:36 PM, nate <[EMAIL PROTECTED]> wrote: > Rudi Ahlers wrote: > > > Mine returns 6861 entries: > > > > > > snmpwalk -v1 -c public localhost .1 | wc -l > > > > 6861 > > And cacti still doesn't see the interfaces? Did you change > the snmpd.conf after adding the device into c

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
Rudi Ahlers wrote: > Mine returns 6861 entries: > > > snmpwalk -v1 -c public localhost .1 | wc -l > > 6861 And cacti still doesn't see the interfaces? Did you change the snmpd.conf after adding the device into cacti? Cacti doesn't automatically pick up new devices, you have to tell it to re-issue

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 3:20 PM, nate <[EMAIL PROTECTED]> 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 e

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread nate
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'

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Wed, Aug 13, 2008 at 2:26 PM, Filipe Brandenburger <[EMAIL PROTECTED]>wrote: > On Wed, Aug 13, 2008 at 04:00, Rudi Ahlers <[EMAIL PROTECTED]> wrote: > > Unfortunately this didn't work. Although I could see a whole lot of MIB's > > now, Cacti still doesn't graph the network interface > > I'm not

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Filipe Brandenburger
On Wed, Aug 13, 2008 at 04:00, Rudi Ahlers <[EMAIL PROTECTED]> wrote: > Unfortunately this didn't work. Although I could see a whole lot of MIB's > now, Cacti still doesn't graph the network interface I'm not an expert on Cacti, but... are you sure you configured the proper interface name on it? A

Re: [CentOS] can't get Ethernet SNMP information

2008-08-13 Thread Rudi Ahlers
On Sun, Aug 10, 2008 at 6:50 PM, Filipe Brandenburger <[EMAIL PROTECTED]>wrote: > 2008/8/9 Rudi Ahlers <[EMAIL PROTECTED]>: > > It could be, but I don't know snmp at all. What do I need to change, if > you > > don't mind telling me? > > You can try creating a /etc/snmp/snmpd.conf file with only th

Re: [CentOS] can't get Ethernet SNMP information

2008-08-10 Thread Filipe Brandenburger
2008/8/9 Rudi Ahlers <[EMAIL PROTECTED]>: > It could be, but I don't know snmp at all. What do I need to change, if you > don't mind telling me? You can try creating a /etc/snmp/snmpd.conf file with only this line in it: rocommunity public 192.168.1.0/24 If you want, change "public" to a (secret

Re: [CentOS] can't get Ethernet SNMP information

2008-08-09 Thread Kai Schaetzl
Rudi Ahlers wrote on Sat, 9 Aug 2008 09:18:45 +0200: > It could be, but I don't know snmp at all. What do I need to change, if you > don't mind telling me? net-snmp? I didn't have much knowledge about SNMP until yesterday either where I started to play with getting readings from sensors via SNMP

Re: [CentOS] can't get Ethernet SNMP information

2008-08-09 Thread Rudi Ahlers
On Fri, Aug 8, 2008 at 10:19 PM, nate <[EMAIL PROTECTED]> wrote: > Rudi Ahlers wrote: > > > snmpwalk -Of -v2c -c public localhost interfaces > > .iso.org.dod.internet.mgmt.mib-2.interfaces = No Such Object available on > > this agent at this OID > > > > > > So the question now is, what should the

Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread nate
Rudi Ahlers wrote: > snmpwalk -Of -v2c -c public localhost interfaces > .iso.org.dod.internet.mgmt.mib-2.interfaces = No Such Object available on > this agent at this OID > > > So the question now is, what should the OID's be for CentOS 5.2 to get the > network car's SNMP info? And where exactly d

Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread Rudi Ahlers
On Fri, Aug 8, 2008 at 9:05 PM, nate <[EMAIL PROTECTED]> wrote: > 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

Re: [CentOS] can't get Ethernet SNMP information

2008-08-08 Thread nate
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

[CentOS] can't get Ethernet SNMP information

2008-08-08 Thread Rudi Ahlers
Hi all, I hope someone can help me with this one. I'm trying to graph all traffic on the localhost's network card with Cacti. >From what I understand I should use SNMP to query the traffic, but I can't seem to get SNMP info for the network interface. I have installed all the necessary snmp tools