🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.snmp
Article #210

Re: how to get variables

#210
From: Bernd Finkemeyer
Date: Sat, 12 Dec 1992 03:37
30 lines
1440 bytes
| This message was forwarded from a Compuserve user. Please send private
| responses to 72500.3562@compuserve.com.

>if you want a non-indexed variable, you will have to ask for
>
>x.y.z.0
>
>when you want x.y.z.
>
>Other questions will result in: no such name.
>
>if you want an indexed variable, you will have to ask for
>x.y.z.i
>when you want index i of x.y.z
>
>why is there this extra-zero in the question (by get-request) for
>a non-indexed variable?

In the case of scalar objects, there is no ambiguity between an object
type and an instance of that object; there is only one object instance
for each scalar object type. However, for consistency with the
convention for tabular objects, and to distinguish between an object
type and an object instance, SNMP dictates that the instance
identifier of a nontabular scalar object consists of its object identifier
concatenated with 0.

This convention is retained in SMP and SNMPv2.

Bill Stallings
Internet: 72500.3562@compuserve.com
Technical Details
Message-ID: <2933213647.0.p00122@psilink.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!udel!intercon!psinntp!wrldlnk!usenet

Show Full Headers
Complete Article Headers
Newsgroups: comp.protocols.snmp
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!udel!intercon!psinntp!wrldlnk!usenet
From: "Bernd Finkemeyer" <p00122@psilink.com>
Subject: Re: how to get variables
Message-ID: <2933213647.0.p00122@psilink.com>
Sender: usenet@worldlink.com
Nntp-Posting-Host: 127.0.0.1
Organization: Bear Software
Date: Sat, 12 Dec 1992 03:37:53 GMT
X-Mailer: PSILink-DOS (3.3)
Lines: 30