<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal"><p dir="auto">Hi Basil,</p>
<p dir="auto">Our MRTG setup uses log files, because history.</p>
<p dir="auto">These are in /srv/mrtg and I setup nginx with:</p>
<p dir="auto"> location /mrtg {<br>
alias /srv/mrtg;<br>
autoindex on;<br>
}</p>
<p dir="auto">So I can go to: <a href="https://mrtg.ourdomain.net/mrtg" style="color:#3983C4">https://mrtg.ourdomain.net/mrtg</a> and be able to browse the files.</p>
<p dir="auto">IXP Manager is then configured with:</p>
<p dir="auto">GRAPHER_BACKEND_MRTG_WORKDIR="/srv/mrtg"<br>
GRAPHER_BACKEND_MRTG_LOGDIR="<a href="http://1" style="color:#3983C4">http://1</a><host>/mrtg"</p>
<p dir="auto">Does that answer your question?</p>
<p dir="auto">Ian</p>
<br><p dir="auto">On 11 Mar 2021, at 14:32, Basil Elbalaawi wrote:</p>
</div>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><div id="2AE89F4C-F421-4D4B-865E-CCEB3BFF5717"><div dir="ltr">hello<div>how can access the .rrd file or access by http web access at the mrtg server ?</div><div><br></div><div>and when i use the rrdtool , so which the </div><div><br></div><div>GRAPHER_BACKEND_MRTG_WORKDIR="WokDir for rrd file ex. /var/www/cgi-bin"</div><div><br></div><div>GRAPHER_BACKEND_MRTG_LOGDIR="" , there is no html file can be access for rrd file , or can be used "<span style="color:rgb(119,133,150);font-family:monospace,serif;font-size:14px;white-space:pre-wrap">indexmaker /etc/mrtg.cfg > /var/www/cgi-bin/index.html"</span><br></div><div><br></div><div>where idex file used .log, .html and .png files , Not rrd file </div><div><br></div><div>So what can I do?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 15, 2021 at 2:21 PM Barry O'Donovan <<a href="mailto:barry.odonovan@inex.ie">barry.odonovan@inex.ie</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ian,<br>
<br>
Ian Chilton wrote on 15/02/2021 12:03:<br>
> I assume the grapher:upload-stats-to-db and <br>
> grapher:upload-pi-stats-to-db jobs (as well as the email ones) should <br>
> run on the main ixpmanager host? - and it will use <br>
> GRAPHER_BACKEND_MRTG_LOGDIR to pull that data, be it set to a local dir <br>
> or a remote http(s) endpoint?<br>
<br>
Correct on both counts.<br>
<br>
> With regards to the graphs when mrtg is on a different host - does it <br>
> directly reference the MRTG host in image src tags directly, or does it <br>
> do some caching and still serve up graphs from the ixpmanager host?<br>
<br>
It basically proxies the image requests - no internal MRTG host is exposed.<br>
<br>
- Barry<br>
<br>
> <br>
> Obviously the answer will be obvious once implemented, but whether the <br>
> mrtg needs to be publicly accessible influences which vlan it goes on etc.<br>
> <br>
> Thanks,<br>
> <br>
> Ian<br>
> _______________________________________________<br>
> INEX IXP Manager mailing list<br>
> <a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
> Unsubscribe or change options here: <br>
> <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
<br>
<br>
-- <br>
<br>
Kind regards,<br>
Barry O'Donovan<br>
INEX Operations<br>
<br>
<a href="https://www.inex.ie/support/" rel="noreferrer" target="_blank">https://www.inex.ie/support/</a><br>
+353 1 531 3339<br>
<br>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
Unsubscribe or change options here: <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
</blockquote></div></div></blockquote>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
</blockquote><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">_______________________________________________<br>
INEX IXP Manager mailing list<br>
ixpmanager@inex.ie<br>
Unsubscribe or change options here: <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" style="color:#777">https://www.inex.ie/mailman/listinfo/ixpmanager</a></p>
</blockquote></div>
</div>
</body>
</html>