Issue getting ALLMON3 to pull date from multilpe nodes

Hello group,

I have two ASL 3 nodes on the same network and I am attempting to monitor both from my main node.
Here is the config I have setup in allmon3.ini.

[585243]
host=127.0.0.1
user=admin
pass=XXXXXXX
multinodes = 585243

[585246]
host=192.168.50.104
user=admin
pass=XXXXXXX
voter=y
votertitle=Megavoter

Node shows up on the dashboard page be not pulling and data.
I have port forwarding setup on 585243 and also set up in RPT.config.

585243 = radio@127.0.0.1:4566/585243,NONE
585246 = radio@192.168.50.104:4563/585246,NONE

Any help would be appreciate.

Thanks

Dave/AD4UU

Please provide useful logging output from journalctl -xeu allmon3. However, some comments:

  • You don’t need multinodes for [585243]. That’s only telling Allmon3 there are multiple nodes on the same IP address.

  • Is node 585246 really running a voter or did you just copy/paste that?

  • Is 585246 running on 192.168.50.104 setup in /etc/asterisk/manager/conf to listen on 0.0.0.0/0 instead of 127.0.0.1?

This log is from 585253 were I am pulling from.

Aug 27 12:06:20 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #74
Aug 27 12:06:20 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:06:20 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:06:35 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #75
Aug 27 12:06:35 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:06:35 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:06:50 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #76
Aug 27 12:06:50 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:06:50 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:07:05 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #77
Aug 27 12:07:05 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:07:05 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:07:20 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #78
Aug 27 12:07:20 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:07:20 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:07:35 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #79
Aug 27 12:07:35 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:07:35 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:07:50 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #80
Aug 27 12:07:50 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:07:50 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:08:05 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #81
Aug 27 12:08:05 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:08:05 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
Aug 27 12:08:20 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - attempting reconnection retry #82
Aug 27 12:08:20 ASL-585243 allmon3[1175]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.50.104:5038: [Errno 113] Connect >
Aug 27 12:08:20 ASL-585243 allmon3[1175]: INFO: (asl_allmon.allmon3_ws_status) node: 585246 - sleeping for RETRY_INTERVAL of 15
lines 242-289/289 (END)

You have node 585246 configured incorrectly. It’s not accepting inbound AMI/manager connections.

Thanks for help. I haven’t found it yet, but will keep looking.

Just wonder if anyone ever figured this out. I am having the same issue. I have been on this for 10 days trying to figure it out. I have read about every single post on it and still nothing. If I change the ports to 5038 and 5039 I get this error WARNING: (asl_allmon.ami_conn) connection failed to 192.168.1.150:5039:5038: then the rest of the line. I have started over 3 times and get the same issue. Any Suggestions?

This is from journalctl -xeu allmon3.
Sep 07 23:35:20 hub152 allmon3[1330]: INFO: (asl_allmon.node_db) populated AllSt arlink database
Sep 07 23:36:13 hub152 allmon3[1330]: ERROR: (asl_allmon.ami_conn) asl_cmd_respo nse() Exception: <class ‘AttributeError’>
Sep 07 23:36:13 hub152 allmon3[1330]: ERROR: (asl_allmon.ami_conn) asl_cmd_respo nse() Message: ‘NoneType’ object has no attribute ‘write’
Sep 07 23:36:13 hub152 allmon3[1330]: WARNING: (asl_allmon.allmon3_ws_status) am i_conn socket problem for node 294150: unhandled error
Sep 07 23:36:13 hub152 allmon3[1330]: WARNING: (asl_allmon.ami_conn) ‘NoneType’ object has no attribute ‘write’
Sep 07 23:36:13 hub152 allmon3[1330]: WARNING: (asl_allmon.ami_conn) ‘NoneType’ object has no attribute ‘close’
Sep 07 23:36:13 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - sleeping for RETRY_INTERVAL of 15
Sep 07 23:36:28 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - attempting reconnection retry #1
Sep 07 23:36:28 hub152 allmon3[1330]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.1.150:5038: [Errno 113] Connect call failed (‘192.168.1.150’, 5038)
Sep 07 23:36:28 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - sleeping for RETRY_INTERVAL of 15
Sep 07 23:36:43 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - attempting reconnection retry #2
Sep 07 23:36:43 hub152 allmon3[1330]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.1.150:5038: [Errno 113] Connect call failed (‘192.168.1.150’, 5038)
Sep 07 23:36:43 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - sleeping for RETRY_INTERVAL of 15
Sep 07 23:36:58 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - attempting reconnection retry #3
Sep 07 23:37:18 hub152 allmon3[1330]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.1.150:5038: [Errno 113] Connect call failed (‘192.168.1.150’, 5038)
Sep 07 23:37:18 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - sleeping for RETRY_INTERVAL of 15
Sep 07 23:37:33 hub152 allmon3[1330]: INFO: (asl_allmon.allmon3_ws_status) node: 294150 - attempting reconnection retry #4
Sep 07 23:37:33 hub152 allmon3[1330]: WARNING: (asl_allmon.ami_conn) connection failed to 192.168.1.150:5038: [Errno 113] Connect call failed (‘192.168.1.150’, 5038)

manager.conf
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0 ; Comment when not localhost access

[admin]
secret = 123456
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

allmon3.ini
[294152]
host=127.0.0.1
user=admin
pass=123456

[294150]
host=192.168.1.150
user=admin
pass=123456

Does the host 192.168.1.150 have a local firewall?

Not that I am aware of. Just some more info that may or may not help. I have 3 nodes, only worried about the 2. It works on its own, for example I can see 294150 and 294152 by itself. Just cant see the added node. It is all on the same LAN and is wired through a un-managed network switch.

Side note, as a test i completely disabled the firewall on 294150 and it all started to work as it should.

Glad you found the source of the issue.

Thank you for pointing that out. My router will do all my firewall stuff from here on out.

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