You are here

Alert Messages

16 posts / 0 new
Last post
K7EOK
Alert Messages
I'm trying to re-establish AAM function and AAMM on my nodes.  I'm running various devices on 4.26.1.0

What I've found in my archives and what I find online is aamm_20231007-release-5bfa0be_all.ipk ... and it will not install as a package.  The package installer is looking for .apk format and as the gitlab for AAMM hasn't been updated for two years I think we have a problem.

The advanced settings of Internal Services on the node make reference to Local Message URL and Message Groups ... which sounds a lot like what we used to control with the AAMM package.  Is there a way to place a text file somewhere on the network, point a node at that text file using the advanced settings ... and have this work again?

The documentation at arednmesh.org for this feature is not detailed enough to help.

Thanks,
Ed
nc8q
nc8q's picture
AAM, AAMM: v3.x works, v4.26.1.0 and later ....
Hi, Ed:

I revisited this and got one => 4.26.1.0 (20260416-b8f8ebe0 hap-ac2) to work.
hap-ac3 20260303-6030f5e9 fails
AR750 with 3.25.10.0 works.
AR750 with 20260303-6030f5e9 fails with or without a trailing slash.
loco-m2-xw with 3.25.10.0 fails.
LHG 5HPnD-XL with 3.25.10.0 works.
I am afraid to upgrade and lose this feature. 

73, Chuck
 
K7EOK
Hi Chuck,
Hi Chuck,

When you say you "got one to work" what exactly do you mean?

Also, am I correct that the firmware itself has the ability to visit a file somewhere and display the message in that file ... and the AAMM package was just a nice gui way to place and manage the messages themselves?  I can't figure out how to manually place a text string or file somewhere and have a node pick it up and display the text in the yellow box ...

So would like the AAMM to be able to install on up to date firmware ... yes.  Would also like to understand if the feature can still work without the AAM feature can work without the AAMM manager ... by some brute force method.

Ed
nc8q
nc8q's picture
"got one to work"
Hi, Ed:

This afternoon I configured an AAM on my hap-ac2 that worked 
http://nc8q-ac2.local.mesh/a/status
and none of the others I mentioned earlier displayed an AAM.
Now, several hours later, more are displaying an AAM.
I have downloaded Support Data on many of them.
Maybe I can find something in common or in error among the configurations.
?

73, Chuck
 
AB7PA
Example of implementing alert messages
Ed, here is one example. On one of my AREDN nodes I have a directory called /www/aam which is where all the alert message textfiles are served to other nodes.  Any nodes what want to "opt in" to receive those alert messages from my node will enter the local URL of http://ab7pa-hub/aam



The alert message textfiles can be added, changed, or deleted by logging into the node itself, or they can be created on another LAN-connected computer and copied to the /www/aam directory on the hub node. The AAMM program was simply a file manager with a web interface for adding, changing, or deleting those files.  You could also use any LAN-connected computer with a web server to provide all the alert message textfiles -- it doesn't need to be located on an AREDN node.
nc8q
nc8q's picture
AAM Message Updates
Hi, Steve:

Thank you.

Does AREDN 3.25.10.0 support 0.5 hours? 0.1 hours? 0.01667 hours?
Does AREDN 4.26.1.0 support 0.1 hours? 0.01667 hours?

I do not want to wait a half hour to see whether or not my AAM is configured and working.
:-|

73, Chuck
 
nc8q
nc8q's picture
node-name.txt not working, group working
This may start working in 0.5 hours, but right now,,,
Images:
Live view of my LBE5acGen2f-test node's AAM.
The target (node name) exists on the HTTP server, but AAM does not display.
My configuration.
The group exists on the HTTP server, because it does display.
If both node-name and group exists, it looks like this. 

73, Chuck

 
 
Image Attachments: 
K7EOK
Chuck, your post #5 is
Chuck, your post #5 is exactly what I expected that to look like and you confirmed the location of the files for the messages.  

What I would like to see is the actual text file you placed at http://ab7pa-hub/aam ... as your file is formatted right now to respond to the group "wx" and outputs the specific text you show.  

It's also interesting the original program placed the files in I think /www/aam or something like that.  Also, there was a way to put multiple message groups onto one node?  I see the same text shown as YOUR MESSAGES and WX MESSAGES.

Once you have shared the actual file so we can see format then I might be able to point to a file on a server somewhere ... will experiment.

Ed

Hi again ... Chuck can you share the complete file name and the contents?
nc8q
nc8q's picture
What I would like to see is the actual text file you placed at h
"What I would like to see is the actual text file you placed at http://ab7pa-hub/aam"

Hi, Ed:

That was Steve AB8PA.
You may curl or wget my file here:

