Discussion:
Tutorial request
wbricks
2012-04-24 22:57:55 UTC
Permalink
wbricks [http://community.zenoss.org/people/wbricks] created the discussion

"Tutorial request"

To view the discussion, visit: http://community.zenoss.org/message/66051#66051

--------------------------------------------------------------
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?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66051#66051]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-04-25 01:26:43 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Tutorial request"

To view the discussion, visit: http://community.zenoss.org/message/66040#66040

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66040#66040]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
wbricks
2012-04-25 02:19:22 UTC
Permalink
wbricks [http://community.zenoss.org/people/wbricks] created the discussion

"Re: Tutorial request"

To view the discussion, visit: http://community.zenoss.org/message/66052#66052

--------------------------------------------------------------
Thanks for the reply - I will look in to that.  The device I'm working on is a specialized switch, but I assume the same technique should apply to any scenario.  For instance, if I want to monitor devices that arbitrary number of CPU cores, right now I create graphs that pull all possible ones (32 cores in my case), although that leaves a large number of them in graphs as NaN for a device that has only 8 cores.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66052#66052]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jcurry
2012-04-30 18:51:13 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: Tutorial request"

To view the discussion, visit: http://community.zenoss.org/message/66166#66166

--------------------------------------------------------------
My ZenPack paper ( http://community.zenoss.org/docs/DOC-10268 http://community.zenoss.org/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 http://community.zenoss.org/docs/DOC-3583 http://community.zenoss.org/docs/DOC-3583 .

Cheers,
Jane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66166#66166]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...