Re: snmpget: Remove quotes in output string

Pushpa Thimmaiah <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAASqVJX0A+MgV4h5Z3d2bTXGarF2XD0+P8rigmQ8xnL0xL_4JQ@mail.gmail.com>
Hi Wes Hardaker,

I have noticed  following

1 ) Few mib-object with string type has no double-quotes
IF-MIB::ifName.5 = STRING: eth2
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2020-9-19,14:33:8.0,+5:30

2) snmpcmd/snmpget has no options to hide/escape quotes  in output value.

Thank you,
Pushpa.T

On Sat, Sep 19, 2020 at 3:59 AM Wes Hardaker <[email protected]>
wrote:

> Pushpa Thimmaiah <[email protected]> writes:
>
> > Hi All,
> >
> > I can understand response to snmpget/snmpwalk display string datatype  in
> > double-quotes as in following example.  Kindly let me know If there any
> way to
> > remove or hide quotes from display.
>
> I know you anwsered yourself, but you might also read the OUTPUT OPTIONS
> section of the snmpcmd manual page.
> --
> Wes Hardaker
> Please mail all replies to [email protected]
>

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.