Re: What is the Format received in agent when BITS is given as input in manager side?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 17/07/06, [email protected] <[email protected]> wrote:
> when i give BITS field as input to the manager side,what is the format of
> BIT field that i receive in agent side?

It's a (binary-valued) octet string, with the set bits indicating which values
were chosen by the manager.

For example, given a MIB object defined using the syntax:

   BITS { sunday(0), monday(1),...,friday(5), saturday(6) }

then typical values might be   0x7c = 0111 110(0) for weekdays,
or 0x82 = 1000 001(0) for the weekend.

Dave


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.