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 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
                • dafyreD
                  dafyre @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??:

                  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.

                  You likely can monitor what you want with something like Template SNMP Generic.

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

                    @dafyre 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??:

                    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.

                    You likely can monitor what you want with something like Template SNMP Generic.

                    Are you talking about "Template Module Generic SNMPv2" ? And is that going to get my all network traffic, switch resource info (cpu, power, etc) as well as everything else?

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

                      Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.

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

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

                        Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.

                        That's bizarre... I've got almost 100 servers half a dozen hosts and dozens of switches reporting to our zabbix server.

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

                          @coliver 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??:

                          Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.

                          That's bizarre... I've got almost 100 servers half a dozen hosts and dozens of switches reporting to our zabbix server.

                          I know.. At first I figured it was because I was using the 4 different templates and after I added all 8 switches, it was being over-loaded. But then I realized that it's probably normal to have hundreds of systems sending data to Zabbix, so that shouldn't be the issue.. well it's par for the course for me.

                          I just got LibreNMS up and running and it's working like a charm. Got all my switches added and I'm watching beautiful graphs going before my eyes. It just seems to work. Zabbix was a mess...

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

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

                            @coliver 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??:

                            Well after adding the rest of my switches, Zabbix decided to take a crap... the configuration cache was topping out. I increased the Cachesize from 8 to 16 but things seem to have stopped working anyway... after another day of futile struggling, I decided to just shut down the system and give LibreNMS a try.

                            That's bizarre... I've got almost 100 servers half a dozen hosts and dozens of switches reporting to our zabbix server.

                            I know.. At first I figured it was because I was using the 4 different templates and after I added all 8 switches, it was being over-loaded. But then I realized that it's probably normal to have hundreds of systems sending data to Zabbix, so that shouldn't be the issue.. well it's par for the course for me.

                            I just got LibreNMS up and running and it's working like a charm. Got all my switches added and I'm watching beautiful graphs going before my eyes. It just seems to work. Zabbix was a mess...

                            Glad you got something to work! 😄

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