[mrtg] Re: GetLog.PL reading lines with a comma
Tim Sheets
TSheets at illinois.net
Thu Mar 11 21:01:53 MET 2004
> -----Original Message-----
> From: Eric Brander [mailto:Eric_Mailing_List at rednarb.com]
> Sent: Thursday, March 11, 2004 8:53 AM
> To: mrtg at list.ee.ethz.ch
> 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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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
More information about the mrtg
mailing list