Monitoring Multiple Servers on FOP2..
Maybe this is a FreePBX distro issue, but I am not sure. I have a fully licensed version of FOP2, and was trying to get it to monitor both of my machines.
So following the directions, I went and modified fop2.cfg per the information on the help pages here, adding in the new entries for the next machine:
; Server 2 (sample)
manager_host = 10.1.1.14
manager_port = 5038
manager_user = admin
manager_secret = ampxxx
I also made sure the asterisk install was set to accept the connection, and even used telnet to verify I could indeed connect. This all seemed simple enough, so I fire up FOP2 and login, but ONLY my local server info is displayed.
Now here is where it gets weird, I decided as a test to take and comment out my local server settings, and leave only my remote server info in the fop2.cfg file, thinking that it would at least show the remote server then as a test. To my surprise, with ONLY the remote server in fop2.cfg I then restarted fop2, even cleared out my browser cache so I had to log back in, and still it shows only the local info. What? I would have expected it to not even be aware of the local server with that change, but still it displays only the local info. I even ran a find looking for other fop2.cfg files, but only the one existed.
I ask if maybe the FreePBX distro with fop2 is different, as it seems to not only have fop2 files in /usr/local/fop2, but also in /etc/asterisk/fop2 as well, in fact I even tried creating a hard link between fop2.cfg so I was positive the file was available in either directory to be read, but still no change.
Any clues on this one, or how to debunk this problem would sure be most appreciated..
-Howard
So following the directions, I went and modified fop2.cfg per the information on the help pages here, adding in the new entries for the next machine:
; Server 2 (sample)
manager_host = 10.1.1.14
manager_port = 5038
manager_user = admin
manager_secret = ampxxx
I also made sure the asterisk install was set to accept the connection, and even used telnet to verify I could indeed connect. This all seemed simple enough, so I fire up FOP2 and login, but ONLY my local server info is displayed.
Now here is where it gets weird, I decided as a test to take and comment out my local server settings, and leave only my remote server info in the fop2.cfg file, thinking that it would at least show the remote server then as a test. To my surprise, with ONLY the remote server in fop2.cfg I then restarted fop2, even cleared out my browser cache so I had to log back in, and still it shows only the local info. What? I would have expected it to not even be aware of the local server with that change, but still it displays only the local info. I even ran a find looking for other fop2.cfg files, but only the one existed.
I ask if maybe the FreePBX distro with fop2 is different, as it seems to not only have fop2 files in /usr/local/fop2, but also in /etc/asterisk/fop2 as well, in fact I even tried creating a hard link between fop2.cfg so I was positive the file was available in either directory to be read, but still no change.
Any clues on this one, or how to debunk this problem would sure be most appreciated..
-Howard
Comments
View Post 1752