[AGENT++] Can't print variable value

Fredrik Wikefeldt Fredrik.Wikefeldt at hotswap.eu
Fri Feb 10 15:02:24 CET 2012


Hello,

I have a little problem with receiving values of type DateAndTime, defined in
SNMPv2-TC.  I've tried all sorts of ways of getting a printed value, including Vb::get_printable_value(), but nothing works.  The example snmpWalk in consoleExamples
doesn't work either.  The variable in question is  hrSystemDate in snmpd.

This is the variable written out from snmpwalk (in net-snmp):
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2012-2-10,15:11:59.0,+1:0



Best regards,

Fredrik Wikefeldt




More information about the AGENTPP mailing list