Ad Widget

Collapse

Five questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rudolf
    Member
    • Dec 2004
    • 90

    #1

    Five questions

    Hi Forum. I want to discuss some questions here.

    1. Let’s say my zabbix server is in a local network, IP 192.168.1.100 for example. It should be possible to monitor a friends computer. I want to use (the recommended) polling method. All I have to know is his public IP. My friend needs to install the zabbix agent (zabbix_agentd for Linux, ZabbixW32.exe if he has a Windows computer). In zabbix_agentd.conf he writes the IP of my zabbix server. And as a last step, my friend needs to open his firewall for my server. That’s all, and I am able to monitor his computer. Correct?

    2. Why is the Server Polling Method better then the listen method?

    3. Can a agent be configured to accept 2 or more zabbix server? (Important question)

    4. Let’s say I run zabbix for 2 months. Now I just set up a new Linux computer, with all packages zabbix need. I download zabbix and compile and install it on the new server. I copy the zabbix_*.conf files from the old server to the new one. Will it work if I backup the whole zabbix MySQL database and restore it on the new server? I want to keep my old configurations of users, hosts, items, triggers, maps, graphs, screens. Can I choose if I also want to copy all the restored data from the zabbix clients or just the configurations, by specifying what tables to copy?

    5. If I want to compile and install the newest Alpha version, can I just compile it and overwrite the old files? Or is it recommended to delete all old files, including the Zabbix MySQL database, and compile/install it again completely? Oh, I just read something about Upgrading in the documentation.

    Sorry if I ask maybe questions that are discussed in the documentation or in other forum threads.

    Greetings
    Rudolf
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Three answers

    Originally posted by Rudolf
    1. Let’s say my zabbix server is in a local network, IP 192.168.1.100 for example. It should be possible to monitor a friends computer. I want to use (the recommended) polling method. All I have to know is his public IP. My friend needs to install the zabbix agent (zabbix_agentd for Linux, ZabbixW32.exe if he has a Windows computer). In zabbix_agentd.conf he writes the IP of my zabbix server. And as a last step, my friend needs to open his firewall for my server. That’s all, and I am able to monitor his computer. Correct?
    It is correct.
    Originally posted by Rudolf
    3. Can a agent be configured to accept 2 or more zabbix server? (Important question)
    Yes. See http://www.zabbix.com/manual_config_files.php, parameter Server of zabbix_agentd.conf: Comma-delimited list of IP addresses of ZABBIX servers. Connections from other IP addresses will be rejected.
    Originally posted by Rudolf
    5. If I want to compile and install the newest Alpha version, can I just compile it and overwrite the old files? Or is it recommended to delete all old files, including the Zabbix MySQL database, and compile/install it again completely? Oh, I just read something about Upgrading in the documentation.
    Just follow the upgrade procedure from the manual. Old data can be easily upgraded.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Rudolf
      Member
      • Dec 2004
      • 90

      #3
      Thanks

      Thank you for your answers. I just have to find a solution how to make a backup of all the configurations, and restore it on another server.
      By the way, Zabbix is a great and useful tool. Thanks.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Just copy configuration files (*.conf) and don't forget about the database. mysqldump is useful tool for backup/restore operations.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...