wget http://nc8q.ddns.net:48008/wx.txt
--2026-05-03 15:02:25--  http://nc8q.ddns.net:48008/wx.txt
Resolving nc8q.ddns.net (nc8q.ddns.net)... 131.241.26.215
Connecting to nc8q.ddns.net (nc8q.ddns.net)|131.241.26.215|:48008... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61 [text/html]
Saving to: ‘wx.txt’

wx.txt                                  100%[=============================================================================>]      61  --.-KB/s    in 0.1s    

2026-05-03 15:02:28 (598 B/s) - ‘wx.txt’ saved [61/61]

I have created soft links of lowercase filenames of my node names.
The actual file is 1 level above, so it is not accessible via http.

gelmce@HP-Laptop:~$ wget http://nc8q.ddns.net:48008/nc8q-ac2.txt
--2026-05-03 15:05:59--  http://nc8q.ddns.net:48008/nc8q-ac2.txt
Resolving nc8q.ddns.net (nc8q.ddns.net)... 131.241.26.215
Connecting to nc8q.ddns.net (nc8q.ddns.net)|131.241.26.215|:48008... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61 [text/html]
Saving to: ‘nc8q-ac2.txt’

nc8q-ac2.txt                            100%[=============================================================================>]      61  --.-KB/s    in 0.1s    

2026-05-03 15:06:00 (599 B/s) - ‘nc8q-ac2.txt’ saved [61/61]

gelmce@HP-Laptop:~$ 

The AAM is generated by my G8BPQ packet BBS every 10 minutes.
I scrape the NWS WX report and pull out the temperature by
cutting and appending the parts I want to a WX file.
Then I created soft links to that WX file with lowercase file names.

Clear as mud, eh?

3s, Chuck



 
nc8q
nc8q's picture
What I would like to see is the actual text file: AREDN
Hi, Ed:

If you can reach my BBS via AREDN, wget this:

http://nc8q-bpq.local.mesh:8008/wx.txt

3s, Chuck
 
K7EOK
I don't get it.  I created a
I don't get it.  I created a text file called all.txt and placed it in a new directory on my home router node /aam

I pointed the node Local Message URL to http://<nodename>/aam and set time to 0.1 hours

Nothing comes up.  

What's weird in Steve's example #5 above is he says his file is in /www/aam but the node is pointed to <nodename>/aam which seems inconsistent.  Is there something I'm missing here?  Also Chuck's example has a port number instead of a complete url ... so I don't get what's going on here
nc8q
nc8q's picture
new directory on my home router node /aam
"I created a text file called all.txt and placed it in a new directory on my home router node /aam"

Hi, Ed:

I have placed 2 files on nc8q-ac2 as examples:
http://nc8q-ac2.local.mesh/filename.txt
http://nc8q-ac2.local.mesh/aam/filename.txt

Please post the full path to where you placed 'all.txt'.
Nevermind. I found it.

73, Chuck
 
Image Attachments: 
K7EOK
Hi again Chuck,
Hi again Chuck,

What type of device is nc8q-ac2?  Is it an AREDN flashed router, or a separate hostname device with a web server?

We've figured out how to do this on AREDN devices.  We're now trying to get a Linux VM on a attached server to host the *.txt files.  I've tried several VMs running Apache and Nginx.  Not yet figured this out and expect there are some sort of user privilege issues involved.  If we get it running I'll report back.

Thanks,
Ed
nc8q
nc8q's picture
What type of device is nc8q-ac2?
MikroTik hAP ac2

Hi, Ed:

You should be able to view my node if you browse to
http://nc8q-ac2.local.mesh/a/status

73, Chuck
 
Image Attachments: 
nc8q
nc8q's picture
trying to get a Linux VM on a attached server to host the *.txt
The only VM I have ever used is the Linux Proxmox supernode using the instructions in the
documentation on this site.
If you must do this in a Linux VM, someone else will need to join this thread.
-----
"I've tried several VMs running Apache and Nginx."

Are you saying that you have successfully built a web server that can serve (text) files?
(HTML et alia are text files.)
You did not display what you tried...what worked...what failed.
I am 'in the dark' about what you have done.

73, Chuck
 
K7EOK
OK ... all good for now.
OK ... all good for now.

We've been able to get alert messages working from posting files directly on AREDN nodes, and finally also from a connected vm that had nginx running for a web server.  So the AREDN side is verified as working (could use more clear documentation).

I've been in touch with Gerard Hickey and it turns out he has been working to adapt the aamm package to the new .apk format.  We'll continue to test this as this would be the preferred method of deployment.  So all is well for now, no more assitance needed here.

I'm guessing this is going to be a lift for all people who have developed packages for AREDN ... if you have an .ipk version it will only work on firmware up to a date then later AREDN firmware requires the .apk.  Another transition ....   Ed

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer