From: Marganne, E. <ema...@be...> - 2007-03-16 09:13:41
|
OK I solved the problem I think it comes from the fact that you must have designed character to begin the string. Here is what makes the stuff crash: .*Ethernet.* Indeed we should do this: .+Ethernet.* Or even better: xxx+Ethernet I will not rerun the faulty line since it is damageable to my test environment sorry :-). I will however be happy to see what kind of regex we can exactly perform. Many thanks, Etienne. -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Schwimmer, Eric E *HS Sent: jeudi 15 mars 2007 21:43 To: dev...@li... Subject: Re: [Devmon] New templates and process errors Hi again Etienne, Yeah, I put some very basic regex evaluation code in devmon, but it would be pretty difficult to write something that would find all problems with user-supplied regular expressions. Could you run devmon in the foreground (ideally with --debug) and let me know where it dies? I'll put some more parent-checking code in the child code to make them shutdown if they find their parent is MIA. -Eric > -----Original Message----- > From: dev...@li... [mailto:devmon-support- > bo...@li...] On Behalf Of Marganne, Etienne > Sent: Thursday, March 15, 2007 4:18 AM > To: dev...@li... > Subject: [Devmon] New templates and process errors > > Hello, > > > > I am actually developing new templates for Nokia VPN boxes, Checkpoint > firewalls and Netilla boxes. When they will be finished I will send them > to the mailing list. > > > > I also experienced some strange things yesterday trying to get things > fixed with regex. Indeed my regex expression was not well formed and it > leads the Devmon to crash. But what surprised me a bit is that there were > no proper clean-up. I had this morning a child which as a 100% cpu > consumption. I am still using the previous version of Devmon, 0-.2.2. > > Can you please fix that? Indeed it, also, appears that regex could crash > when you do not successfully retrieve data from a host. > > Here is what I get: > > Data type mismatch for memTempPer on test.server.com: 'No data' does not > match regex '^[-+]?\d+(\.\d+)?$' > > > > Many thanks. > > > > Etienne Marganne > > TI Automotive. > > The information contained in this transmission may contain privileged and > confidential information. It is intended only for the use of the person(s) > named above. If you are not the intended recipient, you are hereby > notified that any review, dissemination, distribution or duplication of > this communication is strictly prohibited. If you are not the intended > recipient, please contact the sender by reply email and destroy all copies > of the original message. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. |