Archived community.zenoss.org | full text search
Skip navigation
1361 Views 3 Replies Latest reply: Apr 30, 2012 2:51 PM by jcurry RSS
wbricks Newbie 4 posts since
Jun 4, 2008
Currently Being Moderated

Apr 24, 2012 6:57 PM

Tutorial request

I'm looking for a tutorial in how to generate graphs similar to the built in "interfaces" section.  I want to go to walk a MIB branch, match the number of leaves on it, and generate a unique graph on each leaf.  For instance, say I have a device that has:

 

.1.3.6.1.4.1.XXX.3.1.[1-4].[1-2]

 

.1.3.6.1.4.1.XXX.3.1.1.1 = valueA1

.1.3.6.1.4.1.XXX.3.1.1.2 = valueA2

.1.3.6.1.4.1.XXX.3.1.2.1 = valueB1

.1.3.6.1.4.1.XXX.3.1.2.2 = valueB2

.1.3.6.1.4.1.XXX.3.1.3.1 = valueC1

.1.3.6.1.4.1.XXX.3.1.3.2 = valueC2

.1.3.6.1.4.1.XXX.3.1.4.1 = name1

.1.3.6.1.4.1.XXX.3.1.4.2 = name2

 

The final [1-2] will be an different number per device, so I won't know exactly how many entries are in in advance.  I want to plot .1.3.6.1.4.1.XXX.3.1.X.1 and .1.3.6.1.4.1.XXX.3.1.X.2 on two separate graphs, linked to their names.  This is pretty much exactly like the interface graphs, but I don't see a way of doing it.  Can anyone point me in the right direction?

  • dpetzel Rank: Brown Belt 1,141 posts since
    Oct 17, 2010
    Currently Being Moderated
    1. Apr 24, 2012 9:26 PM (in response to wbricks)
    Re: Tutorial request

    Its tough to answer without knowing the device type in question, but at a high level you probably want to look at adding a new component type. You should look Jane Curry's ZenPack development paper

  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008
    Currently Being Moderated
    3. Apr 30, 2012 2:51 PM (in response to wbricks)
    Re: Tutorial request

    My ZenPack paper ( docs/DOC-10268  ) actually uses as an example, switches that support the BRIDGE MIB so hopefully you should find that it maps reasonably well to what you want to do.  The Bridge MIB ZenPack is aalso available at docs/DOC-3583 .

     

    Cheers,

    Jane

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points