• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Alarm email after reboot

    Mango General
    2
    3
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      georgestefan
      last edited by

      Hello, I have some event handlers that sends email to users when an alarm is active but the problem is if I reboot the mango and an alarm is active, after reboot will send emails again to the users.

      It's a way to stop the system to send alarm email after a reboot?

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi georgestefan,

        Is it an active event email or an inactive event email that you're seeing? What type of detector and point?

        1 Reply Last reply Reply Quote 0
        • phildunlapP
          phildunlap
          last edited by

          I suspect what you're noticing is that a reboot returns the events to normal when shutdown disables the data source, then startup re-enables the data source and it considers it a different event.

          It may warrant some thinking about a reboot in particular, but in general if one had a state detector of false on a point, which was the state, then disabled the point or source for an indeterminate amount of time, and upon first poll is still in the state, should the event be raised? Currently the answer is yes.

          Or, similarly, does it make sense to say the event is still occurring if the data source is disabled, or is that not known?

          There is almost certainly a workaround but it could take some tinkering. It would probably involve a modification to the custom template to check if some points timestamp is appropriate and some handling to record the startup time or shutdown times such that they are usable.

          Another surprising possibility would be to terminate Mango more aggressively. In Windows, killing the command prompt and in Unix doing a -9 will end the process without shutting down the data sources (which can easily corrupt the last few samples in the database) and then the events will be deemed duplicates at startup and mostly not raise.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post