Is it possible to create aggregation rules by copying and modifying one of the existing XML files? I have a bunch of new rules I want to create that are very similar, so it seems it would be easy enough to copy the XML and do a simple replace of the unique data in Notepad++. This would allow me to quickly create the new rules without having to go through a bunch of button clicks in the UI.
I tried it with a rule and found the XML file even mentions the need to generate a GUID (making me believe it can be done), but after placing the updated file in the desire Agg Rule folder, I don't see it in DM. Maybe it requires a DM restart to see the new rules?
Hello, Aggregation rules are stored in a hidden element "Skyline Generic Aggregator DMAdmaid" which uses "Skyline Generic Aggregator\Production" protocol. This element is doing the calculations of the aggregation rules. If you add some xml, you will need to find a way to insert the data in the element also keep in mind that alarming and trending is saved in the alarm template and trend template, next to the protocol.xml If you want to create aggregation rules quickly, maybe you can use slnet message UpdateAggregationRuleMessage to create aggregation rules. In QA we use this message to do some automated testing around aggregation. Feel free to contact me for some examples.
Moderator note: Note that instead of working directly in DataMiner XML files, we recommend to always use the correct UI or automation options provided in DataMiner Automation or through our web API.
Thank you both!
Note that SLNET calls are internal and we do not recommend using them, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice.