<html theme="default-light" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body text="#485663">GRAPHER_BACKEND_MRTG_WORKDIR needs to be set
to the directory where the .rrd / .log files are located. In your
case, you seem to be saying that this is "/var/www/cgi-bin"? If this is
the case, then maybe this would work?<br>
<br>
GRAPHER_BACKEND_MRTG_WORKDIR="/var/www/cgi-bin"<br>
<br>
Nick<br>
<br>
<span>Basil Elbalaawi wrote on 11/03/2021 15:06:</span><br>
<blockquote type="cite"
cite="mid:CAPtEs5PgP9d3Dxei=8SL5_3AFRPyV_j4JHGbhbY-uyNBjRojgA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr"><div><br></div>My question , How can I get the graph
picture to access rrd files from the MRTG server?</div>
<br>
<div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar
11, 2021 at 4:58 PM Basil Elbalaawi <<a
href="mailto:saifbasilyazan@gmail.com" moz-do-not-send="true">saifbasilyazan@gmail.com</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"><div
dir="ltr"><br><div>thanks lan</div><div><br></div><div>but i am not use
log file , i am using rrd files belong to rrdtools to increase the <span
style="color:rgb(51,51,51);font-family:"Helvetica
Neue",Helvetica,Arial,sans-serif;font-size:16.8px">performance ,so </span></div><div><p
class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><b><span
style="font-size:16pt;line-height:107%"><br></span></b></p><p
class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><b><span
style="font-size:16pt;line-height:107%">root@mrtg:~#
apt-get install <span style="color:red">mrtg</span> <span
style="color:red">mrtg-ping-probe</span>
<span style="color:red">rrdtool librrds-perl snmp snmpd</span>
snmp-mibs-downloader <span style="color:red">apache2</span>
libapache2-mod-perl2
libnet-snmp-perl libgd-gd2-perl</span></b></p><p class="MsoNormal"
style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p
class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><a
href="https://imgur.com/a/Tt8Se69" target="_blank"
moz-do-not-send="true">https://imgur.com/a/Tt8Se69</a>
----------------------> see these pic.<br></p><p class="MsoNormal"
style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p
class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">i am
waiting your reply ,,,,,,</p><p class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p
class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p
class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p
class="MsoNormal" style="margin:0in 0in
8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><br></p></div></div><br><div
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 11,
2021 at 4:37 PM Ian Chilton <<a href="mailto:ian@lonap.net"
target="_blank" moz-do-not-send="true">ian@lonap.net</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"><div>
<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:rgb(57,131,196)" target="_blank" moz-do-not-send="true">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:rgb(57,131,196)" target="_blank" moz-do-not-send="true">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
rgb(119,119,119);color:rgb(119,119,119);margin:0px 0px
5px;padding-left:5px"><div
id="gmail-m_-6210013841320238990gmail-m_-14503658141142569012AE89F4C-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" target="_blank"
moz-do-not-send="true">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"
moz-do-not-send="true">ixpmanager@inex.ie</a><br>
> Unsubscribe or change options here: <br>
> <a href="https://www.inex.ie/mailman/listinfo/ixpmanager"
rel="noreferrer" target="_blank" moz-do-not-send="true">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"
moz-do-not-send="true">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"
moz-do-not-send="true">ixpmanager@inex.ie</a><br>
Unsubscribe or change options here: <a
href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br></blockquote></div></div></blockquote>
<div style="white-space:normal"><blockquote style="border-left:2px solid
rgb(119,119,119);color:rgb(119,119,119);margin:0px 0px
5px;padding-left:5px"></blockquote><blockquote style="border-left:2px
solid rgb(119,119,119);color:rgb(119,119,119);margin:0px 0px
5px;padding-left:5px"><p dir="auto">_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank"
moz-do-not-send="true">ixpmanager@inex.ie</a><br>
Unsubscribe or change options here: <a
href="https://www.inex.ie/mailman/listinfo/ixpmanager"
style="color:rgb(119,119,119)" target="_blank" moz-do-not-send="true">https://www.inex.ie/mailman/listinfo/ixpmanager</a></p></blockquote></div>
</div>
</div>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank"
moz-do-not-send="true">ixpmanager@inex.ie</a><br>
Unsubscribe or change options here: <a
href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br></blockquote></div></blockquote></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
INEX IXP Manager mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a>
Unsubscribe or change options here: <a class="moz-txt-link-freetext" href="https://www.inex.ie/mailman/listinfo/ixpmanager">https://www.inex.ie/mailman/listinfo/ixpmanager</a>
</pre>
</blockquote>
<br>
</body></html>