<font class="Apple-style-span" face="'courier new', monospace">Hi,</font><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">I wonder if somebody has already addressed this. I'm unable to find anything so far.</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">Here's my environment:</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">Internet Edge Server (Wombat) running CentOS.</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">Cacti server (central to many sites) separated by a 1.5Mbps T1 link.</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace">I have an application I'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="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">16 RRD's each about 1MB in size for QoS</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">19 RRD's each about 1MB in size for interfaces</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">Now I don't care if the information isn'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="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">It seems my options are:</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1. R</font><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">un RRDCACHED on the Cacti machine, but then I'm pushing traffic at it manically every 15 seconds over that slow link. I'm concerned how compressed that information may be.</span></div>
<div><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">2. U</span><span class="Apple-style-span" style="font-family: 'courier new', monospace; ">pdate the local CentOS RRD's every 15 seconds. Every 5 minutes I can compress and copy the RRD's to Cacti with rsync.</span></div>
<div><font class="Apple-style-span" face="'courier new', monospace">3. CentOS has a Postgres database that the Cacti RRD's could pull from. Again the concern is data size/time to transfer.</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', 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="'courier new', 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="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">Then there's the extended cache idea I have:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', 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="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">rrdtool update --> RRDCACHED +-----------+ RRDCACHED --> rrdtool update</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">( CentOS machine ) ( Cacti Machine )</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace">So here the CentOS machine is issuing updates every 15 seconds to it'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="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">I'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="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">Thanks,<br>Lee</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><div>
<br></div></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div>