RE: snmpget: Remove quotes in output string

"Drovalev R.N." <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Pashpa, thank you very mach! 

Сhanging the parameter to “1234” helped me!

It remains to figure out how to convert an address from an integer.

 

From: Pushpa Thimmaiah [mailto:[email protected]] 
Sent: Wednesday, September 16, 2020 6:39 AM
To: Net-SNMP Coders
Subject: snmpget: Remove quotes in output string

 

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.

 

Output of SNMPWALK:

---------------------------------------------------------------------------------------

RFC1213-MIB::sysContact.0 = STRING: "Me <[email protected]>"
RFC1213-MIB::sysName.0 = STRING: "pushpat-ThinkPad-L480"
RFC1213-MIB::sysLocation.0 = STRING: "Sitting on the Dock of the Bay"

 

 

 

Thank you,

Pushpa.T

_______________________________________________
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.