Telegraf service running, but randomly stops sending metrics
-
I've run pfSense for years and years on bare metal. At my home I've started running it virtualized under xcp-ng (open source fork of Citrix XenServer), and overall couldn't be happier with it.
One thing that does bug me though is that the telegraf service just stops sending data after a while. The service appears to be running, and a restart of it starts sending metrics again. But after about 30min to an hour, it just stops sending.
[2.4.3-RELEASE][root@<redacted>]/root: ls -lh /var/log/telegraf.log -rw------- 1 root wheel 0B Jul 10 14:45 /var/log/telegraf.log
As you can see, logs aren't terribly helpful right now. I've completely removed, reinstalled, and reconfigured the telegraf package, to no avail.
Being my home setup, it's very lightly used most of the time, so memory or CPU exhaustion aren't very likely. I have three physical devices at work with similar memory and CPU as the VM here that run much more services and send metrics without issue, so I suspect it's something to do with this particular setup.
Any suggestions on where to dig further?