Ad Widget

Collapse

Merge multiple SNMP items to one (for cisci 2950 switch)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nieuwhier
    Junior Member
    • Jun 2007
    • 16

    #1

    Merge multiple SNMP items to one (for cisci 2950 switch)

    Hi,

    I am kind of new to snmp so perhaps I am asking stupid things. Sorry for that

    I add a cisco switch 2950 to my zabbix server. What I see is 26 entries for each INport ifInOctets1-26 and ifOutOctets1-26.

    I am able to make graphs per port. But what I also want to do is a graph for the entire switch. So I want to have ifInOctetsAll and ifOutOctetsAll.

    What is the best way to do this ?

    regards,
    Michel.
  • Jimson
    Senior Member
    • Jan 2008
    • 1327

    #2
    Screens -> Resourse Graph

    Comment

    • nieuwhier
      Junior Member
      • Jun 2007
      • 16

      #3
      Originally posted by Jimson
      Screens -> Resourse Graph
      I think I am missing someting Can you explain please ?

      When I go to screens and choose resource graph I can include graphs I made earlier. But in fact that is my problem. How can I make a graph with the total input and output traffic of the switch.

      Comment

      • luckydb
        Junior Member
        • Mar 2009
        • 2

        #4
        template for cisco 2950

        Hi man, could you please send me an xml template for cisco 2950?

        thx, Lukas


        Originally posted by nieuwhier
        Hi,

        I am kind of new to snmp so perhaps I am asking stupid things. Sorry for that

        I add a cisco switch 2950 to my zabbix server. What I see is 26 entries for each INport ifInOctets1-26 and ifOutOctets1-26.

        I am able to make graphs per port. But what I also want to do is a graph for the entire switch. So I want to have ifInOctetsAll and ifOutOctetsAll.

        What is the best way to do this ?

        regards,
        Michel.

        Comment

        • nelsonab
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2006
          • 1233

          #5
          Originally posted by nieuwhier
          I am able to make graphs per port. But what I also want to do is a graph for the entire switch. So I want to have ifInOctetsAll and ifOutOctetsAll.
          To do this you will need an external script. There is no way to "aggregate" or create a summation of multiple items from within the same host. This has been discussed before. If you can't find anything post back and someone can help you write a script to do this.
          RHCE, author of zbxapi
          Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
          Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

          Comment

          • nieuwhier
            Junior Member
            • Jun 2007
            • 16

            #6
            This is the template I created myself for the HP procurve switch. The naming of the ports can be different of course :-)
            Attached Files

            Comment

            • nieuwhier
              Junior Member
              • Jun 2007
              • 16

              #7
              Originally posted by nelsonab
              To do this you will need an external script.
              Hi! Thx for your response. My posting was from januari 2008 though ;-)

              I solved it by adjusting statistics.

              Comment

              Working...