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

    Zabbix Agent Install Script

    IT Discussion
    zabbix installation script
    7
    22
    6.3k
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      You almost have it, you just need to change your target directories and it should work just fine.

      dafyreD 1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by

        Which dependencies are required prior to starting this script?

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

          @DustinB3403 said in Zabbix Agent Install Script:

          You almost have it, you just need to change your target directories and it should work just fine.

          It already works just fine on Ubuntu and CentOS after a
          apt-get install build-essential or

          yum groupinstall Development.

          🙂

          DustinB3403D 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @dafyre
            last edited by

            @dafyre said in Zabbix Agent Install Script:

            @DustinB3403 said in Zabbix Agent Install Script:

            You almost have it, you just need to change your target directories and it should work just fine.

            It already works just fine on Ubuntu and CentOS after a
            apt-get install build-essential or

            yum groupinstall Development.

            🙂

            So why not just put that into the installer script at the top?

            sudo apt-get install build-essential --yes
            
            dafyreD 1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre @DustinB3403
              last edited by dafyre

              @DustinB3403 said in Zabbix Agent Install Script:

              @dafyre said in Zabbix Agent Install Script:

              @DustinB3403 said in Zabbix Agent Install Script:

              You almost have it, you just need to change your target directories and it should work just fine.

              It already works just fine on Ubuntu and CentOS after a
              apt-get install build-essential or

              yum groupinstall Development.

              🙂

              So why not just put that into the installer script at the top?

              sudo apt-get install build-essential --yes
              

              Because if I do that, the script barfs errors all over the place if it is run on a Non-Debian distro. 🙂

              Edit: This is one of the things I plan to fix.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by

                Also sloppy to use a static IP in the script.

                dafyreD A 2 Replies Last reply Reply Quote 0
                • dafyreD
                  dafyre @DustinB3403
                  last edited by

                  @DustinB3403 said in Zabbix Agent Install Script:

                  Also sloppy to use a static IP in the script.

                  I don't have internal DNS for this, and you will see that it is a variable you can change.

                  During our chat, I realized that I made no mention of adjusting the variables for your environment. I'll add some documentation to it for clarification.

                  1 Reply Last reply Reply Quote 1
                  • A
                    Alex Sage @DustinB3403
                    last edited by

                    @DustinB3403 said in Zabbix Agent Install Script:

                    Also sloppy to use a static IP in the script.

                    Is it, or is it smart? If DNS is down, don't all your server show as down?

                    DustinB3403D dafyreD 2 Replies Last reply Reply Quote 1
                    • DustinB3403D
                      DustinB3403 @Alex Sage
                      last edited by

                      @aaronstuder said in Zabbix Agent Install Script:

                      @DustinB3403 said in Zabbix Agent Install Script:

                      Also sloppy to use a static IP in the script.

                      Is it, or is it smart? If DNS is down, don't all your server show as down?

                      For a public script it's sloppy, even @dafyre agreed. Its fine to be there, but it can't resolve to an internal DNS for the installation of the system. Because it's not internal for you, but internal for @dafyre

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

                        @DustinB3403 said in Zabbix Agent Install Script:

                        @aaronstuder said in Zabbix Agent Install Script:

                        @DustinB3403 said in Zabbix Agent Install Script:

                        Also sloppy to use a static IP in the script.

                        Is it, or is it smart? If DNS is down, don't all your server show as down?

                        For a public script it's sloppy, even @dafyre agreed. Its fine to be there, but it can't resolve to an internal DNS for the installation of the system. Because it's not internal for you, but internal for @dafyre

                        It's been fixed anyhow. 🙂 Now defaults to 127.0.0.1, I think.

                        1 Reply Last reply Reply Quote 1
                        • dafyreD
                          dafyre @Alex Sage
                          last edited by

                          @aaronstuder said in Zabbix Agent Install Script:

                          @DustinB3403 said in Zabbix Agent Install Script:

                          Also sloppy to use a static IP in the script.

                          Is it, or is it smart? If DNS is down, don't all your server show as down?

                          Aaron does have a point in this. The good news is that the zabbix server contacts machines back via IP address when they are auto registered in the system.

                          1 Reply Last reply Reply Quote 0
                          • C
                            cronsloth
                            last edited by

                            Topic has been unattended for some time, but all your github links are giving me 404 errors...

                            I'm sure you are aware of this, but just in-case.. I wanted to check out your agent installer for windows scripts.

                            cheers.

                            dbeatoD 1 Reply Last reply Reply Quote 0
                            • dbeatoD
                              dbeato @cronsloth
                              last edited by

                              @cronsloth If you are looking for WIndows Zabbix agents, I have some scripts here;
                              https://community.spiceworks.com/scripts/show/3985-zabbix-32-bits-client-installation

                              https://community.spiceworks.com/scripts/show/3984-zabbix-64-bits-client-installation

                              Just make sure to have the latest agent files.

                              1 Reply Last reply Reply Quote 0
                              • coliverC
                                coliver
                                last edited by

                                There is also a msi out there that you can compile yourself. Makes it a lot easier.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @coliver
                                  last edited by

                                  @coliver said in Zabbix Agent Install Script:

                                  There is also a msi out there that you can compile yourself. Makes it a lot easier.

                                  Compile yourself?

                                  coliverC 1 Reply Last reply Reply Quote 0
                                  • coliverC
                                    coliver @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in Zabbix Agent Install Script:

                                    @coliver said in Zabbix Agent Install Script:

                                    There is also a msi out there that you can compile yourself. Makes it a lot easier.

                                    Compile yourself?

                                    Compile isn't the right word on this context... I suppose bundle may be more accurate?

                                    https://github.com/cavaliercoder/zabbix-msi

                                    1 Reply Last reply Reply Quote 0
                                    • dbeatoD
                                      dbeato
                                      last edited by

                                      I have always used the following for MSI
                                      http://www.suiviperf.com/zabbix/index.php

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