Announce: mailscanner-mrtg new version 0.02

Randy Herban RHerban at GRAMTEL.NET
Mon Dec 9 15:41:11 GMT 2002


I've got a setup using gauge and without usinge gauge.
Both work as they should.
Gauge works by taking the value and plotting it as is, ie if you are
counting number of processes, use gauge and it will show you the total
number of procs at this time.
Without using gauge is useful for using something that continually counts
up, ie ethernet traffic (rx/tx bytes) or number of mails received and
processed.  It takes the current total (ie, 110 emails) and gets the
difference since the last time it ran (100 mails) and marks it down as 10
mails.

In shorter words, if counting emails from the logs for the total day, don't
use gauge as it will mess up your graphs.
If you are still getting incorrect results Dale, you might want to remove
the mrtg files that have been created so far for that item and let them get
recreated.  Mrtg is picky like that sometimes.

-Randy

-----Original Message-----
From: Dale Lovelace [mailto:dlovelace at HOTELS.COM]
Sent: Monday, December 09, 2002 8:24 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Announce: mailscanner-mrtg new version 0.02


  I'm looking into how to do that right now. I tried yesterday to let MRTG
figure the difference between readings by not using the "gauge" option, but
it didn't seem to work. Does anyone have any experience using MRTG without
the "gauge" option?

  Thanks!
  Dale

-----Original Message-----
From: Remco Barendse [mailto:mailscanner at BARENDSE.TO]
Sent: Monday, December 09, 2002 4:25 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Announce: mailscanner-mrtg new version 0.02


It's a really great package, works right out of the box :) :)

By looking at the comments in the config file it looks like the maillog is
being scanned for e-mails from that day. Would it be possible to add an
hourly stat, a bit traffic like from which you can see how much mail gets
delivered at which time (a graph that doesn't display a sum of all e-mails
only the actual number of mails processed per time frame).

Would also make it easier to spot any peak hours and see whether the server
is up to it's task :)

On Sun, 8 Dec 2002, Dale Lovelace wrote:

>   Thanks to everyone who sent in a suggestion or a fix. I have put
> together a lot of those suggestions and (I think) all of the fixes
> people have sent me. Here is the changelog for version 0.02:
>
> 0.02    Add this changelog :-)
>         Add GPL text to the top of /usr/sbin/mailscanner-mrtg
>         Add descriptions to files in incoming and outgoing queue MRTG
> pages
>         Change Virii legend from "percentage" to "virii"
>         More comments in /usr/sbin/mailscanner-mrtg
>         Changed the way I match rejects from sendmail
>                 was /reject=550/ now /reject=55\d/
>                 thanks to Mike Kercher for this tip!
>         Changed the virus regex to /found (/d+) viruses/ from
>                 /found (/d+) viruses in/
>                 thanks to Richard Lynch for this tip!
>         Added some more to the README doc
>         Added a <TITLE> to the MRTG index page
>         Added config file options to allow you to scan your entire
>                 maillog file instead of just entries from today
>                 Scan Entire Mail Log, Scan Entire Spam Log,
>                 and Scan Entire Virus Log
>         Changed the GetUpTime sub to work when uptime < 1 day
>                 Thanks to Kris Stumpner for this tip!
>         Changed the mailscanner-mrtg-cfg MRTG config file
>                 s/Interval: 300/Interval: 5/
>                 Thanks to Kris Stumpner for this tip!
>         Add mailscanner-mrtg.include to the end of Apache's httpd.conf
>                 so Virtual Websites can see these results
>                 Thanks to Mike Kercher for this tip!
>         Add INSTALL-TARGZ file in docs for installing from a tarball
>
> 0.01  First release i.e. EVERYTHING is new :-)
>
>   Once again this is located at http://mailscanner-mrtg.netfirms.com/
>
>   Thanks again to everyone who is helping me improve this. Suggestions
> (and especially patches :-) are always very very welcome!
>
>   Thanks!
>   Dale Lovelace
>
>


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list