Hi all, I’ve got a cheap Celeron box running OPNSense and it’s been pretty good so far, but I found twice that the device turned off at some point while I was at work, and I have been unable to figure out what’s causing it.

The only change was that I enabled Monit to see if I could figure out what was causing crowdsec to stop sometimes but never ended up configuring anything. I’ve only been running it for a couple months though, so it’s possible that that is not related.

I know that on a Mac (based on freebsd, right?) you can determine whether the shutdown reason was a hard shutdown, regular shutdown, or the power cable being unplugged. Is it possible to do that with OPNSense? I’d like to narrow it down to software or hardware ideally.

  • 342345@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    No clue. :)

    You haven’t mentioned the logs. Any hints there? System/ log files/ general. You can see there how a regular reboot/ shutdown should look like at least.

    Is there a second device at the same outlet, that writes logs or shows its uptime? To rule out power outages.

    Bios settings: is there a setting to power on the pc when the power is reconnected. (If it was an outage)

    • doctorzeromd@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      It’s plugged into a power strip that other devices are plugged into, I did turn on “power on on ac restore” so if it is power related it should come back and I’ll see the downtime in uptimekuma.

      The system logs go straight from No IP Change detected to the next boot, so a crash or failure seem likely. If something told the computer to shut down, I should see that in the logs, right?

      It’s a passively cooled computer, is there any way that I can determine whether a high temp forced the computer down?