collectd in a jail | good idea?

Joined
Jan 27, 2020
Messages
577
Trying to get a collectd jail working for the use of having third-party plugins. I don't want them running on the host - they'd disappear after restart and I'm not sure how stable they are.

But I somehow can't get udp traffic under the specified port into the influxDB.
Is it possible, that the collectd host service is blocking the collectd inside the jail?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Maybe an issue of devfs_ruleset for collectd to do its work?
 
Joined
Jan 27, 2020
Messages
577
Maybe an issue of devfs_ruleset for collectd to do its work?
Do you mean the ruleset of the jail? I checked with devfs rule -s 4 show and couldn't find anything about collectd.
The service is running inside the jail and the host service of collectd is unaffected by it - grafana shows it's graphs unharmed - but somehow the udp traffic from inside the collectd jail doesn't reaches the influxdb in the grafana jail.

I read here that increasing the udp buffer in the kernel is highly recommended via sysctl.conf. Anyone expierenced with that? Is that a setting that disappears after restart?
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Is that a setting that disappears after restart?
Not if you set it with a sysctl tunable...

Do you mean the ruleset of the jail?
Yes. Maybe setting to ruleset 2 would change something about how the jail is able to communicate with the NIC in /dev (I don't really know what's blocking it, so just guessing here)
 
Top