Send a message that the OMV server was loaded (turned on)?


  • Thank you very much!
    And then OMV does not send messages when the server is turned on after turning off apc back-ups es 700.
    When it turns off, it sends messages:
    UPS APC @ localhost - Line Power Fail, system running on battery power. System is being shutdown!

  • Is the UPS fully cutting power to the PC when it is being shutdown? How long are you waiting between the UPS shutting down the PC and restarting the PC?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Is the UPS fully cutting power to the PC when it is being shutdown? How long are you waiting between the UPS shutting down the PC and restarting the PC?


    Yes, the APC is completely turned off.
    Before shutdown sends.
    The last message may not be able to send and sends after turning on the APC.
    1. UPS APC @ localhost - Line Power Fail, system running on battery power. Shutdown imminent in 60 seconds.
    2. UPS APC @ localhost - Line Power Fail, system running on battery power. System is being shutdown!
    3. Automatic logout and shutdown proceeding


    Sometimes it turns off the electricity for 8 hours, and we do not know the server is turned on.

  • So, what you are saying is that when you pull the plug on the UPS it eventually triggers a shutdown of your OMV machine and the machine is fully powered off at some point. Then after plugging the UPS back in and then you turn the OMV machine back on, the message I suggested is not sent?


    Have you tested the scheduled command by selecting it and pressing the Run button?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    Einmal editiert, zuletzt von gderf ()

  • So, what you are saying is that when you pull the plug on the UPS it eventually triggers a shutdown of your OMV machine and the machine is fully powered off at some point. Then after plugging the UPS back in and then you turn the OMV machine back on, the message I suggested is not sent?


    Have you tested the scheduled command by selecting it and pressing the Run button?

    Yes, it works fine: echo 'OMV has started' | mail -s 'OMV has started' username@example.com
    And sends a message: 'OMV has started


    I thought that the UPS program itself should have to send a message


    Thank you very much!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!