I seemingly keep running into issues where my pre_tag_map values aren't
actually getting applied. I haven't really been able to figure out
what's happening, and my debugging thus far has involved making changes
to the map and seeing if they fix the issue.
Is there a reliable way of debugging these that I'm not seeing?
I have a pretty simple file:
set_tag=20 ip=188.8.131.52 in=581
set_tag=20 ip=184.108.40.206 out=581
set_tag=20 ip=220.127.116.11 vlan=30
If I decode one of the packets with sflowtool, it seems like it should
be matching on 'out_vlan 30':
(ignore incorrect datagramSourceIP, that's related to how I captured the
If I trigger a reload, I don't get any entries indicating I have an
sfacctd: INFO ( default/core ): [/etc/pre_tag_map] (re)loading map.
sfacctd: INFO ( default/core ): [/etc/pre_tag_map] map
sfacctd *does* record traffic, it's just not applying the set_tag=20 to
it. The same sfacctd config (with different pre_tag_map values) works
on other routers.
pmacct-discussion mailing list