On Nov 15, 2007 10:47 AM, Nelson Serafica <[EMAIL PROTECTED]> wrote: > > > I used mrtg to monitor my catalysts's traffic. Do you know any applications > that instead of graph, it will dump > the traffic's value to a certain file? I need to monitor the server's > traffic but in a way like this: > > 8:00 - 100 Kbps > 8:05 - 103 Kbps > 8:10 - 200 Kbps > 8:15 - 120 Kbps > etc., > > Is there an application that can dump those traffic to a text file or > atleast I can view it in a number value so that I can > paste it to a notepad? mrtg don't restore any copy of result of its traffic. > I need to to generate traffic of the server every month. > > Anyone can suggets?
The answer is already in the MRTG logfile. See how the MRTG logfile formatted at their website (http://oss.oetiker.ch/mrtg/doc/mrtg-logfile.en.html) The first line at 2nd and 3rd column is your answer. At cron job after the next line calling every 5 minute the mrtg program, write your own script to parse those 2nd and 3rd column. fooler. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

