/usr/local/opnsense/scripts/OPNsense/Apcupsd
-rwxr-xr-x 1 root wheel 366 Jun 20 16:16 getNisStatus.py*-rwxr-xr-x 1 root wheel 206 Jun 20 16:24 getServiceStatus.py*root@firewall:/usr/local/opnsense/scripts/OPNsense/Apcupsd #
configctl apcupsd getNisStatus
root@firewall:/usr/local/etc/inc/plugins.inc.d # ll apcupsd.inc -rw-r--r-- 1 root wheel 2358 Jun 20 18:25 apcupsd.inc
Did you grab the new script file to get the Status ?You can grab them from here:https://github.com/Gibbon99/apcupsd/tree/master/usr/local/opnsense/scripts/OPNsense/Apcupsdand put them here:Code: [Select]/usr/local/opnsense/scripts/OPNsense/ApcupsdShould be two files:Code: [Select]-rwxr-xr-x 1 root wheel 366 Jun 20 16:16 getNisStatus.py*-rwxr-xr-x 1 root wheel 206 Jun 20 16:24 getServiceStatus.py*root@firewall:/usr/local/opnsense/scripts/OPNsense/Apcupsd #
What happens when you run this from the command line?Code: [Select]configctl apcupsd getNisStatus
This is what I have to make it show up in the Services WidgetCode: [Select]root@firewall:/usr/local/etc/inc/plugins.inc.d # ll apcupsd.inc -rw-r--r-- 1 root wheel 2358 Jun 20 18:25 apcupsd.inc
It's not saving the config on my box anymore either. Just fails silently.I'll chase it up.
It would be nice to have a widget on the dashboard with ups status and battery charge as there was a pfsense