• 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

    Adding Alarm Level Types

    How-To
    5
    5
    1.8k
    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.
    • F
      fishfacs
      last edited by

      Is there a way to add custom Alarm Levels to use with my own events, rather than the stock "important", "safety", etc ones?

      1 Reply Last reply Reply Quote 1
      • W
        Wingnut2.0
        last edited by

        Hello fishfacs,

        I had a similar requirement in the past and Phillip provided the solution detailed here. Not sure if anything may have changed since then as its been a while. I hope this helps.

        https://forum.infiniteautomation.com/topic/3367/modify-alarm-level-names/2

        1 Reply Last reply Reply Quote 0
        • Jared WiltshireJ
          Jared Wiltshire
          last edited by Jared Wiltshire

          It is not possible to add/remove or change the colors of the alarm levels. However you can change their translations as @Wingnut2-0 pointed out.

          As he said that information is from a while ago. I would suggest the best way of doing it would be to create a new i18n_en.properties (assuming your language is set to English) file in ${MA_HOME}/overrides/properties/ with this content (modify as necessary)

          common.alarmLevel.none=None
          common.alarmLevel.none.rtn=None - returned to normal
          common.alarmLevel.info=Information
          common.alarmLevel.info.rtn=Information - returned to normal
          common.alarmLevel.important=Important
          common.alarmLevel.important.rtn=Important - returned to normal
          common.alarmLevel.warning=Warning
          common.alarmLevel.warning.rtn=Warning - returned to normal
          common.alarmLevel.urgent=Urgent
          common.alarmLevel.urgent.rtn=Urgent - returned to normal
          common.alarmLevel.critical=Critical
          common.alarmLevel.critical.rtn=Critical - returned to normal
          common.alarmLevel.lifeSafety=Safety
          common.alarmLevel.lifeSafety.rtn=Safety - returned to normal
          common.alarmLevel.unknown=unknown alarm level
          common.alarmLevel.doNotLog=Do not log
          common.alarmLevel.ignore=Ignore
          
          common.alarmLevel.greaterthan.none=>= None
          common.alarmLevel.greaterthan.info=>= Information
          common.alarmLevel.greaterthan.important=>= Important
          common.alarmLevel.greaterthan.warning=>= Warning
          common.alarmLevel.greaterthan.urgent=>= Urgent
          common.alarmLevel.greaterthan.critical=>= Critical
          common.alarmLevel.greaterthan.lifeSafety=>= Safety
          

          Doing it this way means that

          • The file is not overwritten when upgrading
          • Mango will still use updated translation files shipped with new versions of Mango (i.e. you aren't overriding the whole translation file, just the keys you need)

          Developer at Radix IoT

          1 Reply Last reply Reply Quote 1
          • M
            Malaguena
            last edited by

            Hello!

            In this post, I see that we can change name of Alarm Level.
            Is that possible to add some more Alarm level in addition to 7 default levels ?

            Thanks!

            MattFoxM 1 Reply Last reply Reply Quote 0
            • MattFoxM
              MattFox @Malaguena
              last edited by

              @jared-wiltshire said in Adding Alarm Level Types:

              It is not possible to add/remove or change the colors of the alarm levels.

              Do not follow where the path may lead; go instead where there is no path.
              And leave a trail - Muriel Strode

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