Allmon3 VOTER Configuration

I run a VOTER system on a private Asterisk/app_rpt network. I have switched to ASL3 without issues - however, I am unable to get voter.html to function correctly in Allmon3. I am sure I have made a configuration error, but I’m unable to catch my error(s) after reading the Allmon3 documentation.

Debian 12 amd64 VM + ASL3 (fully updated)

; allmon3/allmon3.ini
[1117]
host=127.0.0.1
user=admin
pass=supersecretpassword
voter=y
votertitle=TEST
; asterisk/manager.conf
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0 ; Comment when not localhost access

[admin]
secret = supersecretpassword
read = all,system,call,log,verbose,command,agent,user,config
write = all,system,call,log,verbose,command,agent,user,config
;deny = 0.0.0.0/0.0.0.0         ; Uncomment when not localhost
;permit=1.2.3.4/255.255.255.255 ; Uncomment when not localhost

When attempting to access /allmon3/voter.html#1117, I am greeted with an undefined API error:

image

The logs do not show anything super detailed:

Jul 22 15:58:03 ASL3 systemd[1]: Starting allmon3.service - Allmon3 daemon...
Jul 22 15:58:03 ASL3 systemd[1]: Started allmon3.service - Allmon3 daemon.
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (asl_allmon.web_configs) Allmon3 Master HTTP port is 16080
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (asl_allmon.web_configs) Allmon3 websockets starting port is 16700
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (asl_allmon.web_configs) Binding sevices to all addresses
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (allmon3) starting status ws 1117@127.0.0.1 on port 16700
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (allmon3) starting cmd ws 1117@127.0.0.1 on port 16701
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (allmon3) starting allmon3 master ws on port 16080
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (allmon3) starting node_db updater
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (asl_allmon.node_db) Retrieving database from https://allmondb.allstarlink.org/
Jul 22 15:58:03 ASL3 allmon3[258073]: INFO: (asl_allmon.allmon3_ws_status) broadcasting status for 1117 on port 16700
Jul 22 15:58:04 ASL3 allmon3[258073]: INFO: (asl_allmon.node_db) Updated node database in 0.78 seconds
Jul 22 15:58:04 ASL3 allmon3[258073]: INFO: (asl_allmon.node_db) populated AllStarlink database
Jul 22 15:58:24 ASL3 allmon3[258073]: ERROR: (asl_allmon.allmon3_server) 1117

It is not clear to me from the Node Configuration section of the documentation what exactly the voters option accomplishes. The description states:

voters - List voters on this server, comma separate. No value disabled voters

but I have yet to see an example of how this is properly used. Do I need to define this?

I can see several public Allmon3 servers with VOTER displays that appear to be working fine, so I’m sure I am missing something simple. Unless… am I the first one to try using a private node # (<2000)?

As always, massive thanks to the ASL team and everyone who supports open-source projects like this one.

You’re mixing config directives between allmon3.ini and web.ini. For allmon3.ini you need voters=1117. The voter-titles is a stanza in web.ini.

I see… the following allmon3.ini does work without issue:

[1117]
host=127.0.0.1
user=admin
pass=supersecretpassword
voters=1117

My confusion is due to the documentation showing the following:

Here’s an example…:

[48496]
host=192.2.0.145
user=admin
pass=password
voter=y
votertitle=Megavoter

According to the table of options directly above the example in the documentation, voter and votertitle are not valid options for allmon3.ini.

Perhaps the example should be changed to:

[48496]
host=192.2.0.145
user=admin
pass=password
voters=48496

Oh, that’s a good catch and my mistake. I was copy-pasting in different parts of various repo README.md contents to build the page. That was an early pre-beta format for the voter configuration. I’ll get that fixed.

@N8EI I do believe “colocated_on = 1234” works, however is not documented. It does make it easier than listing out the host, user, and pass for each node that is colocated on the same server.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.