From: Ken C. <kco...@ry...> - 2015-07-10 04:26:41
|
As a band-aid solution, you could write an external script to do the task and have it run from the built in task scheduler or just cron it and update your display....then troubleshoot via devmon when you can. On Jul 9, 2015 11:59 PM, "Claessens Jurgen" <Jur...@ce...> wrote: > Hi, > > I'm afraid that doesn't work, I already tried that at first. But seeing > the result received thru devmon is nothing readable, I cannot perform any > sort of transform. > As said, when I query the device manually, I do get a normal response, but > there is something in the devmon translation, which is messing things up. > I just have no clue on how to debug this so I can pinpoint the culprit. > > Met vriendelijke groeten/Meilleures salutations/Best regards > > Jurgen Claessens > -----Original Message----- > From: MF...@hr... [mailto:MF...@hr...] > Sent: donderdag 9 juli 2015 16:52 > Cc: Devmon - Email List > Subject: Re: [Devmon] OID not translating > > I would recommend using the 'REGSUB' transform to strip out the info you > need, then use DATE and/or ELAPSED to determine time. > > > > From: > Ken Connell <kco...@ry...> > To: > Devmon - Email List <dev...@li...>, > Date: > 07/09/2015 07:43 AM > Subject: > Re: [Devmon] OID not translating > > > > Sorry....over my head....hopefully someone else can chime in. > On Jul 9, 2015 8:46 AM, "Claessens Jurgen" <Jur...@ce...> > wrote: > > > Hi Ken, > > > > Currently I'm not even at that point as I get garbage back when run from > > devmon. > > I only have it in my OID file and message file. > > As far as I can tell devmon uses encode/decode from BER.pm to make the > > communication secure?? > > When I do some debugging on the end parameters I can see all other OID's > > are decoded, but that 1 OID remains encoded. > > So something is amiss there. I just don't know what. I don't know enough > > of the language or logic behind it. > > > > Met vriendelijke groeten/Meilleures salutations/Best regards > > > > Jurgen Claessens > > -----Original Message----- > > From: Ken Connell [mailto:kco...@ry...] > > Sent: donderdag 9 juli 2015 14:34 > > To: Devmon - Email List > > Subject: Re: [Devmon] OID not translating > > > > 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 > > > > > > > > > ------------------------------------------------------------------------------ > > 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 > > > > 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 > > > > ------------------------------------------------------------------------------ > 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 > > > ------------------------------------------------------------------------------ > 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 > > 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 > |