[ixpmanager] Assistance Needed with P2P Graph Issue in IXP Manager

ozikat ozikat12 at gmail.com
Wed Aug 23 14:26:12 IST 2023


Hi,


Can you also share you config for sflow configuration?

The config file need to be manually created and it's in 
/usr/local/etc/ixpmanager.conf


At the same time just to confirm the sflow is running, can you do 
command below?


ps axuwww | grep sflowtool


Thanks.


--
Ozikat


On 23/08/2023 17:23, Faizan Barmare via ixpmanager wrote:
>
> Dear Team,
>
>  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.
>
> 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.
>
> Thank you for your attention to this matter. We look forward to your 
> prompt response and guidance on how to address this issue.
>
>
>
>
> Followed ixpmanager docs
> ###, some output of commands is reduced for brevity ###
> 1)    Made changes in .env for GRAPHER
> 2)    /etc/init.d/mrtg status  -- is ACTIVE, sflowtool is working, 
> Switch is sending Sflow.
> 3)    Mrtg conf generated with Artisan
> 4)    /usr/local/etc/ixpmanager.conf has correct dbase_password, 
> apibaseurl and apikey.
> 5)    Updated etc/apache2/apache2.conf
> 6)    I am able to see rrd files in “/data/ixpmatrix/ipv4/bytes/p2p/”, 
>  “/srv/ixpmanager/storage/grapher” ,”/srv/mrtg”
> But I am not able to see any png related to p2p,
> 7)    Open p2p page and run tail -f 
> /srv/ixpmanager/storage/logs/laravel.log
> ###For brevity, Command output is reduced ###
> [2023-08-22 13:28:50] production.NOTICE: [Grapher] sflow png(): could 
> not load rrd file ???
> [2023-08-22 13:28:50] production.NOTICE: [Grapher] sflow png(): could 
> not load rrd file ???
>
> 8)    Make script for sflow and make a service
>  systemctl status sflow.service
> ● sflow.service
>      Loaded: loaded (/etc/systemd/system/sflow.service; enabled; 
> vendor preset: enabled)
>      Active: active (running) since Tue 2023-08-22 03:59:38 WIB; 12h ago
>    Main PID: 1849 (sflow_boot_proc)
>
>       Tasks: 11 (limit: 38411)
>      Memory: 47.8M
>      CGroup: /system.slice/sflow.service
>              ├─1849 /bin/bash /home/fb/sflow_boot_process_start.sh
>              ├─1872 rrdcached -P FLUSH,UPDATE -m 0666 -l 
> unix:/var/run/rrdcached.sock
>              ├─1879 perl 
> /srv/ixpmanager/tools/runtime/sflow/sflow-to-rrd-handler
>              └─1880 /usr/bin/sflowtool -4 -p 6343 -l
>
> Aug 22 03:59:38 TBS-IXPManager-Prod2 systemd[1]: Started sflow.service.
> 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
>
> 9)    Static mac configured and verified all macs
>
> 10)   http://10.200.200.102/grapher/p2p?period=day&type=json&category=bits&protocol=ipv4&svli=19&dvli=3%22 
>     JSON works
> But getting below Error when 
>  ”http://10.200.200.102/grapher/p2p?period=day&type=png&category=bits&protocol=ipv4&svli=19&dvli=3%22 
> “ The image 
>http://10.200.200.102/grapher/p2p?period=day&type=png&category=bits&protocol=ipv4&svli=19&dvli=3%22” 
> cannot be displayed because it contains errors."”
>
>
>
>
>
>
>
>
> Best regards,
>
> Faizan Barmare
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here:https://www.inex.ie/mailman/listinfo/ixpmanager
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20230823/b46729d9/attachment.htm>


More information about the ixpmanager mailing list