[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
Thu Sep 26 18:32:14 IST 2024


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/20240926/1f85fade/attachment.htm>


More information about the ixpmanager mailing list