<font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Hi,</font><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I wonder if somebody has already addressed this.  I&#39;m unable to find anything so far.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Here&#39;s my environment:</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Internet Edge Server (Wombat) running CentOS.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Cacti server (central to many sites) separated by a 1.5Mbps T1 link.</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I have an application I&#39;ve written that captures data every 15 seconds from interface and QoS statistics on the CentOS machine.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">16 RRD&#39;s each about 1MB in size for QoS</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">19 RRD&#39;s each about 1MB in size for interfaces</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Now I don&#39;t care if the information isn&#39;t updated to Cacti every 15 seconds.  In fact for normal use, every 5 minutes is fine to receive the data generated during the previous 5 minutes.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">It seems my options are:</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">1.  R</font><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace; ">un RRDCACHED on the Cacti machine, but then I&#39;m pushing traffic at it manically every 15 seconds over that slow link.  I&#39;m concerned how compressed that information may be.</span></div>
<div><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace; ">2.  U</span><span class="Apple-style-span" style="font-family: &#39;courier new&#39;, monospace; ">pdate the local CentOS RRD&#39;s every 15 seconds.  Every 5 minutes I can compress and copy the RRD&#39;s to Cacti with rsync.</span></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">3.  CentOS has a Postgres database that the Cacti RRD&#39;s could pull from.  Again the concern is data size/time to transfer.</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Currently, 2 seems to be the best option to keep the traffic to the smallest size and bursting it.</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Option 3 has the appeal that I may be able to refresh the Cacti webpage and get current data (testing required)</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Then there&#39;s the extended cache idea I have:</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">What if RRDCACHED were modified to act as a cache to a *remote* RRDCACHED instance rather than a local rrd file?</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">rrdtool update --&gt; RRDCACHED  +-----------+ RRDCACHED --&gt; rrdtool update</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">( CentOS machine           )                ( Cacti Machine )</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br>
</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">So here the CentOS machine is issuing updates every 15 seconds to it&#39;s local RRDCACHED.  That holds onto data for 5 minutes, then pushes it out to the Cacti machine for inclusion.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">I&#39;m sure others have come across this and I wonder how they implemented their solution?  Thoughts and comments welcomed.</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">Thanks,<br>Lee</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><div>
<br></div></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div>