From: Johan S. <Joh...@de...> - 2012-04-04 20:01:04
|
The SUBSTR transform might be easier. It should work since there is probably always two digits in the temperature. -----Original Message----- From: Johan Sjöberg [mailto:Joh...@de...] Sent: den 4 april 2012 21:01 To: kco...@ry...; dev...@li... Subject: Re: [Devmon] Exceptions file syntax question/issue Hi. You should be able to use the REGSUB transform to extract the numeric value from the string. See the documentation for info on how to use this. This is not done in the exceptions file, but in the transforms file. /Johan -----Original Message----- From: kco...@ry... [mailto:kco...@ry...] Sent: den 4 april 2012 18:55 To: Devmon List Subject: [Devmon] Exceptions file syntax question/issue I have a device that gives back a string of: SYS_TEMP: +31.00 C It displays ok, but I can't trigger a yellow or red when putting "> 25" in the thresholds file. Is there a way to strip off "SYS_TEMP: +" or ignore it ? Ken Connell Intermediate Network Engineer Computer & Communication Services Ryerson University 350 Victoria St RM AB50 Toronto, Ont M5B 2K3 416-979-5000 x6709 ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |