[ixpmanager] Not a HASH reference at tools/runtime/sflow/sflow-to-rrd-handler

carla.falco at nap.com.ve carla.falco at nap.com.ve
Fri Sep 27 21:04:36 IST 2024


Could run the script but now I am having this issue:

DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 5 dstvli: 0 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.3,1000001,1000002,bc2411d49c10,bc241141c33d,0x0800,100,100,45.68.88.7,45.68.88.8,17,0x00,64,2279,2010,0x00,1522,1500,21
DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 0 dstvli: 37 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.4,1000002,1000001,bc2411424c94,bc2411cba03f,0x0800,100,100,45.68.88.6,45.68.88.5,17,0x00,64,2010,2280,0x00,1522,1500,21
DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 0 dstvli: 5 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.4,1000002,1000001,bc241141c33d,bc2411d49c10,0x0800,100,100,45.68.88.8,45.68.88.7,17,0x00,64,2010,2283,0x00,1522,1500,21
DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 5 dstvli: 0 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.4,1000001,1000002,bc2411d49c10,bc241141c33d,0x0800,100,100,45.68.88.7,45.68.88.8,17,0x00,64,2276,2010,0x00,1522,1500,21
DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 5 dstvli: 0 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.4,1000001,1000002,bc2411d49c10,bc241141c33d,0x0800,100,100,45.68.88.7,45.68.88.8,17,0x00,64,2280,2010,0x00,1522,1500,21
DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 0 dstvli: 37 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.4,1000002,1000001,bc2411424c94,bc2411cba03f,0x0800,100,100,45.68.88.6,45.68.88.5,17,0x00,64,2010,2274,0x00,1522,1500,21
DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 0 dstvli: 5 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.4,1000002,1000001,bc241141c33d,bc2411d49c10,0x0800,100,100,45.68.88.8,45.68.88.7,17,0x00,64,2010,2280,0x00,1522,1500,21
DEBUG: dropped update for: protocol: 4 vlan: 100 srcvli: 5 dstvli: 0 pktsize: 1522 samplerate: 21
DEBUG: rejected: FLOW,10.100.0.4,1000001,1000002,bc2411d49c10,bc241141c33d,0x0800,100,100,45.68.88.7,45.68.88.8,17,0x00,64,2280,2010,0x00,1522,1500,21
________________________________
From: ixpmanager <ixpmanager-bounces at inex.ie> on behalf of carla.falco--- via ixpmanager <ixpmanager at inex.ie>
Sent: Thursday, September 26, 2024 1:32 PM
To: ixpmanager at inex.ie <ixpmanager at inex.ie>
Cc: carla.falco at nap.com.ve <carla.falco at nap.com.ve>
Subject: [ixpmanager] Not a HASH reference at tools/runtime/sflow/sflow-to-rrd-handler

Hi! I have been dealing with the problem that I have not been able to run the sflow-to-rrd-handler script in Debian 11. Initially, Not a HASH reference at tools/runtime/sflow/sflow-to-rrd-handler was in line 381 but now it is on line 385 after running script this way:

root at sflow:/srv/ixpmanager# perl tools/runtime/sflow/sflow-to-rrd-handler
Not a HASH reference at tools/runtime/sflow/sflow-to-rrd-handler line 381.

root at sflow:/srv/ixpmanager# perl tools/runtime/sflow/sflow-to-rrd-handler --infraid 2
Not a HASH reference at tools/runtime/sflow/sflow-to-rrd-handler line 386.

This is my ixpmanager.conf which is located in /usr/local/etc, and read with no issue

*********************************************************************************************************
<sql>
        dbase_type      = mysql
        dbase_database  = ixpmanager
        dbase_username  = ixpmanager
        dbase_password  = 1xpm4n4g3rn4pv3
        dbase_hostname  = ixpmanager.nap.com.ve
        #dbase_portname = /tmp/mysql.sock
</sql>

<ixp>
        sflow_rrdcached = 1
        sflowtool = /usr/local/bin/sflowtool
        sflowtool_opts = -4 -p 6343 -l
        sflow_rrddir = /data/ixpmatrix
        debug = 1
        apikey = amfQd2RsRY0OZ5fzXpxpVWDnsoTOLnDZJdLaTZkkG02fkoWN
        apibaseurl = http://10.100.1.6/api/v4
        macdbtype = configured
</ixp>
*************************************************************************************************************

Each time I try to run script IXP manager API last seen is updated. I have not set any mac address to clients neither statically or dinamically.  I tried to change macdbtype to discovered but result is the same. I have all the perl libraries, I used the installation suggested script

*************************************************************************************************************
root at sflow:/srv/ixpmanager# tools/runtime/check-perl-dependencies.pl
unknown linux distribution o/s.
Checking IXP Manager Perl dependencies:

All IXP Manager dependencies installed
*************************************************************************************************************


Thank you first of all for any help you can give me! 🙂
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20240927/db61c4d4/attachment-0001.htm>


More information about the ixpmanager mailing list