Hello Dataminer community!
I am following this documentation https://docs.dataminer.services/user-guide/Advanced_Modules/Correlation/Correlation_rule_syntax/Script_condition_functions.html to display properties of alarms, services, elements or views in the value of a correlated alarm. I have tried many different ways of expressing this syntactically, but nothing has worked so far.
As shown in the screenshot, I have "Evaluate Value" checked. In addition, the parameter function and field function are successfully evaluated in the alarm shown in the console. I have tried all four data types: service, alarm, element, and view with no success. I have also gone through many of the properties of those data types (timestamp, location, Created, Id, etc), retrieving these properties from the Custom properties list found in the Surveyor, properties found in the alarm card, and properties listed in the PropertyConfiguration.xml file located in the Skyline DataMiner folder. I have put both the data type and property name in brackets, changed capitalization, and have tried many other variations of syntax.
Hi Ryan,
In order to evaluate properties in a correlation rule, you need to make sure that the option 'Make this property available for alarm filtering' is enabled:
This is valid for views, elements, and services. It is not required for alarm properties.
Once this option is enabled, the values should be replaced accordingly.
Hope it helps.
I have it working now. It seems that the issue I was experiencing was being caused by a DMS synchronization issue in our cluster.
Hi Ryan,
Glad to hear that it worked!
Hello Miguel,
I checked this box for one of the element properties I was trying to get to show up in the alarm console, but Dataminer still did not evaluate the function. In addition, yesterday, I had tried several other properties from elements, services, and alarms which are enabled for alarm filtering, going by the FilterEnabled="true" tag in the PropertyConfiguration.xml, but also had no luck.