External Python Script/App to mass check specific alert states - Question on LM Alert functionality
Hello!
I've been toying around with the idea of coding up a basic app in the Windows 10 environment that has the following purpose/ functionality:
The Goal:
- Produce a simple program that lists all assigned tickets by ticket number in a Descending column. While having a LED icon of sorts next to each ticket number... RED/ GREEN to distinguish if that ticket has any active alerts.
In Progress / Coding Flow:
- Parse currently assigned tickets that are tracking alerts for various devices. (Ticket system being used is AutoTask)
- Throw the parsed ticket results into a list/ dictionary.
- Scan through the list of ticket references and validate if all the alerts associated to each ticket are active or clear. (Would like to keep it as a simple boolean logic approach of True/False). That would decide whether the LED icon above would be green or red.
- Possibly add a single button that updates the list to see the current state per ticket. / Or have it in a delayed loop until the app is closed for updates.
My Question / Problem:
- My understanding of Logic Monitor when searching for items under the "Alerts" tab and using a specific search string value .. say like, the ticket # that the alert was tagged to is going to show all alerts associated to that value that was search.
- Knowing that each alert will have it's own conditions for clearing (example: value exceeds defined value .. so throw the alert) -- Is there any specific LogicMonitor Documentation that may help in checking multiple "LMDXXXXX' numbers and whether its active/clear?
Thanks in advance for any thoughts!
Project Progress:
https://github.com/LavheyM/pyStateOfAlert