OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • shutdown Opnsese 19 from UPS [SOLVED]
« previous next »
  • Print
Pages: 1 [2]

Author Topic: shutdown Opnsese 19 from UPS [SOLVED]  (Read 11488 times)

bdario

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #15 on: July 24, 2019, 03:34:15 pm »
Hello mimugmail,
I made a clear installation of rel 19.7
then via console I wrote the command "pkg install os-nut-devel" (it ended fine)
after this in Lobby -> Dashboard -> widget Services I find as follow:
service "nut_upsmon" description "Network UPS Monitor" seems started (it's marked in green color)
service "nut_daemon" description "Network UPS Tools" doesn't start (it remains marked in red colour)
obviously the UPS doesn't shutdown the appliance
any suggestion?
feel free to ask me for any test
Thank so much
Dario
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #16 on: July 24, 2019, 03:35:37 pm »
Did you enable the driver via dropdown list?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

bdario

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #17 on: July 24, 2019, 03:41:17 pm »
yep of course
Riello-driver
enable
Extra Arguments: "port=Auto"
Logged

bdario

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #18 on: July 24, 2019, 03:56:57 pm »
after a reboot it seems to work
now in Services -> Nut -> Diagnostics I find data
but disconnecting the UPS from the line th appliance doesn't shut down
Perhaps the UPS needs to reach the end of the battery charge before send the shutdown command to the appliance?
In this case is there a way to force the graceful shutdown?
Thank you
Dario
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #19 on: July 24, 2019, 03:57:41 pm »
Can you have a look at system.log and then disconnect cable and connect again?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #20 on: July 24, 2019, 03:58:12 pm »
Quote from: bdario on July 24, 2019, 03:56:57 pm
after a reboot it seems to work
now in Services -> Nut -> Diagnostics I find data
but disconnecting the UPS from the line th appliance doesn't shut down
Perhaps the UPS needs to reach the end of the battery charge before send the shutdown command to the appliance?
In this case is there a way to force the graceful shutdown?
Thank you
Dario

It shuts firewall down when battey is below 10%
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

bdario

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #21 on: July 24, 2019, 03:59:09 pm »
Thank you
I'll wait for it
Best regards
Dario
Logged

bdario

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 2
    • View Profile
Re: shutdown Opnsese 19 from UPS
« Reply #22 on: July 24, 2019, 04:34:09 pm »
ok
now it seems to work fine
Great job
Thank you so much
Dario
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: shutdown Opnsese 19 from UPS [SOLVED]
« Reply #23 on: July 25, 2019, 08:08:13 pm »
Hi Dario et al,

This be part of the upcoming 19.7.2 release.

Thanks for testing! ;D


Cheers,
Franco
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • shutdown Opnsese 19 from UPS [SOLVED]
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2