also sprach drummond-m:
> Hi all. A while back I mentioned modifying the qmailmrtg stuff to work
> with multilog formatted files and some of you have asked me about them.
> They are almost complete .. the mods seem pretty easy really, though I
> am not much of a programmer. I think I have it working. The queue script
> did not require any changing of course ... and the concurrency script
> was easy to fix up. Just a change in the regexp that matches log files.
> I am having some trouble with the message bandwidth script though ... it
> seems to work when I run it by hand but not when run from cron.
I've attached the diff to alter the message file. This should make it work
with multilog files. Works for me anyway... :)
Diffs are easy: assuming you're in your working source dir, the original
qmail-mrtg stuff is in a dir called qmail-mrtg.orig/ and your new stuff is
in qmail-mrtg/, just do:
diff -ru qmail-mrtg.orig/ qmail-mrtg/ > patchfile
There are other options, but I've found this to be the easiest.
/pg
--
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
I can picture in my mind a world without war, a world without hate. And I can
picture us attacking that world, because they'd never expect it.
(Jack Handey)