snmp traffic errors

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

Moderators: Developers, Moderators

Post Reply
adam1942
Posts: 4
Joined: Tue Oct 23, 2007 11:06 am

snmp traffic errors

Post by adam1942 »

ok folks

im running snmp v3 with username and password.

I added in the interface stats but when I went to create a graph i got the message
Data Query [SNMP - Interface Statistics]

This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.

I went to my trusty shell and typed

boxen# snmpwalk -v 3 -u adam -l authNoPriv -a MD5 -A mypassword -c public 127.0.0.1 .1.3.6.1.2.1.2.2.1.10
IF-MIB::ifInOctets = No more variables left in this MIB View (It is past the end of the MIB tree)
boxen# snmpwalk -v 3 -u adam -l authNoPriv -a MD5 -A mypassword -c public 127.0.0.1 .1.3.6.1.2.1.2.2.1.1
IF-MIB::ifIndex = No more variables left in this MIB View (It is past the end of the MIB tree)

and as you can see there is in fact no data being spat out!

im running freebsd 8.0 has anyone had any joys doing this?

TIA!

adam.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Your remote agent is not configured such that you can see the values in that OID tree. You need to open up the permissions a bit. Typically, the Net-SNMP snmpd.conf file has examples. However, you need to read carefully.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
adam1942
Posts: 4
Joined: Tue Oct 23, 2007 11:06 am

Post by adam1942 »

hey dude just actually worked out the issue.

the place I was running SNMP was a jail... I've set it up on a main host and its working a treat! thanks! :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests