[rrd-users] [OT] - Get versus Getnext

Simon Mullis Simon.Mullis at equinoxsolutions.com
Thu Feb 20 17:52:11 MET 2003


Afternoon, all...

Apologies for the slightly off-topic post...

Using MRTG I would like to query the MSSQL mssqlSrvInfoUserConnections OID
(.1.3.6.1.4.1.311.1.4.1.1.2.1.16)

Doing a walk / getnext on the above OID using (insert your favourite MIB
browser here) I get a reponse along with a system specific OID:

[user at host]$ snmpgetnext -v2c <hostname> <community>
.1.3.6.1.4.1.311.1.4.1.1.2.1.16
enterprises.311.1.4.1.1.2.1.17.8.72.69.65.84.95.83.81.76 = Gauge32: 43

Using the OID in the reponse, I assume that I should be able to perform a
simple snmp get on it to get the data I require.

BUT:

[user at host]$ snmpget -v2c <hostname> <community>
.1.3.6.1.4.1.311.1.4.1.1.2.1.16.8.72.69.65.84.95.83.81.76
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: enterprises.311.1.4.1.1.2.1.16.8.72.69.65.84.95.83.81.76


Two questions: 

1. Does anyone have any idea as to why this is the case?

2. Can I make MRTG do a getnext instead of a get? (I think I know that this
is a no).

I have tried both SNMPv1 and v2c.
I have tried appending .0 .1 .2 etc to the end of the OID.

Please help!!

Many thanks in advance for any insight anyone may give me.

Kind Regards,

SM



------------------------------------------------------------------------------------------
Equinox Converged Solutions Limited.
Tel: +44 (0)1252 405 600
http://www.equinoxsolutions.com

IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information.  If you have received this message in error, please notify the originator immediately.
If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message.  All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Equinox Converged Solutions Limited.
Equinox Converged Solutions Limited accepts no responsibility  for loss or damage arising from its use, including damage from virus.
------------------------------------------------------------------------------------------

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list