[mrtg] RRDTool and scripts

Kerry Kincaid. kincaid at meer.net
Fri Aug 24 14:05:52 MEST 2001


I wrote a script to go through my Exchange Server Tracking Logs and
calculate the number of SMTP Message bytes, number of SMTP Messages, and
Number of Messages sent through all Gateways.  Everything worked fine and
MRTG/RRDTool stored the number correctly and displayed them correctly, until
Exchange deleted some of the old tracking log files.

Since there was about 24 days less data to view that the numbers were much
smaller than usual.  However, this translated into a spike on the graphs of
monster proportions.  I gathered from some of the archived messages that the
Software assumed that the number increased to maxbytes then rolled over to
zero and continued to go up and calculated the value accordingly.   That was
the wrong thing to do and I'd like to know how I can have it still record
the data as a counter, but not choke when a log file is deleted.

Any suggestions would be helpful.

Kerry


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