SOLVED:Error getting SNMP - Interface Statistics - Debian W.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Lightpro
Posts: 3
Joined: Wed Sep 14, 2005 7:07 am

SOLVED:Error getting SNMP - Interface Statistics - Debian W.

Post by Lightpro »

Hi everone!

I've got a problem getting the traffic stats to work.
My SNMP Server ist running, when I'm running

snmpget -v 3 -u USERNAME -n "" -l authNoPriv -a MD5 -A PASS localhost sysUpTime.0

the result is ok.

In Cacti - Devices the snmp settings are ok, I've get no error messages.

When I'm running Verbose Query the result is:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/home/lightpro1-lightpro-de/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/home/lightpro1-lightpro-de/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/home/lightpro1-lightpro-de/cacti-0.8.6g/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/home/lightpro1-lightpro-de/cacti-0.8.6g/resource/snmp_queries/interface.xml'

When I try the command

snmpget -v 3 -u USER -n "" -l authNoPriv -a MD5 -A PASS localhost .1.3.6.1.2.1.2.2.1.1

I get the following error:

interfaces.ifTable.ifEntry.ifIndex = No Such Instance currently exists

Anyone can help?

Thanks a lot!

Kind Regards, Ingo

PS: I don't know if it's important but I have two network interfaces configured (eth0 / eth1) :lol: :lol:
Last edited by Lightpro on Wed Sep 14, 2005 1:44 pm, edited 1 time in total.
Lightpro
Posts: 3
Joined: Wed Sep 14, 2005 7:07 am

Post by Lightpro »

Hi!

so, I now tried

snmpget -v 3 -u USER -n "" -l authNoPriv -a MD5 -A PASS localhost .1.3.6.1.2.1.2.2.1.1.1

and this gives me the result
... = 1

so how do I tell cacti to take this line?

Kind regards, Ingo
Lightpro
Posts: 3
Joined: Wed Sep 14, 2005 7:07 am

Post by Lightpro »

Ok, no I found the problem, hope that helps anyone reading this :)

My box runs with debian woody, so I think there are probs with the snmpwalk call from cacti.

The snmpwalk don't understand the command -O QfntUe
When I change this to -O fnte in the file snmp.php it runs :)

Kind regards, Ingo
jerry_w4y
Posts: 1
Joined: Thu Oct 13, 2005 8:45 am

Post by jerry_w4y »

Lightpro wrote:Ok, no I found the problem, hope that helps anyone reading this :)

My box runs with debian woody, so I think there are probs with the snmpwalk call from cacti.

The snmpwalk don't understand the command -O QfntUe
When I change this to -O fnte in the file snmp.php it runs :)

Kind regards, Ingo
For some reason I'm running a redhat 8.0 box, and got the same problem. Thx a lot for your solution Ingo!!

regards,
Jerry
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest