I am using subsystem ids to distinguish alerts. Some probes like the logmon probe make it easy to assign subsystem ids. Others like the processes and url_response require for each message type for each alarm a new instance of that message. E.g. the process probe requires 16 message types to be defined for each subsystem you want to monitor.
I ended up writing helper scripts (attached) that generate the configuration files, but I do not believe this is the right way to go ahead.
I am wondering if there is a better way to assign subsystem ids than through message types. What are the best practices when it comes to subsystem ids?
Thanks for your help!