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.
Adding Alarm Level Types
-
Is there a way to add custom Alarm Levels to use with my own events, rather than the stock "important", "safety", etc ones?
-
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
-
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)
-
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!
-
@jared-wiltshire said in Adding Alarm Level Types:
It is not possible to add/remove or change the colors of the alarm levels.