Re: snmpget: Remove quotes in output string

2020-10-01 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > Why output of few mib-object of data-type string are enclosed in quote and few > are not > Eg: > IF-MIB::ifName.5 = STRING: eth2    <- No quotes > RFC1213-MIB::sysName.0 = STRING: "pushpat-ThinkPad-L480"  <- Quotes > > Wireshark shows that quot

Re: snmpget: Remove quotes in output string

2020-09-19 Thread Pushpa Thimmaiah
Hi All, Why output of few mib-object of data-type string are enclosed in quote and few are not Eg: IF-MIB::ifName.5 = STRING: eth2<- No quotes RFC1213-MIB::sysName.0 = STRING: "pushpat-ThinkPad-L480" <- Quotes Wireshark shows that quotes are added at snmp-agent side i

Re: snmpget: Remove quotes in output string

2020-09-19 Thread Pushpa Thimmaiah
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 opti

Re: snmpget: Remove quotes in output string

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah 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 OUTPU

RE: snmpget: Remove quotes in output string

2020-09-16 Thread Drovalev R.N.
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

snmpget: Remove quotes in output string

2020-09-15 Thread Pushpa Thimmaiah
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: