From: Ken C. <kco...@ry...> - 2015-07-09 12:34:18
|
When you say "translate the string", you mean you have it set in the transforms file ? As far as I know you can "transform" INTGERS only....I don't think you can do it for a STRING. On Jul 9, 2015 7:13 AM, "Claessens Jurgen" <Jur...@ce...> wrote: > Hello all, > > I seem to have a problem with 1 OID that is not getting translated > correctly. > When I run the snmp query manual I do get normal text > snmpwalk -v2c -c public 172.29.22.26 .1.3.6.1.2.1.25.1.2.0 > HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2015-7-9,11:31:3.0,+2:0 > However, when I try to display this directly in the message I get nothing > but garbage. > I think it's not getting decoded back ok. > Has anyone seen this with this OID? The OID is available on all systems. > > I wanted to use this oid to translate it back to epoch time by creating an > extra function and such it would be possible to calculate timedifferences > on the system. > > Met vriendelijke groeten/Meilleures salutations/Best regards > > Jurgen Claessens > > > > This e-mail and all files transmitted as attachment(s) thereto are > confidential and solely intended for the individual to whom or the > organization to which they are addressed. If you received this e-mail by > mistake, please notify Cegeka's Service Desk at ceg...@ce... > or call +32 (0)11 240 363. We thank you in advance. Cegeka hereby > confirms that this message has been swept by Sophos for the presence of > viruses. > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > |