> -----Original Message----- > From: Eric Brander [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 11, 2004 8:53 AM > To: [EMAIL PROTECTED] > Subject: [mrtg] GetLog.PL reading lines with a comma > > > I've been using Windows Performance Monitor and Getlog.pl for > quite some time now to monitor our windows servers. Well, > I've finally found a snag. We need to monitor a new instance > of something in performance monitor which, unfortunately, has > a comma (,) in the description field of all things. (Damn you > Antigen!) > > Is there a way I can escape the comma on the command line of > getlog so that it ignores it as a CSV field separator?
Eric, I am not a programmer by any stretch of the imagination, but if you cannot escape the comma the usual way (with a '\'), I wonder if there is a way to embed an ascii or escape code or some such for the comma...something like \0x2c just a thought... Another consideration would be to modify getlog.pl to use a different separator, such as semicolon or colon, etc.... Good Luck!! Tm -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
