<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello team,<div><br></div><div>I'm the newbie one regarding IXP Manager:<br></div><div>I'm trying to get peer-to-peer statistics and need help in that;</div><div><br></div><div>To be short: VM is Ubuntu 16.04.5</div><div>Installed via automatic script as suggested;</div><div>PHP 7.0.33<br></div><div><br></div><div>1. The switch is being detected via SNMP, port states are OK - two of them marked as peering;<br></div><div>2. MAC addresses are configured (entered statically); </div><div>3. sFlow is configured on SW: I can tcpdump it on VM, traffic is comming; (the same VM as IXP manager is installed on); I mean collector will be the same VM where IXP Manager is installed on.</div><div>4. perl dependencies all installed;</div><div><br></div><div>-----------------------------------------------------------</div><div><br></div><div>cfg copied to /usr/local/etc/ixpmanager.conf as it should be: aditionally, configured</div><div><br></div><div><div><sql></div><div> dbase_type = mysql</div><div> dbase_database = ixpmanager</div><div> dbase_username = ixp</div><div> dbase_password = *</div><div> dbase_hostname = 127.0.0.1</div><div> #dbase_portname = /tmp/mysql.sock</div><div></sql></div><div><br></div><div><ixp></div><div> sflow_rrdcached = 0</div><div> sflowtool = /usr/local/bin/sflowtool</div><div> sflowtool_opts = -4 -p 6343 -l</div><div> sflow_rrddir = /var/www</div><div># debug = 1</div><div> apikey = KEY</div><div> apibaseurl = <a href="http://10.10.10.1/api/v4">http://10.10.10.1/api/v4</a></div><div> macdbtype = configured</div><div></ixp></div></div><div><br></div><div>-----------------------------------------</div><div><br></div><div>/srv/ixpmanager/.env<br></div><div><br></div><div><div>APP_KEY=*<br></div><div><br></div><div>APP_DEBUG=false<br></div><div>APP_URL="<a href="http://10.10.10.1">http://10.10.10.1</a>"<br></div><div>APP_TIMEZONE="UTC"<br></div><div>APP_LOG="single"<br></div><div>DB_HOST="127.0.0.1"<br></div><div>DB_DATABASE="ixpmanager"</div><div>DB_USERNAME="ixpmanager"</div><div>DB_PASSWORD="*"</div><div><br></div></div><div>-------------------------------------</div><div><br></div><div>With API:<br></div><div><br></div><div><a href="http://10.10.10.1/api/v4/test?apikey=KEY">http://10.10.10.1/api/v4/test?apikey=KEY</a><br></div><div><br></div><div>I get:</div><div><pre style="color:rgb(0,0,0);white-space:pre-wrap">API Test Function!
Authenticated: Yes, as: admin</pre></div><div>I get:<br></div><div><div>but when I've tried to load:</div><div><span style="color:rgb(231,76,60);font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;white-space:pre-wrap">tools/runtime/sflow/sflow-to-rrd-handler</span> </div></div><div>FATAL: could not read IXP Manager API call on <a href="http://10.10.10.1/api/v4/sflow-db-mapper/learned-macs">http://10.10.10.1/api/v4/sflow-db-mapper/learned-macs</a><br></div><div><br></div><div>Why it's trying to get learned-macs? Even I've configured: "macdbtype = configured" in ixpmanager.conf? Or maybe there are another reasons?<br></div><div><br></div><div>Thank you.</div><div><br></div><div>Vladislav Leontjev.</div><div><br></div></div></div></div></div></div></div></div></div></div></div>