Howdy.
I'm aware that you can poll Windows servers for an instance of a specific Event ID from the Windows Event Log. Normally you then use that component monitor's status in the resulting alert. Does anyone know how to use the specific Event ID that was detected in an alert? I know I'm probably looking at custom SQL somewhere but I can't find the specifics from perusing the database.
You may be asking "why do this? You already know the event ID since it's part of the Component definition?!?" I need to do this to draft the logic on the reset action. Here's the scenario:
We have Citrix servers that all get their licensing information from a central licensing server. If the licensing server goes down or if an individual Citrix box cannot contact the licensing server for whatever reason, a series of events are written in the Event log. We can detect that with no issues.
There's a subsequent message written to the Event Log after things are fixed. Different ID number. Ultimately I want to look for the presence of the second ID as the reset condition for the initial condition. If I need to include that ID in the Component monitor so that it's part of the dataset that is available that's fine but I then need to filter the alert to not trigger if the detected ID is X but still trigger if it's Y. And that variable still needs to be available to craft the reset condition.
Any ideas on how to access the detected Event ID in the Alerting system?