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
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
Custom Alarm Function
Moderator: mcrossley
- dazza1223
- Posts: 910
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Custom Alarm Function
it says this -bash: mail: command not found
- dazza1223
- Posts: 910
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Custom Alarm Function
ok i got the mail set up right now ive test a dummy email from the pi and it work when i run this command when cmx is running it email me saying cmx is down even if i stop cmx it still says the same
this is the out put off the command
pi@Cumulusmx:~ $ nc -zw 2 10.0.0.60:8998 && { echo "CumulusMX up" ; } || { `mail -r darren@davisworthing.co.uk -s "[LAN monitor]: CumulusMX check" darren@davisworthing.co.uk <<< 'CumulusMX is down'` ; }
nc: missing port number
this is the out put off the command
pi@Cumulusmx:~ $ nc -zw 2 10.0.0.60:8998 && { echo "CumulusMX up" ; } || { `mail -r darren@davisworthing.co.uk -s "[LAN monitor]: CumulusMX check" darren@davisworthing.co.uk <<< 'CumulusMX is down'` ; }
nc: missing port number
-
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: Custom Alarm Function
Look at the original command I shared - there is no colon (:) between the MX IP address and port number.
- dazza1223
- Posts: 910
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Custom Alarm Function
yes that was the error it is working now thank you
-
watsonm
- Posts: 209
- Joined: Sun 03 Jan 2016 3:39 pm
- Weather Station: N96GY -but like Triggers Broom!!
- Operating System: Raspberry Pi4 Vers:11 Bullseye
- Location: Poundbury, Dorset
Re: Custom Alarm Function
Just for information if it helps anyone with sending messages:
I use an application called Pushover
This allows me to send messages that end up on the status bar of my mobile phone as well as saved into the app. I have one Raspberry PI that tracks aircraft and I have written Python code to ping me when particular aircraft are close by (Aircraft Photography another Hobby/obsession !
) so it needs to be real time.
My second Raspberry Pi is the CMX system which is driven by my Python code due to dead console and the fact I am a retired programmer who can't let go! This receives the data from the sensors and the code includes heart beat monitoring and I get "pinged" when a sensor hasn't reported in (configurable time) . I have six different transmitters so one could fail and I may not notice. It also pings my phone with the data from the WH57 when lightning is detected.
I appreciate that most people don't use python to drive their system but users could add some python/perl/php code to do there own monitoring of realtime.txt or whatever (not got around to looking for alarms yet!). Integrating it into CMX code could well incur subscription costs I believe so that is probably a no-no whereas individual users would pay a one off cost of $4.99.

Edit: Looked at the Alarms settings in CMX and produced a script to send specific alarms to phone using Pushover. Will describe in more detail if required.
I use an application called Pushover
(disclosure I have no association with this app other than as a user)
This allows me to send messages that end up on the status bar of my mobile phone as well as saved into the app. I have one Raspberry PI that tracks aircraft and I have written Python code to ping me when particular aircraft are close by (Aircraft Photography another Hobby/obsession !
My second Raspberry Pi is the CMX system which is driven by my Python code due to dead console and the fact I am a retired programmer who can't let go! This receives the data from the sensors and the code includes heart beat monitoring and I get "pinged" when a sensor hasn't reported in (configurable time) . I have six different transmitters so one could fail and I may not notice. It also pings my phone with the data from the WH57 when lightning is detected.
I appreciate that most people don't use python to drive their system but users could add some python/perl/php code to do there own monitoring of realtime.txt or whatever (not got around to looking for alarms yet!). Integrating it into CMX code could well incur subscription costs I believe so that is probably a no-no whereas individual users would pay a one off cost of $4.99.
Hope it's of use to someone...For individuals, after a 30-day free trial, it costs $4.99 USD once, per-platform (iPhone/iPad, Android, Desktop), to use on all of your own devices on that platform as you want. There are no monthly or yearly fees and you can receive as many notifications as you can handle.
Edit: Looked at the Alarms settings in CMX and produced a script to send specific alarms to phone using Pushover. Will describe in more detail if required.
- dazza1223
- Posts: 910
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Custom Alarm Function
Is anyone else haveing a issue for sending mail on buster?