MRTG-TRAFFIC-SUM(1) mrtg MRTG-TRAFFIC-SUM(1) NNAAMMEE mrtg-traffic-sum - Builds monthly traffic summary from mrtg log files SSYYNNOOPPSSIISS mmrrttgg--ttrraaffffiicc--ssuumm [_o_p_t_i_o_n_s...] ccoonnffiigg--ffiillee --man show man-page and exit -h, --help display this help and exit --version output version information and exit --catch=regexp filter out things that match this in PageTop --email=address email the result --min=gigabytes minimal number of gigabites required for report --range= Specify "current" for month-to-date, "previous" for last complete month --units=[GB|MB] Display results in gigabytes (default is MB) DDEESSCCRRIIPPTTIIOONN The mrtg-traffic-sum goes through the mrtg logs for the targets in the the config file specified and builds the traffic total for the last month in Giga Bytes. (Note in communications Giga is 10^9). The result of this analysis can be sent via email to an address of your choice using the ----eemmaaiill option. With the ----ccaattcchh option you can specify a regular expression which will be matched against the contents of the PageTop settings. The regular expression should return a value into $1 and possibly into $2. This will then be used as description for the appropriate traffic sum. By default the catch is set to: (?:description|port name):\s*\s*([^< ]*?[^<]*?)\s*, Keith Dunnett HHIISSTTOORRYY 2002-07-13 to Initial Version 2009-12-38 kd New features 2.17.10 2021-10-08 MRTG-TRAFFIC-SUM(1)