I know how to create a 3rd alarm based on 2 specific other alarms using triggers. What I want to do is set up a single profile that creates a new alarm when it finds a processes alarm and a logmon alarm with the same profile name. Is there a way to do this with triggers? Some other way to do this using built-in features?
I could script it, but I'd rather not create custom code unnecessarily.
Yes, if I understand your goal, you could create two triggers, one for each probe name, and each could filter on the alarm message for the profile name, e.g., /.*profile_name.*/, then use the triggers with an AND operator to create a new alarm.
Hi Stephen,
I want to avoid having to create a separate AO Profile for each probe profile name (and each robot). We have hundreds of them on thousands of robots.
A long time ago I suggested a feature for having "instances" of triggers, which I think is exactly what you'd want in this case. That was never implemented though. I think your options are one trigger per profile or scripting.
Hi,
Do this with an SQLite database. The principe is pretty close to this script :
GitHub - fraxken/rafale_mode: CA UIM Rafale_mode for NAS
Catch alarm (both processes and logmon or whatever). Save this information in your SQLite database.
And when you know you catched both processed and logmon alarms you wanted (launch a new alarm).
Best Regards,
Thomas