Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Configuring shell scripts to run from Cumulus MX alarms

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
bridgetkeble
Posts: 1
Joined: Tue 13 Aug 2024 9:23 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10

Configuring shell scripts to run from Cumulus MX alarms

Post by bridgetkeble »

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.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Configuring shell scripts to run from Cumulus MX alarms

Post by freddie »

Have you tried putting the full path to the script in? Have you checked that the user Cumulus is running as has execute permission on the script?
Freddie
Image
Post Reply