OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: zzyzx on March 18, 2024, 05:34:56 PM

Title: Custom collectd
Post by: zzyzx on March 18, 2024, 05:34:56 PM
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.