[mrtg] Modifying mailstat script

John Oliver joliver at john-oliver.net
Sun Dec 14 09:21:27 MET 2003


I'd like to alter the mailstat script to feed msgsto and msgsrej to
MRTG, and bytes_from vs. bytes_to  It looks like $newfrm, $newto,
$oldfrm, $oldto are the items in question, but I just can't tell how the
script looks at

Statistics from Fri Sep 19 18:34:42 2003
 M   msgsfr  bytes_from   msgsto    bytes_to  msgsrej msgsdis  Mailer
 3     3918      77156K        0          0K       17       0  local
 4     6964      88773K    40630    1355546K        0       0  smtp
 5    37922    1282715K     6876      58977K      716       0  esmtp
=============================================================
 T    48804    1448644K    47506    1414523K      733       0
 C   153432                51769                85942

and decides which number to work with.

-- 
John Oliver, CCNA                            http://www.john-oliver.net/
Linux/UNIX/network consulting         http://www.john-oliver.net/resume/
*    *    *    *    *    *    *     *    *    *    *    *    *    *    *  
Contribute to the SpamCon Legal Fund!! http://www.spamcon.org/legalfund/

--
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