Ad Widget

Collapse

Is this possible?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nullpt
    Junior Member
    • Mar 2007
    • 12

    #1

    Is this possible?

    Hello all,

    I'm trying to install zabbix in a couple of closed networks to gather statistics. But there is an architecture problem. The master server can't run on these closed networks. Is it possible for the agents to gather the data, keep the data payload locally and then export them to the master server with another semi-manual mechanism? Is it also possible for the master server to receive this data in a semi-manual way? (Like introducing the data directly to the database or send the payload data somewhere where it will pick up and process)

    Thanks for the help.
    Regards
  • safl
    Senior Member
    • May 2005
    • 103

    #2
    One solution is to deploy a Zabbix instalation on your master site and in each closed network and then setup MASTER-MASTER replication in your database.

    Eg.

    MASTER-SITE <-> Closed Network1, Closed Network2 ... Closed NetworkN

    Configure each N closed networks to perform master-master replication with your master site (and not with the other closed networks, you can then control dataflow by opening/closing connections to each N Closed network.

    Then you can simply connect and disconnect the connection to your distributed environment and as soon as on site goes offline replication stops but zabbix in the closed environment is still operating properly and as soon as you open the link again the master site will receive the data waiting in your closed network.

    Comment

    • nullpt
      Junior Member
      • Mar 2007
      • 12

      #3
      Safi, thank you for the reply.

      That's exactly the problem. There is no connection.

      The networks are hosted in the clients hosting sites and I access trough a firewalled, ssh only vpn link.

      I need to transfer the stats payload trough ssh montly to generate some reports. There's no monitoring interest, only stats. And yes, zabbix UI is awsome

      Do you think there is a way to pick the payload from an agent server and stick it in the master server so it can work it out or even insert the raw data into the database?

      Thank you in advance
      Regards

      Comment

      • safl
        Senior Member
        • May 2005
        • 103

        #4
        Well if that's the case, then it's pretty easy simply use a monthly cron job to dump the history tables on the monitor server on the "Disconnected network" and then scp them to your master site and import them. Then you're done.

        To make sure that your history data is usable the itemid's needs to match properly. So i would suggest that you configure all that you need to monitor (or whatever you wan't to do in your master server and then use that DB layout on the disconnected sites.

        Enjoy

        Comment

        • nullpt
          Junior Member
          • Mar 2007
          • 12

          #5
          Safl, thank you once more.

          I'm installing this in a test enviroment and I will try such data imports to see how it feets my needs.

          Thanks!

          Comment

          • safl
            Senior Member
            • May 2005
            • 103

            #6
            You're welcome.
            I don't know if it's THE way to solve your problem, perhaps the new satellite features in 1.3 is a more "clean" way to do it, but it's ONE way of solving your problem

            Comment

            Working...