Re: snmpget and BITS type
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
And second line would be empty if the value is equals 00 On 2/6/06, [email protected] <[email protected]> wrote: > > Hi, > I am querying a MIB which is of type BITS. > > pktcDevEvTransmissionStatus OBJECT-TYPE > SYNTAX BITS { > syslogThrottled(0), > snmpThrottled(1), > validSyslogServerAbsent(2), > validSnmpManagerAbsent(3), > syslogTransmitError(4), > snmpTransmitError(5) > } > ... > ... > > > The snmpget command returns me output in hex format, and followed by a > line explaining of bits that are set ... like .. > > pktcDevEvTransmissionStatus.0 = BITS: C0 > syslogThrottled(0) snmpThrottled(1) > > > I would like to avoid line 'syslogThrottled(0) snmpThrottled(1)', can > anyone please tell me is there way I can disable this? > I tried -Oe -Ot -OU , these options only removes string values i still get > output like ... > pktcDevEvTransmissionStatus.0 = BITS: C0 > 0 1 > > thanks > chinmaya >