Allmon only displays info for publicly registered nodes?

As the subject line says… all 3 of my servers/nodes are private and Allmon2 doesn’t display anything other than the initial “welcome” page.

I can login just fine of course…

(from what I’m seeing, I suspect the answer is no)

Allmon will show private node info.

If you see the private node numbers but no description (and you want a description) then you need to rename /var/www/html/allmon2/private.sample.txt and add your info. Then run astdb.php.

If you do not see your private nodes then make sure /etc/asterisk/manager.conf and /var/www/html/allmon2/allmon.ini.php agree on the AMI (Asterisk Management Interface) login.

No, what I mean is Allmon doesn’t show anything other than I’m logged in (screeencap attached). And yes, allmon.ini.php is properly edited

Oh! Then something is wrong with allmon.ini.php or it’s located in the wrong place. If you are using the beta, Supermon is installed which has it’s own allmon.ini.php in a different directory.

Yup, I’m running the beta. Allmon is installed in /var/www/allmon2 and the ini file is located there as well.

I can’t seem to find a directory for Supermon?

Please post your allmon.ini.php less any passwords.

<?php

[Off-site Link]
url=http://google.com
[1001]
host=127.0.0.1:5038
user=admin
passwd=
nomenu=yes
hideNodeURL=yes
[501]
system=System1
host:5038=my.address.com
user=admin
passwd=password2
nomenu=yes
hideNodeURL=yes
[502]
system=System1
host:5038=my.address.com
user=admin
passwd=password2
nomenu=yes
hideNodeURL=yes
[2000]
system=System2
host:5037=my.address.com
user=admin
passwd=password2
[2000 RTCM]
system=System2
rtcmnode=2000
[Grouped Nodes]
nodes=500,501,2000
[2 RTCMs]
system=System2
rtcmnode=2000,2001
?>

(Node # is 1001)

It looks like your allmon.ini.php isn’t parsing correctly. You should have a menubar. Is there anything in /var/log/apache2/error.log that might give us a clew?

Fyi, my beta6 didn’t have a sample allmon.ini.txt. I had to pull it from GitHub. https://raw.githubusercontent.com/tsawyer/allmon2/master/allmon.ini.txt

Oh, this is the problem. Take out the nomenu=yes lines.

[Mon Apr 05 08:46:06.527481 2021] [php7:warn] [pid 32174] [client 10.150.180.34:62748] PHP Warning: syntax error, unexpected ‘!’ in allmon.ini.php on line 7\n in /var/www/allmon2/menu.inc on line 7
[Mon Apr 05 08:46:06.527685 2021] [php7:warn] [pid 32174] [client 10.150.180.34:62748] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/allmon2/menu.inc on line 10
[Mon Apr 05 08:46:06.527725 2021] [php7:warn] [pid 32174] [client 10.150.180.34:62748] PHP Warning: Invalid argument supplied for foreach() in /var/www/allmon2/menu.inc on line 16

Obviously a few php errors. This Pi is running 7.3.27

Also, I removed the nomenu=yes line but that didn’t change a thing

Do you have an ! in one of the passwords?

Yea, I just saw that. Yes I do… I guess that’s a no-no…let me make some changes (why wouldn’t “!” be acceptable?)

It’s called a bug. :frowning:

Guess so…

Ok, changed PW (also in manager.conf) and now it looks good. Thanks for your help!

1 Like

You’re welcome. Glad you got it going.

1 Like

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