FreeBSD 12.3
python38-3.8.15
isc-dhcp44-server-4.4.3P1
dhcpd-pools-3.1
I try to use isc_dhpcd_graphite.py but stumble quite early:
./isc_dhpcd_graphite.py -n <graphiteserver>
Traceback (most recent call last):
File "/root/bin/isc_dhpcd_graphite.py", line 205, in <module>
main()
File "/root/bin/isc_dhpcd_graphite.py", line 194, in main
output = render(jsonblob, args.actual_prefix, args.protocol)
File "/root/bin/isc_dhpcd_graphite.py", line 134, in render
return _render_text(jsonblob, prefix)
File "/root/bin/isc_dhpcd_graphite.py", line 139, in _render_text
input = _tuplify(jsonblob, prefix)
File "/root/bin/isc_dhpcd_graphite.py", line 163, in _tuplify
vlan = _clean_vlan(vlan_stat["location"])
File "/root/bin/isc_dhpcd_graphite.py", line 173, in _clean_vlan
return regex.group()
AttributeError: 'NoneType' object has no attribute 'group'
Where to begin debugging? Any flags to dhcpd-pools that are implicit to Linux
and I am missing?
If I get this to work, examples of how to display the results via NAV are
welcome.
--Ingeborg
--
Ingeborg Østrem Hellemo -- ingeborg.hellemo(a)uit.no
Dep. of Information Technology --- Univ. of Tromsø