pb between snmpwalk and snmpget

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

Moderators: Developers, Moderators

Post Reply
HG
Posts: 6
Joined: Fri Sep 16, 2005 3:52 am

pb between snmpwalk and snmpget

Post by HG »

Hi,

I can't graph some data using snmp request and in fact here is my problem :
When I use smnpwalk it's working but not with snmpget :

# snmpwalk -c public -v 2c goliath MSSQLSERVER-MIB::mssqlSrvInfoUserConnections
MSSQLSERVER-MIB::mssqlSrvInfoUserConnections."GOLIATH" = Gauge32: 20

# snmpget -c public -v 2c goliath MSSQLSERVER-MIB::mssqlSrvInfoUserConnections
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: MSSQLSERVER-MIB::mssqlSrvInfoUserConnections


Thanks for help
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please attempt this using the numeric OID. You may be having a MIB parsing issue.

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?
HG
Posts: 6
Joined: Fri Sep 16, 2005 3:52 am

Post by HG »

I have the same problem :cry:
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Again,

Please attempt to poll using the numeric OID.

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?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: pb between snmpwalk and snmpget

Post by gandalf »

HG wrote:# snmpwalk -c public -v 2c -On goliath MSSQLSERVER-MIB::mssqlSrvInfoUserConnections
MSSQLSERVER-MIB::mssqlSrvInfoUserConnections."GOLIATH" = Gauge32: 20
Try the red extension to see what OID is parsed.
Reinhard
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

more like: snmpwalk -c <your_community> -v <your_version> <hostname> .1.3.6.1.2.9....
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?
HG
Posts: 6
Joined: Fri Sep 16, 2005 3:52 am

Post by HG »

thanks for your help, but I change of method.

Cacti is very flexible : nice product

HG
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests