Integration of external collectd data

I’m testing opnsense and had similar idea. Yes, it’s possible.

Add collectd network plugin to the Nethserver by creating /etc/collectd.d/networkserver.conf with following content (192.168.2.22 is the IP of my Nethserver hosting the collectd server):

LoadPlugin "network"

<Plugin "network">
  Listen "192.168.2.22"
</Plugin>

For adding another Nethserver create /etc/collectd.d/networkclient.conf on the collectd client Neth:

LoadPlugin "network"

<Plugin "network">
  Server "192.168.2.22"
</Plugin>

Restart collectd to apply config:

systemctl restart collectd

https://collectd.org/wiki/index.php/Networking_introduction

For opnsense you need to configure hostname AND port.

2 Likes