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

    Quickest way to set up Zabbix to monitor managed switch metrics??

    IT Discussion
    5
    26
    5.1k
    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.
    • dave247D
      dave247
      last edited by

      I've been having tons of network issues lately and one thing I lack is good network visibility. I've asked about snmp here in the past and people have recommended Zabbix. I am considering spending my weekend setting up something to monitor my switches, and if Zabbix isn't too difficult to set up and get going, I will give that a try.

      I've already set up a Debian Linux server a while ago and have nothing going on it currently, so I could use that for Zabbix.

      I'm just asking this because 9 times out of 10, a project like this will have multiple rabbit holes and I worry that I will get half-way thru Zabbix install only to get stuck with some insane complex issue with a Linux dependency or something...

      dave247D 1 Reply Last reply Reply Quote 2
      • dave247D
        dave247 @dave247
        last edited by

        @dave247

        Looks like this might be a good start: https://www.zabbix.com/download?zabbix=3.4&os_distribution=debian&os_version=stretch&db=MySQL

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch
          last edited by

          This is my old guide.
          https://mangolassi.it/topic/10373/install-zabbix-on-centos-7

          dave247D 1 Reply Last reply Reply Quote 3
          • dave247D
            dave247 @JaredBusch
            last edited by

            @jaredbusch said in Quickest way to set up Zabbix to monitor managed switch metrics??:

            This is my old guide.
            https://mangolassi.it/topic/10373/install-zabbix-on-centos-7

            Thanks. If I run into problems with Debian, I'll try CentOS

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

              Beware there are no many Dell PowerConnect or X-Networking Series templates in Zabbix, take a look below:
              http://monitoringartist.github.io/zabbix-switch-template-generator/

              https://github.com/jjmartres/Zabbix/tree/master/zbx-templates/zbx-dell-powerconnect

              dave247D 1 Reply Last reply Reply Quote 2
              • dave247D
                dave247 @dbeato
                last edited by

                @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                Beware there are no many Dell PowerConnect or X-Networking Series templates in Zabbix, take a look below:
                http://monitoringartist.github.io/zabbix-switch-template-generator/

                https://github.com/jjmartres/Zabbix/tree/master/zbx-templates/zbx-dell-powerconnect

                I have N series switches (N3000's)... I can't tell if this means I wont be able to use Zabbix now...

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

                  @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                  @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                  Beware there are no many Dell PowerConnect or X-Networking Series templates in Zabbix, take a look below:
                  http://monitoringartist.github.io/zabbix-switch-template-generator/

                  https://github.com/jjmartres/Zabbix/tree/master/zbx-templates/zbx-dell-powerconnect

                  I have N series switches (N3000's)... I can't tell if this means I wont be able to use Zabbix now...

                  No, it doesn't mean you cannot use it. It means that you need to create your own templates or use a similar one from another switch type.

                  1 Reply Last reply Reply Quote 1
                  • dave247D
                    dave247
                    last edited by

                    I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??

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

                      @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                      I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??

                      User and password is zabbix.

                      dave247D 1 Reply Last reply Reply Quote 1
                      • dave247D
                        dave247 @dbeato
                        last edited by

                        @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                        @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                        I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??

                        User and password is zabbix.

                        That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.

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

                          @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                          @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                          @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                          I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??

                          User and password is zabbix.

                          That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.

                          Mmm try Admin and password zabbix. Make sure to keep the A capital.

                          dave247D 1 Reply Last reply Reply Quote 1
                          • dave247D
                            dave247 @dbeato
                            last edited by

                            @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                            @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                            @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                            @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                            I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??

                            User and password is zabbix.

                            That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.

                            Mmm try Admin and password zabbix. Make sure to keep the A capital.

                            OMFG. Admin with a CAPITAL "A" made it work... thank you good and beautiful kind sir. You have saved me hours of fucking insanity.

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

                              @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                              @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                              @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                              @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                              @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                              I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??

                              User and password is zabbix.

                              That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.

                              Mmm try Admin and password zabbix. Make sure to keep the A capital.

                              OMFG. Admin with a CAPITAL "A" made it work... thank you good and beautiful kind sir. You have saved me hours of fucking insanity.

                              Glad to help.

                              dave247D 1 Reply Last reply Reply Quote 1
                              • dave247D
                                dave247 @dbeato
                                last edited by

                                @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                I actually got Zabbix up and running on Debian 9 with Postgresql. So that was like a first time every getting something up and running without any big rabbit holes. However, now I am at the Zabbix login screen and I can't seem to login as no credentials work. I have tried username/password combos: zabbix/admin, zabbix/[blank], admin/zabbix, admin/blank.... I have tried the password I used during the entire setup of zabbix, which is the same as the linux password.... I CAN NOT GET IN.... anyone have any ideas??

                                User and password is zabbix.

                                That also does not work... my god.. am I actually going to have to do a complete re-install on a different Linux simply because the default username and password don't work??? UNREAL.

                                Mmm try Admin and password zabbix. Make sure to keep the A capital.

                                OMFG. Admin with a CAPITAL "A" made it work... thank you good and beautiful kind sir. You have saved me hours of fucking insanity.

                                Glad to help.

                                Seriously. Thank. YOU.

                                1 Reply Last reply Reply Quote 1
                                • dave247D
                                  dave247
                                  last edited by dave247

                                  So... I spent a while reading through the Zabbix 3.4 documentation. I have added a single host (a Dell N3048 switch) and created an item for CPU (system.cpu.load) as a test. However, I am not really seeing any activity.

                                  On my N series switch, I had also configured SNMPv2 with a community string, enabled traps and then pointed it to the Zabbix server IP. I was wondering, do I need to do anything with the switch's MIBs which are provided with the switch firmware files?

                                  Also, using the template generator someone provided up top (http://monitoringartist.github.io/zabbix-switch-template-generator/), I am not quite sure if I am doing this right: 0_1518280386245_f18bb887-ea5b-49b2-879f-e272a9fc4035-image.png

                                  And then when I go to import the template, it fails:
                                  0_1518280276636_f2d15a48-26e3-4c10-b61c-effbd0378217-image.png

                                  It's saying that data_type is missing. When I view the template's XML file, I see data_type is set to zero. Not sure what it should be set to... I've googled around a bit but everything I find doesn't seem to fit my situation. I'm not quite sure what I need to do to get going with getting switch metrics into Zabbix..

                                  1 Reply Last reply Reply Quote 0
                                  • dave247D
                                    dave247
                                    last edited by

                                    Nevermind.. looks like I got it working.. took a while but I have switch info coming into Zabbix now. Now to add everything else.

                                    dbeatoD 1 Reply Last reply Reply Quote 2
                                    • dbeatoD
                                      dbeato @dave247
                                      last edited by

                                      @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                      Nevermind.. looks like I got it working.. took a while but I have switch info coming into Zabbix now. Now to add everything else.

                                      Good job!

                                      1 Reply Last reply Reply Quote 2
                                      • dave247D
                                        dave247
                                        last edited by

                                        Before I get into the thick of it... and since I don't 100% know what I'm doing... These are the templates I've added for my single test switch:
                                        0_1518293687689_bf12ffbd-aeca-4c09-86f8-c8004d8a08d5-image.png
                                        I seem to be getting a lot of data coming in now for my N3048P switch. I am going to go ahead and set the rest of my 7 switches up with the same templates.. or should I only be using one? I don't want to bog stuff down by sending too much info, if that's even a concern in this case..

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

                                          @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                          Before I get into the thick of it... and since I don't 100% know what I'm doing... These are the templates I've added for my single test switch:
                                          0_1518293687689_bf12ffbd-aeca-4c09-86f8-c8004d8a08d5-image.png
                                          I seem to be getting a lot of data coming in now for my N3048P switch. I am going to go ahead and set the rest of my 7 switches up with the same templates.. or should I only be using one? I don't want to bog stuff down by sending too much info, if that's even a concern in this case..

                                          You can use multiple templates, it will just get the data from each template.

                                          dave247D 1 Reply Last reply Reply Quote 1
                                          • dave247D
                                            dave247 @dbeato
                                            last edited by

                                            @dbeato said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                            @dave247 said in Quickest way to set up Zabbix to monitor managed switch metrics??:

                                            Before I get into the thick of it... and since I don't 100% know what I'm doing... These are the templates I've added for my single test switch:
                                            0_1518293687689_bf12ffbd-aeca-4c09-86f8-c8004d8a08d5-image.png
                                            I seem to be getting a lot of data coming in now for my N3048P switch. I am going to go ahead and set the rest of my 7 switches up with the same templates.. or should I only be using one? I don't want to bog stuff down by sending too much info, if that's even a concern in this case..

                                            You can use multiple templates, it will just get the data from each template.

                                            So do you think that's good enough to get as much useful data as possible? I am interested in monitoring the port-channel trunk links between switches in an attempt to identify any possible congestion issues, etc.

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