Custom collectd

Started by zzyzx, March 18, 2024, 05:34:56 PM

Previous topic - Next topic
Is the correct place to add custom collectd functionality in /usr/local/etc/collectd.conf?

I've added a script to collect disk and cpu temperature information, but it is no longer working. It stopped working under 23.7, so it's not related to the latest update. My config addition:

<Plugin exec>
    Exec "daemon:daemon" "/home/opnuser/collectd/temps.sh"
</Plugin>


Script output should be fine since it was working at one point, but has since stopped with no change to the script. However, I can't tell if collectd is running the script and the data is not being collected or if the script simply isn't running. All other default collectd metrics are collected fine into influx, so it seems to be the script not running.