[mrtg] Help with with regex in perl script for 2WIRE router

Mick michaelkintzios at gmail.com
Mon Mar 2 15:54:16 CET 2009


Hi All,

I want to parse four values out of a html page so that I can feed them
to mrtg.  Unfortunately my regex-fu is very poor, well non-existent
actually.  Could you please have a look at the values under the column
header "Current 15-Minute Interval" for the following:

Cumulative Seconds w/Errors:
Cumulative Sec. w/Severe Errors:

and

Corrected Blocks:
Uncorrectable Blocks:

The page source code can be seen here:  http://pastebin.com/d64db2b1b

Grateful for any pointers.
-- 
Regards,
Mick



More information about the mrtg mailing list