[2014/04/06 13:59:39] #net-snmp <xxyyxx> Hi,i am trying to debug the following issue
[2014/04/06 14:00:09] #net-snmp <xxyyxx> when executing snmp query using snmpwalk i get "Unknown user name" error
[2014/04/06 14:00:58] #net-snmp <xxyyxx> so i tried to find out why by attaching gdb to snmpd and placing breakpoints in all places in snmp_api.c where SNMPERR_UNKNOWN_USER_NAME is used
[2014/04/06 14:01:58] #net-snmp <xxyyxx> however its seems that gdb never break at snmp_api.c, there are other places that the SNMPERR_UNKNOWN_USER_NAME error could return from other than snmp_api.c ?
[2014/04/06 22:39:32] #net-snmp <flaf> Hi,
[2014/04/06 22:40:14] #net-snmp <flaf> Is there an option in snmget to remove the quotes?
[2014/04/06 22:40:23] #net-snmp <flaf> I have this:
[2014/04/06 22:41:06] #net-snmp <flaf> snmpget $SNMP_AUTH_CMD -OvQ srv-1 'NET-SNMP-EXTEND-MIB::nsExtendOutputFull."get_zpool_status"'
[2014/04/06 22:41:16] #net-snmp <flaf> "rpool=ONLINE
[2014/04/06 22:41:18] #net-snmp <flaf> zstore=ONLINE"
[2014/04/06 22:41:20] #net-snmp <flaf>
[2014/04/06 22:41:51] #net-snmp <flaf> But I don't want to have the quotes.
[2014/04/06 22:56:09] #net-snmp <flaf> I just want the output of the script wich is triggered by the snmp request.
[2014/04/06 22:56:51] #net-snmp <flaf> (verbatim)
[2014/04/06 22:57:53] #net-snmp <flaf> snmpget -V
[2014/04/06 22:57:54] #net-snmp <flaf> NET-SNMP version: 5.4.3
[2014/04/06 23:15:52] #net-snmp <flaf> Does it depend on the version of net-snmp in server side?
[2014/04/06 23:17:26] #net-snmp <flaf> Before, with the -OvQ options, I hadn't double quotes.
[2014/04/06 23:25:23] #net-snmp <flaf> Notice: If I use the same command line but with snmpget version 5.2.7 I have no quote.
[2014/04/06 23:26:37] #net-snmp <flaf> But how remove quotes with snmpget version 5.4.3?