<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style>.hmmessage BODY.hmmessage {
        FONT-FAMILY: Tahoma; FONT-SIZE: 10pt
}
</style>

<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body class="hmmessage" ocsi="0" fPStyle="1">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div>You can do this in several ways; Bernard has already mentioned RRD server, but (with RRDTool 1.4.x) you can also use rrdcached, the caching daemon, to provide remote access over the network to a subset of commands.&nbsp; I've been playing with the quite a bit recently and it has a whole load of useful possibilities.</div>
<div>&nbsp;</div>
<div>With rrdcached you can&nbsp; run update and fetch over the network, and graph can run locally but pull the date from a remote rrdcached.&nbsp; If you get the current trunk (beta) version of rrdtool 1.4 then you can also run first, last, info, and create over the network as well.</div>
<div>&nbsp;</div>
<div>In your setup, if you put the rrdcached between cacti and rrdtool using a UNIX-domain socket (by setting the RRDCACHED_ADDRESS before starting Cacti) then it should continue to run as normal but will be a bit more efficient on writes; however you can also have rrdcached listen on a TCP socket simultaneously allowing your remote Windows box to query the database via this.&nbsp; Having the local Cacti write via a unix socket rather than TCP is better as it is (1) faster and (2) can fall back to using direct mode for commands not yet supported by rrdcached.</div>
<div>&nbsp;</div>
<div>For security, you can set rrdcached command line options to prevent the remote Windows box from doing anything other than first/last/info/fetch, and use tcpwrappers or local firewall to restrict remote connections.</div>
<div>&nbsp;</div>
<div>Steve</div>
<div><br>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><strong>Steve Shipway</strong></div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">University of Auckland ITS</div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><em>UNIX Systems Design Lead</em></div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a></div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px">Ph: &#43;64 9 373 7599 ext 86487</div>
<div style="FONT-FAMILY: Tahoma; FONT-SIZE: 13px"><em></em>&nbsp;</div></div></div>
<hr tabindex="-1">

<div style="DIRECTION: ltr" id="divRpF733365"><font color="#000000" size="2" face="Tahoma"><b>From:</b> rrd-users-bounces&#43;s.shipway=auckland.ac.nz@lists.oetiker.ch [rrd-users-bounces&#43;s.shipway=auckland.ac.nz@lists.oetiker.ch] on behalf of Miguel Sevilla [msevilla79@hotmail.com]<br><b>Sent:</b> Thursday, 28 October 2010 8:33 a.m.<br><b>To:</b> rrd-users@lists.oetiker.ch<br><b>Subject:</b> [rrd-users] Is it possible to Access an RRD Remotely (e.g. by connecting to that machine's RRDTool over a socket)<br></font><br></div>
<div></div>
<div>
<div class="post-text">Hi All, is it possible to connect access an RRD (e.g. Cacti RRD) from a different machine over the network? (e.g. connect to the RRDTool over TCP or something)<br><br><br><br>More context:&nbsp; We have Cacti (RRD backend) deployed on a linux machine and want to be able to query the Cacti RRD database from a windows machine.&nbsp; However, we don't know if this is possible without us writing custom server code to serve as the interface to the linux machine's RRDTool.<br><br><br>Thank you all for your time.<br><br><br>Miguel</div></div></div></body></html>