<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#ffffff">
<p><font face="Helvetica, Arial, sans-serif">Btw, just realize
rrdcache is not running. <br>
</font></p>
<p><br>
</p>
<p><b>cannot stat '/var/run/rrdcached.pid</b><br>
</p>
<p><font face="Helvetica, Arial, sans-serif"><br>
</font></p>
<p><font face="Helvetica, Arial, sans-serif"><br>
</font></p>
<p><font face="Helvetica, Arial, sans-serif"><br>
</font></p>
<div class="moz-cite-prefix">On 23/08/2023 17:23, Faizan Barmare via
ixpmanager wrote:<br>
</div>
<blockquote type="cite"
cite="mid:TYZPR06MB449617E0E594AD0C8B32488C921CA@TYZPR06MB4496.apcprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<br>
<div dir="ltr">Dear Team,
<div><br>
</div>
<div> We are currently facing an issue with the P2P graph
functionality in IXP Manager. Despite this, we are pleased to
note that the MRTG graphs are visible both in the admin
dashboard and on the customer page.</div>
<div><br>
</div>
<div>To provide more context, we have check below logs your
reference. We kindly request your assistance in investigating
and resolving the P2P graph issue. Your expertise and support
in this matter would be greatly appreciated.</div>
<div><br>
</div>
<div>Thank you for your attention to this matter. We look
forward to your prompt response and guidance on how to address
this issue.</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Followed ixpmanager docs<br>
</div>
<div class="x_elementToProof">###, some output of commands is
reduced for brevity ###</div>
<div class="x_elementToProof">1) Made changes in .env for
GRAPHER</div>
<div>2) /etc/init.d/mrtg status -- is ACTIVE, sflowtool is
working, Switch is sending Sflow.</div>
<div>3) Mrtg conf generated with Artisan</div>
<div>4) /usr/local/etc/ixpmanager.conf has correct
dbase_password, apibaseurl and apikey.</div>
<div>5) Updated etc/apache2/apache2.conf</div>
<div>6) I am able to see rrd files in
“/data/ixpmatrix/ipv4/bytes/p2p/”,
“/srv/ixpmanager/storage/grapher” ,”/srv/mrtg”
</div>
<div>But I am not able to see any png related to p2p,</div>
<div>7) Open p2p page and run tail -f
/srv/ixpmanager/storage/logs/laravel.log </div>
<div>###For brevity, Command output is reduced ###</div>
<div>[2023-08-22 13:28:50] production.NOTICE: [Grapher] sflow
png(): could not load rrd file ???</div>
<div>[2023-08-22 13:28:50] production.NOTICE: [Grapher] sflow
png(): could not load rrd file ???</div>
<div><br>
</div>
<div>8) Make script for sflow and make a service</div>
<div> systemctl status sflow.service</div>
<div>● sflow.service</div>
<div> Loaded: loaded (/etc/systemd/system/sflow.service;
enabled; vendor preset: enabled)</div>
<div> Active: active (running) since Tue 2023-08-22 03:59:38
WIB; 12h ago</div>
<div class="x_elementToProof"> Main PID: 1849
(sflow_boot_proc)</div>
<div class="x_elementToProof"><br>
</div>
<div> Tasks: 11 (limit: 38411)</div>
<div> Memory: 47.8M</div>
<div> CGroup: /system.slice/sflow.service</div>
<div> ├─1849 /bin/bash
/home/fb/sflow_boot_process_start.sh</div>
<div> ├─1872 rrdcached -P FLUSH,UPDATE -m 0666 -l
unix:/var/run/rrdcached.sock</div>
<div> ├─1879 perl
/srv/ixpmanager/tools/runtime/sflow/sflow-to-rrd-handler</div>
<div> └─1880 /usr/bin/sflowtool -4 -p 6343 -l</div>
<div><br>
</div>
<div>Aug 22 03:59:38 TBS-IXPManager-Prod2 systemd[1]: Started
sflow.service.</div>
<div>Aug 22 03:59:38 TBS-IXPManager-Prod2
sflow_boot_process_start.sh[1865]: mv: cannot stat
'/var/run/rrdcached.pid': No such file or director
</div>
<div><br>
</div>
<div>9) Static mac configured and verified all macs</div>
<div><br>
</div>
<div>10) <a class="moz-txt-link-freetext" href="http://10.200.200.102/grapher/p2p?period=day&type=json&category=bits&protocol=ipv4&svli=19&dvli=3%22">http://10.200.200.102/grapher/p2p?period=day&type=json&category=bits&protocol=ipv4&svli=19&dvli=3%22</a>
JSON works
</div>
<div>But getting below Error when
”<a class="moz-txt-link-freetext" href="http://10.200.200.102/grapher/p2p?period=day&type=png&category=bits&protocol=ipv4&svli=19&dvli=3%22">http://10.200.200.102/grapher/p2p?period=day&type=png&category=bits&protocol=ipv4&svli=19&dvli=3%22</a>
“ The image
“<a class="moz-txt-link-freetext" href="http://10.200.200.102/grapher/p2p?period=day&type=png&category=bits&protocol=ipv4&svli=19&dvli=3%22”">http://10.200.200.102/grapher/p2p?period=day&type=png&category=bits&protocol=ipv4&svli=19&dvli=3%22”</a>
cannot be displayed because it contains errors."”</div>
<div><br>
</div>
<div><br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="x_elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
Faizan Barmare<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-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>
</body>
</html>