Configuring shell scripts to run from Cumulus MX alarms
Posted: Tue 13 Aug 2024 9:30 am
I'm running Cumulus MX 3.25.1 b3244 under Ubuntu 22.04 and I'm trying to configure an action to run on detection of a data spike.
I've created a shell script which performs the actions I want and that works from the terminal. Am I able to run it from the "Action" field on the alarms page in CumulusMX? I have tried different ways of configuring it but it does not seem to run the script? At the moment, I just have ~/myScript.sh typed into the Action box. What am I missing?
I can't find much help on this feature so, I'd be grateful for any guidance on how it works.
I've created a shell script which performs the actions I want and that works from the terminal. Am I able to run it from the "Action" field on the alarms page in CumulusMX? I have tried different ways of configuring it but it does not seem to run the script? At the moment, I just have ~/myScript.sh typed into the Action box. What am I missing?
I can't find much help on this feature so, I'd be grateful for any guidance on how it works.