ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Install Zabbix on CentOS 7

    IT Discussion
    how to zabbix zabbix 3.0 zabbix server centos 7 centos
    13
    51
    12.5k
    Loading More Posts
    • 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.
    • S
      Sparkum @Ambarishrh
      last edited by

      @Ambarishrh

      I think its worth noting that its with a capital "A"
      As I definitely typed it wrong alot before realizing

      0_1471639643395_Zabbix.PNG

      AmbarishrhA 1 Reply Last reply Reply Quote 0
      • AmbarishrhA
        Ambarishrh @Sparkum
        last edited by

        @Sparkum said in Install Zabbix on CentOS 7:

        @Ambarishrh

        I think its worth noting that its with a capital "A"
        As I definitely typed it wrong alot before realizing

        0_1471639643395_Zabbix.PNG

        Thanks @Sparkum will check and update 🙂

        1 Reply Last reply Reply Quote 0
        • RomoR
          Romo
          last edited by

          Just finished setting up a Zabbix vm following the guide =).

          JaredBuschJ 1 Reply Last reply Reply Quote 2
          • JaredBuschJ
            JaredBusch @Romo
            last edited by

            @Romo said in Install Zabbix on CentOS 7:

            Just finished setting up a Zabbix vm following the guide =).

            I need to finish the guide and figure out the SELinux issues.

            RomoR 1 Reply Last reply Reply Quote 0
            • RomoR
              Romo @JaredBusch
              last edited by

              @JaredBusch It's true, totally forgot we used setenforce 0 in the guide, so I am not actually finished just yet then =P

              1 Reply Last reply Reply Quote 1
              • RomoR
                Romo
                last edited by

                Using setsebool -P httpd_can_connect_zabbix=1 everything appears to be working.

                1 Reply Last reply Reply Quote 1
                • S
                  Sparkum
                  last edited by

                  So I've got this installed, I've got the agent installed on my windows box, but just cant get any data to send.

                  I can telnet from Zabbix to windows box on 10050 but not the other way around.

                  Would that be my issue or no?

                  Thanks

                  RomoR 1 Reply Last reply Reply Quote 0
                  • RomoR
                    Romo @Sparkum
                    last edited by

                    @Sparkum Agents listen on port 10050 and apparently the server listens on port 10051;

                    so runnning the following on the server:
                    firewall-cmd --permanent --add-port=10051/tcp
                    systemctl restart firewalld

                    Should get the agents connecting properly to the server, I haven't tested it because I have not set any agents to monitor yet in the lab, but from reading the documentation is should work.

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      Sparkum @Romo
                      last edited by

                      @Romo
                      Hmm still no, silly Z doesnt wanna turn green.

                      I assume if I added a linux box I would be up in second.

                      RomoR 1 Reply Last reply Reply Quote 0
                      • RomoR
                        Romo @Sparkum
                        last edited by

                        @Sparkum Can you post your dashboard please =). Did you activate the host, Configuration>hosts>yourhost>enable?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Sparkum @Romo
                          last edited by Sparkum

                          @Romo

                          Sorry just a screenshot of my dashboard?

                          Yep, host is enabled.

                          I'm getting stats from the Zabbix agent, just now windows agent.

                          0_1472064751862_Zabbix.PNG

                          RomoR 1 Reply Last reply Reply Quote 0
                          • RomoR
                            Romo @Sparkum
                            last edited by Romo

                            @Sparkum So its working now, right?

                            S 1 Reply Last reply Reply Quote 0
                            • wirestyle22W
                              wirestyle22
                              last edited by

                              I'm going to try this tonight.

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sparkum @Romo
                                last edited by

                                @Romo

                                Zabbix is working, zabbix agent on the server is working, just cant get any communication from windows agent, so not sure if you have any experience with the windows agent or not.

                                dafyreD 1 Reply Last reply Reply Quote 0
                                • dafyreD
                                  dafyre @Sparkum
                                  last edited by

                                  @Sparkum said in Install Zabbix on CentOS 7:

                                  @Romo

                                  Zabbix is working, zabbix agent on the server is working, just cant get any communication from windows agent, so not sure if you have any experience with the windows agent or not.

                                  Have you checked the windows firewall? There's Zabbix is usually blocked by it.

                                  Also, check the zabbix_agentd.conf file on your Windows box and make sure the Server and ServerActive IP addresses are set to your Zabbix Server's ip?

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Sparkum @dafyre
                                    last edited by

                                    @dafyre

                                    Both are set to 192.168.1.167 (which is internal IP of zabbix server)

                                    And I created inbound and outbound rules for 10050 and 10051

                                    dafyreD 1 Reply Last reply Reply Quote 0
                                    • dafyreD
                                      dafyre @Sparkum
                                      last edited by

                                      @Sparkum said in Install Zabbix on CentOS 7:

                                      @dafyre

                                      Both are set to 192.168.1.167 (which is internal IP of zabbix server)

                                      And I created inbound and outbound rules for 10050 and 10051

                                      Got the 10050 and 10051 open on your Zabbix server?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sparkum @dafyre
                                        last edited by

                                        @dafyre

                                        Well I did this

                                        firewall-cmd --permanent --add-port=10051/tcp
                                        firewall-cmd --permanent --add-port=10050/tcp

                                        So I assume yes?

                                        How exactly would I check, sorry

                                        dafyreD 1 Reply Last reply Reply Quote 0
                                        • dafyreD
                                          dafyre @Sparkum
                                          last edited by dafyre

                                          @Sparkum said in Install Zabbix on CentOS 7:

                                          @dafyre

                                          Well I did this

                                          firewall-cmd --permanent --add-port=10051/tcp
                                          firewall-cmd --permanent --add-port=10050/tcp

                                          So I assume yes?

                                          How exactly would I check, sorry

                                          Did you

                                          firewall-cmd --reload ?

                                          Edit: That's a good question... I'm not sure about how to do that with firewalld.

                                          S RomoR 2 Replies Last reply Reply Quote 0
                                          • S
                                            Sparkum @dafyre
                                            last edited by

                                            @dafyre

                                            Yep I've reloaded and rebooted.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post