Archive > 20.7 Legacy Series
Nut, APC ups, another way
aimdev:
Never managed to get NUT working with my APC Backup UPS, so I did this
pkg install apcupsd
pkg install nano (easier to edit files)
edit /usr/local/etc/apcupsd/apcupsd.conf for your ups model
edit more /etc/rc.conf.d/apcupsd
apcupsd_enable="YES"
run apctest , select test alarm, listen for a beep.
service apcupsd start
service apcupsd status
Don't use an apcupsd from free bsd, it wont work, use the one from opnsense's repository.
Did the reboot test, still running, not sure if an update will remove any changes?
mimugmail:
No, Update will not touch it
aimdev:
Hi
Thanks for that.
Now here is a bit of a mystery.
I setup collectd to send apsupsd information to my influxdb and grafana reporting system.
I added the relevant lines to /usr/local/etc/collectd.conf and got data into the database, along with the plot.
I rebooted opnsense, and when I checked /usr/local/etc/collectd.conf, the entries had been removed, but the data is still being received by influx and plotting is working.
Where did my additions go?
mimugmail:
Did you also installed collectd plugin?
aimdev:
I only installed the collectd plugin. (ie I did not use pkg on the command line)
Navigation
[0] Message Index
[#] Next page
Go to full version