Forum Discussion
- Michael_BakerNeophyte5 hours ago, EleanorGT500 said:
I would like to see if the StackStorm Integration/ Or any type of automation will work with my use case.
Trigger Escalation from an Alarm (HostStatus - Maybe Stackstorm Integration???) -> Login to other Collector in ABCG -> Ping the Device -> If pingable, change the preferred collector -> Generate an Alarm that preferred collector was changed.
Any suggestion is appreciated.
If you look at the GitHub repo they have example of when a collector goes down how to SSH into another machine and run commands on that machine to try fix the collector see these https://github.com/StackStorm-Exchange/stackstorm-logicmonitor/tree/main/actions and https://github.com/StackStorm-Exchange/stackstorm-logicmonitor/tree/main/rules. So you would use this and then further extra end the stackstorm integration to perform anything available in the SDK.. As for triggering that alert you could have a simple datasource if 0 be green if 1 red.. and change change it to 1 when when you swap it?
- EleanorGT500Neophyte
@Michael BakerThanks for this idea... I am trying to implement just a POC. The existing pack works great, just a question regarding the actions. I am trying to use logicmonitor.get_collector_list... how do I add the fields to just return specific fields? It is all using the run.py I can't figure it out how I can add an argument for the fields.
Related Content
- 3 months ago
- 5 months ago
- 5 months ago