Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Monitoring Multiple Servers on FOP2..

Monitoring Multiple Servers on FOP2..

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 221 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    W
    wb3ffv
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      What you describe is totally logical. There are a set of auto configuration scripts that will point only to the local database, so if you want multiple server monitoring, you do not only need to add an extra manager_host in fop2.cfg, but also hack the autoconfig scripts or do a manual configuration. It is not possible to get a full fop2 config data just from a manager connection, it is much more complicated than that.

      View Post 1752

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups