OPNsense Forum

English Forums => Hardware and Performance => Topic started by: harshw on October 02, 2019, 03:30:48 pm

Title: What NUT driver to use for SNMP
Post by: harshw on October 02, 2019, 03:30:48 pm
Anyone with OPNSense and APC UPSes on this forum?

I have an APC SMT 1500 UPS, with a AP9630 card. Reading Franco's post on the forum that suggested graceful power off in ALL cases, I've decided to make sure the OPNSense box gracefully shuts down in the event of a power loss. What's best NUT driver to use for this scenario? I cannot use the USB part of the APC UPS. The NUT page says to use snmp-ups for APC UPS's with AP network cards - but I cannot see the driver.

I've installed os-net-snmp and os-nut

Title: Re: What NUT driver to use for SNMP
Post by: mimugmail on October 02, 2019, 04:26:19 pm
When you are willing to test I can add the driver for you
Title: Re: What NUT driver to use for SNMP
Post by: harshw on October 03, 2019, 12:05:39 am
Thanks - out this week so will ping you for the driver next week and start testing.

Love the amazing community & devs that OPNSense has !
Title: Re: What NUT driver to use for SNMP
Post by: harshw on October 07, 2019, 04:39:01 pm
Hi Mimugmail

Please add the driver now - will test and get back to you with results.
Title: Re: What NUT driver to use for SNMP
Post by: Mr.Goodcat on October 23, 2019, 11:45:44 am
Any updates on this? I'm also looking to connect to my HP UPS via NUT plus SNMP but can't select the driver.
Title: Re: What NUT driver to use for SNMP
Post by: mimugmail on October 23, 2019, 09:22:19 pm
It's under review, maybe already with 19.7.6:
https://github.com/opnsense/plugins/pull/1552
Title: Re: What NUT driver to use for SNMP
Post by: Mr.Goodcat on October 25, 2019, 10:35:39 am
Yay, I'm looking forward to its release :D
Title: Re: What NUT driver to use for SNMP
Post by: alper on December 17, 2019, 04:40:39 pm
Hi,
I found a bug in config generation process:
then I select SNMP-Driver as Active in GUI and save,
in ups.conf appear string
driver=snmp_ups
and NUT can't communicate with UPS
When I manually edit it to
driver=snmp-ups
all works fine.
Please fix it.
Title: Re: What NUT driver to use for SNMP
Post by: GDixon on December 17, 2019, 06:16:01 pm
Well that explains why I've had a impossible time getting it to work. I have 5 of the same ups's as Harshw.

Thanks for the temporary fix! I thought it was all on me not getting the right settings done.

G. Dixon
Title: Re: What NUT driver to use for SNMP
Post by: mimugmail on December 17, 2019, 10:37:36 pm
https://github.com/opnsense/plugins/pull/1626
Title: Re: What NUT driver to use for SNMP
Post by: franco on December 18, 2019, 04:07:45 pm
This would illustrate how important it is to get feedback for working features from the requester. ;)
Title: Re: What NUT driver to use for SNMP
Post by: Mr.Goodcat on December 22, 2019, 01:52:05 pm
Thanks! I also thought this was a layer 8 issue.... :P However, I also had to remove spaces in the UPS name, but now it's up and running 8) Are there any plans for a nut widget?
Title: Re: What NUT driver to use for SNMP
Post by: mimugmail on December 22, 2019, 02:02:20 pm
Name validation comes with next release.
No widget plans .. or better .. I have no idea of this :)