<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Spam Filter ISP Forums : logparse rrdtool</title>
  <link>https://www.logsat.com/spamfilter/forums/</link>
  <description><![CDATA[This is an XML content feed of; Spam Filter ISP Forums : Spam Filter ISP Support : logparse rrdtool]]></description>
  <pubDate>Mon, 15 Jun 2026 01:23:07 +0000</pubDate>
  <lastBuildDate>Sun, 26 Jun 2016 17:18:50 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.logsat.com/spamfilter/forums/RSS_post_feed.asp?TID=7136</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Spam Filter ISP Forums]]></title>
   <url>https://www.logsat.com/spamfilter/forums/forum_images/web_wiz_forums.png</url>
   <link>https://www.logsat.com/spamfilter/forums/</link>
  </image>
  <item>
   <title><![CDATA[logparse rrdtool :  Hi, I was on a short break last...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14834&amp;title=logparse-rrdtool#14834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1342">danego</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 26 June 2016 at 5:18pm<br /><br />Hi, I was on a short break last week.<div>Good to read that you modified the script to your situation and that you found it useful.</div><div>&nbsp;</div><div>I never had the need to change the logrotation so I was unaware of this feature in logsat<img src="https://www.logsat.com/spamfilter/forums/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></div><div>&nbsp;</div><div>in my post I also had a url to the rrdtool website to download the exe.</div><div>&nbsp;</div><div>When I read what you have modified it shouldn't be that hard to combine multiple servers?</div><div>It's a more or less simple add up of some numbers :)</div><div>&nbsp;</div><div>One thing I want to add to the script is the number of files in the queue folder.</div><div>This should be very low but if there is a problem with your mailserver this queue folder could go skyhigh<img src="https://www.logsat.com/spamfilter/forums/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></div>]]>
   </description>
   <pubDate>Sun, 26 Jun 2016 17:18:50 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14834&amp;title=logparse-rrdtool#14834</guid>
  </item> 
  <item>
   <title><![CDATA[logparse rrdtool : Have had some success on this...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14833&amp;title=logparse-rrdtool#14833</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 19 June 2016 at 9:50am<br /><br />Have had some success on this end, thanks for the code.<br><br>I've modified it so it does not need to run every 5 minutes, it can calculate the timestamp needed from the logs themselves.<br><br>The result is it can now also process historical data (assuming you start the RRD DB back far enough).<br><br>Now I am looking for a way to merge the databases from multiple servers to get one complete picture of everything.<br>]]>
   </description>
   <pubDate>Sun, 19 Jun 2016 09:50:10 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14833&amp;title=logparse-rrdtool#14833</guid>
  </item> 
  <item>
   <title><![CDATA[logparse rrdtool : Thanks for the code. Thought I...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14831&amp;title=logparse-rrdtool#14831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 19 June 2016 at 1:13am<br /><br />Thanks for the code.&nbsp; Thought I would share my findings so far.<br><br>Just running it, VBS crashes on this line:<br><br><font style="font-family:Courier New;font-size:10pt;"><font style="color:#000000;">EpochUTC</font><font style="color:#000000;"> = </font><font style="color:#0000FF;">DateDiff</font><font style="color:#000000;">(</font><font style="color:#808080;">"s"</font><font style="color:#000000;">, </font><font style="color:#808080;">"01/01/1970 00:00:00"</font><font style="color:#000000;">, </font><font style="color:#0000FF;">Left</font><font style="color:#000000;">(</font><font style="color:#0000FF;">DateAdd</font><font style="color:#000000;">(</font><font style="color:#808080;">"n"</font><font style="color:#000000;">, UTC_Offset</font><font style="color:#000000;">, </font><font style="color:#0000FF;">Now</font><font style="color:#000000;">()),</font><font style="color:#0000FF;">Len</font><font style="color:#000000;">(</font><font style="color:#0000FF;">DateAdd</font><font style="color:#000000;">(</font><font style="color:#808080;">"n"</font><font style="color:#000000;">, UTC_Offset</font><font style="color:#000000;">, </font><font style="color:#0000FF;">Now</font><font style="color:#000000;">()))-</font><font style="color:#800000;">2</font><font style="color:#000000;">) &amp; </font><font style="color:#808080;">"00"</font><font style="color:#000000;">)</font><br><br>I think you are trying to get the date (with UTC offset taken into consideration) and then remove the seconds?<br><br>I converted it to this to make it run on my system:<br></font><br><font style="font-family:Courier New;font-size:10pt;"><font style="color:#000000;">EpochUTC</font><font style="color:#000000;"> = </font><font style="color:#0000FF;">DateDiff</font><font style="color:#000000;">(</font><font style="color:#808080;">"s"</font><font style="color:#000000;">, </font><font style="color:#808080;">"01/01/1970 00:00:00"</font><font style="color:#000000;">, </font><font style="color:#0000FF;">FormatDateTime</font><font style="color:#000000;">(</font><font style="color:#0000FF;">DateAdd</font><font style="color:#000000;">(</font><font style="color:#808080;">"n"</font><font style="color:#000000;">, UTC_Offset</font><font style="color:#000000;">, </font><font style="color:#0000FF;">Now</font><font style="color:#000000;">()),</font><font style="color:#800000;">2</font><font style="color:#000000;">) &amp; </font><font style="color:#808080;">" "</font><font style="color:#000000;"> &amp; </font><font style="color:#0000FF;">FormatDateTime</font><font style="color:#000000;">(</font><font style="color:#0000FF;">DateAdd</font><font style="color:#000000;">(</font><font style="color:#808080;">"n"</font><font style="color:#000000;">, UTC_Offset</font><font style="color:#000000;">, </font><font style="color:#0000FF;">Now</font><font style="color:#000000;">()),</font><font style="color:#800000;">4</font><font style="color:#000000;">))</font><br></font><br>That gets past the error.&nbsp; The link to rrdtool does not contain any .exe file that I can find.<br><br>I found a compiled copy on <a href="https://sites.google.com/site/christiankrausse/projekte/perl/rrdtool-v1-4-8-win32-binaries-rrds-for-active-state-perl-5-16-2-windows" target="_blank" rel="nofollow">this page</a>, way at the bottom (<a href="https://sites.google.com/site/christiankrausse/projekte/perl/rrdtool-v1-4-8-win32-binaries-rrds-for-active-state-perl-5-16-2-windows/RRDs_1_4008_Release_Bin.zip?attredirects=0&amp;d=1" target="_blank" rel="nofollow">direct link</a>).&nbsp; That has a compiled version and some associated files it needs.&nbsp; I just put them all into the same directory as your VBS and it runs now.<br><br>Now I'm working on a problem where the VBS assumes the logs are all in the format yyyymmdd.log but spamfilter has an option to rotate the logs more frequently and may contain a number after, like this yyyymmdd-x.log and the script does not pick up on that.<br><span style="font-size:10px"><br /><br />Edited by yapadu - 19 June 2016 at 1:32am</span>]]>
   </description>
   <pubDate>Sun, 19 Jun 2016 01:13:02 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14831&amp;title=logparse-rrdtool#14831</guid>
  </item> 
  <item>
   <title><![CDATA[logparse rrdtool :  Ok here is the download link...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14830&amp;title=logparse-rrdtool#14830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1342">danego</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 16 June 2016 at 4:27pm<br /><br />Ok here is the download link of the script with an extra textfile with the rrdtool commands used.<div>&nbsp;</div><div><a href="http://www.danego.net/spamfilter/logsatparser_v1.zip" target="_blank" rel="nofollow">http://www.danego.net/spamfilter/logsatparser_v1.zip</a></div><div>&nbsp;</div><div>You also need rrdtool for windows :</div><div>&nbsp;</div><div><a href="http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.30-win32-perl510.zip" target="_blank" rel="nofollow">http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.2.30-win32-perl510.zip</a></div><div><br>There is an rrdtool.exe in of the the folders.</div><div>&nbsp;</div><div>&nbsp;</div><div>I have copied&nbsp;our current running script.</div><div>(posted the latest day and week graph on <a href="http://www.danego.net/spamfilter" target="_blank" rel="nofollow">www.danego.net/spamfilter</a>)</div><div>&nbsp;</div><div>Always curious if someone else but me gets it up and running without any problems.<img src="https://www.logsat.com/spamfilter/forums/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></div><div>&nbsp;</div><div>Be aware you need to run it at least three times with 5 minutes intervals before you see something appear in the graphs.</div><div>&nbsp;</div><div>It counts the different values from the log and adds this to the rrdtool database.</div><div>rrdtool recalculates this to a value per second and during the graph generation it gets multiplied by 60 to get a count per minute.</div><div>So the value is per minute from a 5 minute average.</div><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 16 Jun 2016 16:27:07 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14830&amp;title=logparse-rrdtool#14830</guid>
  </item> 
  <item>
   <title><![CDATA[logparse rrdtool : That is certainly impressive looking,...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14829&amp;title=logparse-rrdtool#14829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 13 June 2016 at 9:26pm<br /><br />That is certainly impressive looking, I would love to get a copy of that as well.<br>]]>
   </description>
   <pubDate>Mon, 13 Jun 2016 21:26:50 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14829&amp;title=logparse-rrdtool#14829</guid>
  </item> 
  <item>
   <title><![CDATA[logparse rrdtool : Great job danego! We ourselves...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14828&amp;title=logparse-rrdtool#14828</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 09 June 2016 at 5:54pm<br /><br />Great job danego! We ourselves here at LogSat could use your script on our server :-) Plus 1 for us for a copy of it!]]>
   </description>
   <pubDate>Thu, 09 Jun 2016 17:54:50 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14828&amp;title=logparse-rrdtool#14828</guid>
  </item> 
  <item>
   <title><![CDATA[logparse rrdtool :  Here is an image with an example...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14827&amp;title=logparse-rrdtool#14827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1342">danego</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 09 June 2016 at 10:18am<br /><br /><div>Here is an image with an example of this</div><div>&nbsp;</div><a href="http://danego.net/spamfilter/" target="_blank" rel="nofollow">http://danego.net/spamfilter/</a><div></div>]]>
   </description>
   <pubDate>Thu, 09 Jun 2016 10:18:18 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14827&amp;title=logparse-rrdtool#14827</guid>
  </item> 
  <item>
   <title><![CDATA[logparse rrdtool :  Hi,I have written a vbs script...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14826&amp;title=logparse-rrdtool#14826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1342">danego</a><br /><strong>Subject:</strong> 7136<br /><strong>Posted:</strong> 08 June 2016 at 5:25pm<br /><br />Hi,<div>&nbsp;</div><div>I have written a vbs script to get some information from the logfile and put it in rrdtool.</div><div>Then we generate an image with rrdtool.</div><div>&nbsp;</div><div>At the moment I collect #connections, rejected mails, forwarded mails, quarantined mails.</div><div>&nbsp;</div><div>You can schedule the script with the windows task scheduler.</div><div>I run the script every 5 minutes to get the data in rrdtool.</div><div>The image then shows the # of messages per minute (this is the average of the 5 minutes)</div><div>&nbsp;</div><div>The script writes a tempfile in the logfile folder to keep up where it left off.</div><div>It detects a log rotate and cleans up the tempfile from yesterdays logfile before it starts with the new day. </div><div>&nbsp;</div><div>The script is almost done, was just curious if anyone is interested.</div><div>(needs more comment and I bet it's not monkey proof yet :)</div><div>&nbsp;</div><div>Regards,</div><div>Emiel.</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 08 Jun 2016 17:25:28 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7136&amp;PID=14826&amp;title=logparse-rrdtool#14826</guid>
  </item> 
 </channel>
</rss>