Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

Dev Chat 02/17/2011

VERSION 1 
Created on: Apr 28, 2011 10:43 AM by Nick Yeates - Last Modified:  Apr 28, 2011 10:46 AM by Nick Yeates

--- Log opened Thu Feb 17 00:00:00 2011
00:21 < rhettardo> from the minimal usage ive done since upgrading to 3.1....i still see problems
03:20 < mducharme> evening
03:36 < mducharme> my company is looking at hiring someone to develop a zenpack for us...
03:36 < mducharme> I know how to develop zenpacks but do not have the time, I have too many other responsibilities, and we need to get something developed
03:37 < mducharme> not sure whether anybody here would be interested
03:53 < Sam-I-Am> mducharme: check back during the day
03:53 < Sam-I-Am> well, US day
03:57 < mducharme> yeah I will tomorrow
05:18 < Sam-I-Am> ah HA
05:18 < Sam-I-Am> i found out whats happening with zenmib on this mib
05:18 < Sam-I-Am> Feb 16 22:17:57 netmon kernel: smidump[27612]: segfault at 0000000000000008 rip 00002ba51daba22d rsp 00007fffc29010d0 error 4
06:56 < froztbyte> Sam-I-Am: hah
06:56 < froztbyte> OOM \o/
10:22 < sergeymasushko> I tried to send an snmp trap (as was described in the manual) without success... can someone help me with it? It gives an error: s: Missing type/value for variable
12:40 < zykes-> hmm, how can i get a device based on hostname in dmd ?
13:53 < fragfutter> zykes-: dmd.Devices.findDevice('name')
13:55 < zykes-> fragfutter: you know how i can reload transforms ?
13:55 < fragfutter> nope
14:03 < kokey> what would be the easiest way to print the current value of ${here/os/totalSwap} for a particular device?
14:03 < kokey> i have a feeling it's a funny number in checkpoint
14:08 < kokey> >>> d = dmd.Devices.findDevice('prd-extra-fw10')
14:08 < kokey> >>> d.os.totalSwap
14:08 < kokey> i figured that out by myself
14:08 < kokey> i feel so clever now
14:11 < froztbyte> hahah
14:12 < froztbyte> afternoon kokey
14:14 < Sam-I-Am> froztbyte: you think my smidump problem is oom?
14:15 < froztbyte> well, it's not impossible for it to be bad data crashing it, but a segfault like that is often OOM
14:15 < froztbyte> given that the rest of the stuff doesn't cause a segfault
14:16 < Sam-I-Am> hmm, wonder why its being singled out
14:17 < Sam-I-Am> the box is not out of ram, but i'm also not convinced the oom killer actually works right
14:17 < Sam-I-Am> time to roll into work
14:18 < Sam-I-Am> would be useful if the kernel logged when it used the oom killer
14:18 < froztbyte> no, might not be the OOM killer, might be the process itself that's dying
14:18 < froztbyte> the kernel does log when the killer gets invoked
14:22 < fragfutter> oom logs that it is running
14:31 < kokey> hmmm
14:31 < kokey> i just installed enterprise on 3.0.3
14:31 < kokey> and now it looks like 3.1 is out
14:31 < kokey> i wonder if i should migrate now instead of later
14:32 < kokey> because i also think at the rate i'm finding bugs and feeding them back to support i might as well do it on 3.1 and help everyone all round
14:41 < fragfutter> kokey: productive system or evaluation?
14:41 < kokey> fragfutter: limbo really
14:42 < kokey> we're busy getting it ready for production
14:42 < kokey> been evaluating core for a few months, gone enterprise last week
14:42 < kokey> all alerts are disabled while i'm working on making enterprise sane
14:42 < kokey> so it might be a better time than any other to go 3.1
14:43 < kokey> it will be about 2 months before we switch off the current production system which is loosely based on openview
14:43 < fragfutter> at some point before you go live you need to freeze and live with the bugs. your decission.
14:46 < zykes-> how can i install a MIB that depends on another one ?
14:48 < zykes-> "2011-02-17 14:48:27,316 WARNING zen.ZenMib: Unable to find a file that defines LLDP-MIB"
14:48 < zykes-> but the mib that has LLDP-MIB is installed already
14:49 < kokey> i wonder if you can change the order it loads it
14:50 < zykes-> how you mean then ?
14:50 < zykes-> if i do
14:50 < kokey> fragfutter: yeah i have to decide if April is a good or bad time to freeze on 3.1 or not yet
14:50 < zykes-> smidump -p ieee8021ab.mib lldpxdcbx.mib
14:50 < zykes-> it works fine
14:51 < kokey> zykes-: weird, perhaps ZenMib is evaluating things differently from smidump
14:58 < zykes-> hmm
14:58 < zykes-> is there a list of what mib's that zenoss comes with oob ?
15:07 < Sam-I-Am> kokey: do you have the physical lldp-mib available to zenmib?
15:09 < zykes-> Sam-I-Am: when you load an mib, does it register a path for it then or ?
15:10 < Sam-I-Am> well, it loads it into the database, but ALSO expects you to copy the original file to $ZENHOME/share/mibs/site
15:10 < Sam-I-Am> so it can reference it as a dependency for other mibs
15:10 < zykes-> yeh, i found that
15:10 < zykes-> moved my files in there, then it worked
15:10 < kokey> aah
15:10 < Sam-I-Am> so if you import a mib, then delete the mib file, zenoss will work but maybe not when you add more mibs
15:10 < kokey> i must make note for the future then
15:13 < kokey> i still have to say how nice the interface has been since increasing the zope cache tenfold
15:13 < froztbyte> Schrodinger's cat walks into a bar and doesn't.
15:13  * froztbyte chuckles
15:13 < Sam-I-Am> nerd
15:14 < froztbyte> ^_^
15:20 < kokey> froztbyte: you would think you are on the hivemind list or something
15:20 < froztbyte> haha
15:20 < froztbyte> speaking of, we're roping someone else in now too
15:21 < kokey> maybe you are, since i just sent that to there
15:21 < froztbyte> I am
15:21 < froztbyte> where do you think I know all you people from? ;P
15:21 < Sam-I-Am> hell
15:22 < kokey> froztbyte: dude i didn't know it was you i thought i was supposed to know you
15:22 < froztbyte> bwahahaha
15:22 < kokey> i could have just started to type your nick into my gmail search
15:22 < froztbyte> yup
15:22 < kokey> crazy things like this happens to me all the time tho
15:23 < kokey> especially now that i'm back in london
15:23 < kokey> puppet labs comes to visit london, go to their event, and bump into people i worked with at intekom back in 1998
15:27 < zykes-> anyone here using ibm bladecenter + bnt ?
15:30 < Jane_Curry> Has anyone put up 3.1 yet???
15:30 < Sam-I-Am> newp
15:34 < subbu> @kokey:i have evaluated the zenoss ent for downloads ; but i havent got any rpms for that
15:34 < zykes-> what's better with snmpvp3
15:34 < zykes-> then snmpv2?
15:35 < fragfutter> zykes-: authentication and authorization
15:35 < fragfutter> Jane_Curry: i updated to 3.1 this morning. nothing obvious broke
15:38 < froztbyte> from, 3.0.2 or something?
15:38 < fragfutter> what was the previous stable 3.0.3? from that one.
15:39 < froztbyte> okay
15:53 < zykes-> does snmp v3 stuff affect traps as well ?
15:53 < Sam-I-Am> 3 does not do traps
15:54 < zykes-> what's traps for then ?
15:55 < Sam-I-Am> they use 1 and 2
15:58 < zykes-> Sam-I-Am: doesn't v3 do anything similar?
16:03 < Sam-I-Am> zykes-: i dont think v3 works for trapping
16:03 < subbu> does the 3.0.3 Ent have the same bugs which reported in the core ?
16:03 < Sam-I-Am> mostly due to authentication stuff
16:08 < St3v3o> does anyone have recommendations for migrating zenoss from one hardware to another ?
16:13 < rm-rf> i tried migrating by restoring a backup, and it blew up the fresh system
16:14 < St3v3o> I think I'll try this docs/DOC-8583
16:14 < rm-rf> let us know how it goes
16:15 < St3v3o> I forsee pain in my future
16:15 < rm-rf> as do i
16:15 < rm-rf> take lots of notes
16:15 < St3v3o> haha
16:15 < St3v3o> yeah I need to see if I can move a copy in place to test upgrading from 3.0.2 -> 3.1.0
16:17 < St3v3o> I may try to create a puppet module to see what I can manage also while I"m doing this
16:22 < kokey> anyone know how to configure snmp polling on a netapp?
16:24 < kokey> you know it really works on my nerves that when people think of snmp, they immediately think traps
16:41 < zykes-> i forsee a veeam backup of my zenoss vm
16:41 < zykes-> before i do anything drastic
16:42 < zykes-> nyeates: hi, do you have some clues on the json api ?
16:42 <@nyeates> if it is generally, yes possibly...if it is technical about them, no likely not
16:43 <@nyeates> what is up
16:44 < zykes-> i'm wondering how i can determine if a network has autodiscover enabled
16:46 < zykes-> i've got this at the moment: http://dpaste.org/bjDr/
16:48 <@nyeates> zykes: in a little, there should be a developer here, they may be able to help
16:49 < zykes-> when is the dev session?
16:49 < ashp> nyeates: Just spotetd your email
16:49 < ashp> nyeates: I did indeed play with 3.1, i upgraded last night
16:49 < ashp> no fear here, did our production environment without a backup, i like to live dangerously
16:51 < kokey> ok, certainly impressed with the netapp support on enterprise
16:51 < kokey> well done
16:51 <@cgibbons> hey nick! what's the scoop with 3.1? what's in it? just bug fixes? doesn't look like new architecture stuff from eyeballing it.
16:52 <@nyeates> zikes: devs in ~10 mins
16:53 <@nyeates> ashp: nice! that is quite dangerous...appreciate the confidence in us....i HIGHLY recommend at least a zenbackup in future...takes 5-20 mins
16:53 < ashp> nyeates: Yeah, I took one recently when looking at a RHEL6 upgrade
16:53 < zykes-> nyeates: 5-20 mins depending on your events database : p
16:54 <@nyeates> cgibbons: 3.1 is a stability release before Avalon. It has around 45 bug squashes. Also some back end stuff for enterprise abilities is included, though this doesnt show in core.
16:54 < rm-rf> how long until avalon drops now that 3.1 is out?
16:54 < Sam-I-Am> morning fuys
16:54 < Sam-I-Am> er, guys
16:54 <@cgibbons> ok, cool! didn't feel Avalon-ish, but seems nice and stable.
16:55 <@nyeates> to see important 3.1 core fixes, check out this blog post: blogs/zenossblog/2011/02/15/zenoss-core-310-is-now-available
16:55 < zykes-> avalon will be the next "major" thing that's out i guess ? including amqp + new event stuff?
16:56 <@nyeates> yes, basically - i cant talk too much about avalon features, as they are in flux. We are looking to ship Avalon (code name) around end of Q2. That can always change though.
16:57 < rm-rf> my manager was wondering the other day how the community edition is tied to enterprise
16:57 < rm-rf> is community developed independently of enterprise, or do they work together at all?
16:58 <@nyeates> It is a major new version, with lots of new backend and front end features. Also, Enterprise will likely have even more major new features to announce.
16:58 < zykes-> nyeates: why even more in ent. then in core?
16:59 < Sam-I-Am> http://dev.zenoss.org/trac/ticket/7741
16:59 < Sam-I-Am> thats an odd bug
16:59 <@nyeates> Community is a core central part of the product. Enterprise uses core to build on top of. Enterprise adds ZenPacks to gain functionality on top of core. The enterprise ZenPacks add major functionality though - dont go thinking that Enterprise is just simple plugins, theya re complex functionalities.
17:00 < rm-rf> thats kind of what i thought
17:01 <@nyeates> zykes: repeat your JSON question for mrchippy
17:01 < Sam-I-Am> rocket: sup
17:01 < zykes-> i'm wondering how i can determine if a network has autodiscover enabled
17:01 < zykes-> i've got this at the moment: http://dpaste.org/bjDr/
17:01 <@mrchippy> zykes: looking...
17:02 < zykes-> it uses a python lib i made to do stuff to the api
17:02 < xuru> nyeates: any changes in the pricing structure coming?  I'd love to support zenoss, but we can't afford what you guys are asking (we're a smaller company)
17:02 < Sam-I-Am> rocket: did you get my ticket for the interface event transform?
17:02 <@rocket> Sam-I-Am: I wonder if one of my other guys picked it up .. what was the #?
17:03 < Sam-I-Am> rocket: 15427.  its been sitting idle for a while now.
17:03 <@nyeates> xuru: I cant say much on that front. We are looking into alternatives.
17:03 < Sam-I-Am> claims to be owned by cparlette
17:03 < xuru> yeah, it's kind of an unfair question for you anyway
17:03 < Sam-I-Am> i didnt know your real name, and you left irc before i could tell you the ticket # that day
17:05 <@mrchippy> zykes: yeah, not sure if zAutoDiscover is making it over through the JSON API.   Looking...
17:06 < Jane_Curry> <xuru> Did you see the recent blog post about support and my append - blogs/zenossblog/2011/02/16/zenoss-support--whats-better-than-fanatical-support
17:06 < xuru> Jane_Curry: I'll have a look
17:07 <@nyeates> Sam-I-Am: Chris is looking at that ticket.
17:07 < Jane_Curry> I think its time we had the debate again about support for those that don't want to / cant pay the Enterprise price
17:08 < Jane_Curry> Re 3.1, the list of fixes has some with Closed status and some in Verification status - are they all included with 3.1?
17:09 <@rocket> Sam-I-Am: I am Eric .. Chris is the other L2 at the moment
17:09 < zykes-> L2 ?
17:09 < Jane_Curry> I am particularly interested in http://dev.zenoss.org/trac/ticket/7580 which is "verification"
17:09 < ashp> nyeates: Is there any information on Avalon at all, even a rough outline of features?
17:09 < Jane_Curry> BTW - is there a way I can query my Zenoss for all the included fixes?
17:10 < Sam-I-Am> rocket: ah ok
17:10 <@rocket> zykes-: Level2 support engineer
17:11 <@rocket> zykes-: Basically we are the stop gap before the developers are called in
17:11 < Sam-I-Am> got a few other cases open now too
17:11 <@nyeates> Jane: Closed vs Verification, I am not sure the difference either....they are all included in 3.1
17:11 < xuru> Jane_Curry: nice response, and I agree
17:11 < Sam-I-Am> one of them i just figured out smidump is segfaulting when called by zenmib
17:12 < Jane_Curry> <xuru> so how do we raise the profile of this debate again?  Do you want to comment on my comment?
17:12 <@nyeates> ashp: there is a former blog post here with some avalon info: blogs/zenossblog/2010/11/18/zenoss-roadmap-1
17:12 < ashp> perfect, thanks
17:12 < user3322> <xuru> - contact sales and start a dialog - maybe even a eval. perhaps there is some flexibility or creativity they can extend to you pricing wise.
17:13 < xuru> Jane_Curry: I will.  I have some good examples of products we use as well
17:13 < zykes-> mrchippy: did you find it ?
17:13 < Jane_Curry> Nick - where's the best place to have an alternative support discussion, that gets listened to by all those nice shiny sales people??
17:13 <@mrchippy> looking now
17:13 < xuru> user3322: true, I should do that
17:13 < ashp> nyeates: I have a kind of.. bizarre suggestion.. that grew out of our upgrade last night
17:14 <@mrchippy> zykes: i haven't been using the JSON api myself day in/day out so I'm making sure I'm right before I tell you something
17:14 < ashp> nyeates: What we were talking about would be "nice" would be a "resolve monitoring problems" button/wizard/section of zenoss that was capable of analyzing the events for things that are failing to monitor correctly
17:14 < mray> Jane_Curry: the tickets for 3.1 are listed in the Release Notes: http://tinyurl.com/63mm7ft
17:14 < ashp> nyeates: it would spot anything like 'zenoss can't connect to x database, y sql server', check the graphs and make sure they have values
17:14 < zykes-> ok
17:14 < ashp> if a machine has NAN for all the graphs it would be able to flag that up
17:14 < Jane_Curry> I asked about an Enterprise eval over 12 months back from the point of view of supporting both Core and Enterprise
17:15 < Jane_Curry> and was told very firmly that I had to be one camp or the other - pooh!
17:15 < ashp> nyeates: I don't know if that makes a lot of sense, but is that the kind of feature request that would be considered?  Because it would be nice to farm off to a junior guy here 'go check the monitoring' and haev a single dashboard he could investigate for missing items
17:15 < zykes-> we wanted enterprise to eval it before presenting to customers
17:15 <@rocket> Jane_Curry: 7580 should be resolved in 3.1.0
17:15 < Jane_Curry> <mray> Are all these tickets included - those in verification as well as closed?
17:16 < Jane_Curry> <rocket> Brilliant - thanks
17:16 <@nyeates> Jane_Curry and xuru: I would encourage you, the community, to get behind this. You could continue to comment on that blog post or a forum post. More visible on that blog post.
17:16 < mray> Jane_Curry: those should all be included and fixed, at least according to the Release Notes
17:17 < xuru> nyeates: will do
17:18 < Jane_Curry> dev question: In new 3 GUI, how do I control the contents of the Display dropdown in the component panel
17:18 < Jane_Curry> WITHOUT using old Zenoss 2 pt files????
17:19 <@nyeates> ashp: please create a trac enhancement for this http://dev.zenoss.com/trac/wiki/HowToAddTicket
17:21 <@nyeates> Jane_Curry and xuru: Also, I will bring up the support topic to the head of support so that he is aware of your comments
17:21 < xuru> nyeates: thanks!
17:23 < ashp> nyeates: done, cheers
17:23 < bigegor> hi
17:24 < xuru> anyone use a Nortel Ethernet Routing Switch?  i.e. 8010?
17:24 < xuru> man I hate that thing
17:24 < Sam-I-Am> nope.
17:24 < Sam-I-Am> its probably the one brand of equip i dont have here
17:24 <@nyeates> hello egor
17:25 < xuru> hey bigegor
17:25 < bigegor> hello
17:26 < subbu> nyeates:Is zenoss Ent 3.1.0 is released ?
17:26 < ashp> yes, it is
17:26 < froztbyte> look at the topic
17:26 < ashp> we upgraded to it last night
17:27 <@nyeates> hmmm no ashp
17:27 <@nyeates> he asked if Enterprise was out
17:27 <@rocket> for all here wondering about 3.1 and if its safe to upgrade
17:27 <@rocket> 3.1 is really 3.0.4 + new reporting hooks
17:27 < ashp> nyeates: I .. I installed 3.1 enterprise?
17:27 < subbu> yeah exactly ENTERPRISE
17:27 < subbu> 3.1.0
17:27 < ashp> ZenossZenoss 3.1.0
17:28 <@rocket> Ent will be out today or tomorrow I believe
17:28 <@rocket> we are staging the files at the moment
17:28 < ashp> so how the hell did I install it then?
17:28 < Sam-I-Am> oh hm, i thought it was out
17:28 < ashp> zenoss-enterprise-zenpacks-3.1.0-1031.el5.x86_64.rpm
17:28 <@rocket> ashp did you see it from the support portal?
17:28 < ashp> rocket: I just logged into the download link and it was right there
17:29 < ashp> http://support.zenoss.com/download/files/el5-3.1.0/
17:29 <@rocket> ashp: support.zenoss.com/download?
17:29 <@rocket> ashp: those are the right ones
17:29 <@nyeates> subbu: Zenoss Enterprise 3.1.0 is out. I had to get some details
17:29 <@rocket> we just havent announced then
17:29 < ashp> ahhh, got you
17:29 <@nyeates> 3.1.0 ent is out for those who are already at 3.*. If you are still on 2.*, it will not show as available and you will need to contact support
17:29 <@mrchippy> zykes-: what you're doing should work fine (assuming you python wrapper is ok).  on a network info object you should be able to do something like ----    info['data']['zAutoDiscover']['localValue'] or info['data']['zAutoDiscover']['acquiredValue']
17:30 <@rocket> yes support will need to get a recent zendiag from you as a prereq to the upgrade from 2.5 to 3.0
17:30 <@mrchippy> zykes-: the 'or' is logical or, not meant to communicate a choice between two options
17:30 < Jane_Curry> <rocket> New reporting hooks????
17:30 < mducharme> hey Jane_Curry
17:31 < mducharme> question for you, I saw you pasted something on how to uninstall the mib zenpack on 3.0
17:31 <@rocket> Jane_Curry: there is a new reporting tool for enterprise customers.  This will be an additional purchase
17:31 < mducharme> I did that, and still got an error, the zenpack is gone now but the "install mibs" link is still in the MIBs tab, confusing for my techs
17:31 < Sam-I-Am> i'm not super happy about the additional purchase for reporting in 3.1
17:31 < mducharme> er posted something
17:31 <@mrchippy> zykes-: also you can whittle down what you want back in the info object with the 'keys' parameter but I'm not sure if that works with the zProperties.
17:32 < Sam-I-Am> reporting is crap in zenoss and this should be a free fix
17:32 < Sam-I-Am> theres absolutely no way i can justify spending more $$$ with zenoss when the boss already thinks its overpriced and not worth it
17:32 < mducharme> any idea how I might delete the "install mibs" link?
17:32 <@rocket> Sam-I-Am: I dont make the rules.  Also we have to pay a license fee for the engine we are using now
17:32 < ashp> rocket: New reporting tool?
17:32 < Sam-I-Am> rocket: i understand... but i think there will be some backlash
17:32 < ashp> rocket: Is this a future project or something you're doing now?
17:32 < Jane_Curry> <rocket> only for Enterprise customers to purchase?  There was some discussion weeks back about it being available for all to purchase
17:33 <@rocket> Jane_Curry: if that is the case I appologize. Last I heard it was enterprise only for now
17:34 < Jane_Curry> <rocket> that's ok - I understand that ideas are bounced around in this chat and dont necessarily all come to fruition
17:34 < Sam-I-Am> for my org theres a good possibility the extra fee will be the last nail in the coffin for zenoss.  i like zenoss, but for a number of reasons (mostly cost and historic project mismanagement) everyone else doesn't and keeps trying to kill it
17:35 < mducharme> hrm am I to understand that reporting is gone from core 3.1.0????
17:35 < Sam-I-Am> been trying to turn the opinion around for months now :/
17:35 < mducharme> or is it simply that the reporting has only been enhanced in the enterprise version
17:35 < Sam-I-Am> seems like an optional enhancement to enterprise
17:35 < Sam-I-Am> core remains the same
17:35 <@mrchippy> mducharme: no, same reporting functionality is there
17:36 < mducharme> oh ok, phew
17:36 < subbu> nyeats: K thanks for the update
17:37 < Jane_Curry> <mducharme>  not sure I understand your comment about removing the mib browser zenpack - don't remember having any issues
17:39 <@rocket> the new reporting engine is called "Zenoss Datacenter Insight"
17:39 <@mrchippy> zykes-: yeah, the getInfo call works fine for zProperties.  networkRouter.getInfo( '/zport/dmd/Networks/netid', ['zAutoDiscover'])
17:39 < Sam-I-Am> is there an eval for it so i can determine if it meets needs?
17:39 < Sam-I-Am> or will there be...
17:39 < xuru> rocket: o.0  after HP Insight?
17:40 <@nyeates> Sam-I-Am: I have read your issues and I will be sure to escalate these to the appropriate person so that we can make you a happy customer
17:40 <@rocket> Sam-I-Am: contact sales, I have very limited knowledge of the release details on this
17:40 < Sam-I-Am> nyeates: thanks!
17:40 < Sam-I-Am> rocket: sure.
17:41 < Jane_Curry> dev question: In new 3 GUI, how do I control the contents of the Display dropdown in the component panel
17:41 < Jane_Curry> WITHOUT using old Zenoss 2 pt files????
17:42 <@mrchippy> Jane_Curry: I should be able to find an example of that for you.  Please hold...
17:46 < Jane_Curry> Has anyone created a ZenPack with a new device class that has new components......
17:46 < cgibbons> yup
17:46 < Jane_Curry> .. and the components have subcomponents...
17:47 < Jane_Curry> Do you automatically see the subcomponents as menu items in the overview left-hand menu?
17:47 < cgibbons> not menu items, as I would call them, but they showed up as components in the left-hand navigation.
17:48 < Jane_Curry> ie. Can I continue to nest my components and they will nest in the LH menu?
17:48 <@mrchippy> Jane_Curry: Are you wanting to add drop down entries for these new device/component types?
17:48 < cgibbons> what you don't see by default is a hierarchy, that is if you have say, a Logical Volume at level 1 and then a Logical Volume segment as level 2, you'd see both at the top-level of the component display hierarchy
17:48 < Jane_Curry> <mrchippy> dropdown entries both for new component types but potentially also for existing stuff
17:49 < Jane_Curry> OK - so a component is a component, even it it is a sub-sub-component, as far as the menus go?
17:50 < cgibbons> yeah, just for display purposes. You can do old-style .pt files if you want more navigation to be visible, and we talked about adding a side-browser navigation in the future for navigating those component hierarchies. I doubt that latter is being considered though since there were only a few ZenPacks that had those nested components.
17:51 < cgibbons> the last zenpack I worked on had probably the most depth of components of any of them, for now, and would be nice for it
17:51 < Jane_Curry> I'd rather use the component menu than use separate .pt lefthand menus
17:51 < cgibbons> indeed
17:52 < Jane_Curry> I use a separate menu for box-level stuff, not component stuff
17:52 < bigegor> Jane_Curry: you can 'Emulate' nested components with components dependencies (check HPEVAMon ZenPack)
17:53 < fragfutter> bigegor: ah, HPEVAMon. Did you look into those latency values?
17:53 < Jane_Curry> <bigegor> is this a trick to point from one component menu item to another???
17:54 < bigegor> fragfutter: yes, it seems like RPN for 'Latency' graph must be set to: 100,/
17:54 < fragfutter> ok.
17:55 <@mrchippy> Jane_Curry: So just to make sure I'm following-- you want to dynamically add drop down values for the component Display menu, but not necessarily based on component class?
17:57 < xuru> Jane_Curry: added my comment
17:57 < Jane_Curry> <mrchippy> - not dynamic.  Either code new dropdown menus for new components - that's the first requirement
17:58 < Jane_Curry> but you may want to add an extra option for existing components too - I guess I want to override an existing dropdown menu
17:59 < Jane_Curry> <xuru> thanks - lets hope others join the bandwagon....
18:00  * xuru nods
18:02 < bigegor> Jane_Curry: sorry, dependencies = relations
18:02 < Jane_Curry> <bigegor> Is your "hierarchical" components the stuff that has schema.Entity entries in your interfaces file??
18:03 < bigegor> Jane_Curry: yes
18:04 <@mrchippy> Jane_Curry:  If the selected component type is represented by a new class, you can add and entry to the factory_type_information map in the class definition.  The 'action' value would then be either a .pt file representing the content pane.
18:04 < Jane_Curry> Do I need other stuff than these entries (I'd love to have an appropriate box to test your ZenPack on but havent :()
18:04 <@mrchippy> Jane_Curry:  For the more javascripty, dynamic way, you can grab the drop down widget and add to it on the fly.
18:05 < Jane_Curry> <mrchippy> - I know about that one - that is effectively using Zenoss 2 techniques
18:05 < Jane_Curry> My question is whether there is a way to do this with "Zenoss 3 techniques"?
18:05 <@mrchippy> Jane_Curry:  In ComponentPanel.js (Products/ZenUI3/browser/resources/js/zenoss/ComponentPanel.js), the Zenoss.nav.Component widget is defined.
18:06 < Jane_Curry> <mrchippy> "you can grab the drop down widget and add to it on the fly" ????????????????????
18:06 <@mrchippy> Jane_Curry:  Sorry about that.  I sometimes forget how much context I should be providing
18:07 <@mrchippy> Jane_Curry:  Let me see if I can find a good example...
18:08 < bigegor> Jane_Curry: check RDBMS ZenPack (DBSrvInst.py and Database.py files) with MySQLMon_ODBC or MsSQLMon_ODBC Zenpack
18:09 < mducharme-work> jane_curry the mib browser zenpack is uninstalled, but the menu option "install mib" is still in MIBs
18:13 < Jane_Curry> <mducharme> - Ah - I see what you mean - hadn't noticed that.  I guess I usually load MIBs with zenmib but
18:13 < Jane_Curry> I can see that would cause pain - presumably the manu barfs?
18:15 < xuru> the mib browser zenpack is seriously broken :/  I think I had to do a backup, and reinstall after installing that one...
18:17 < Jane_Curry> <xuru> Tell me about it!!  I desperately want it upgraded to Zenoss 3 but the code scares the socks off me
18:17 < xuru> hehe
18:17 < xuru> man, if I ever get some free time...
18:19 <@mrchippy> Jane_Curry: Jane, I'm trying to find a good example and am coming up short.  Let me talk to one of our UI gurus and I'll email you with an example...
18:19 <@mrchippy> Jane_Curry:  The general approach is the following:
18:20 < Jane_Curry> <mrchippy> Thanks - please do.  I've got this far in a previous IRC chat and never quite got the example......
18:22 <@mrchippy> Jane_Curry: In a zcml file, register a bit of javascript that going to load when your device/component is the context.  Then in the js, do a lookup of the widget and start calling methods and changing attributes.  I'll talk to Ian and get back to you.
18:22 <@nyeates> On that note, im going to anounce the end of the dev chat. Thanks for all that assisted and helped.
18:22 < Sam-I-Am> thanks!
18:23 < Sam-I-Am> its appreciated
18:23 <@nyeates> thanks for the appreciation!
18:24 < Sam-I-Am> lol
18:24 < Sam-I-Am> not many companies do this sort of thing
18:24 < Jane_Curry> Thanks Nick
18:25 <@nyeates> glad u got some active help this time Jane
18:27 < Jane_Curry> Still got a few more gory questions though....
18:30 < mducharme-work> jane_curry yeah
18:30 < mducharme-work> it's confusing for my staff
18:30 < mducharme-work> I tell them to install mibs by uploading them to the server and running zenmib at the prompt
18:30 < mducharme-work> but they see the menu option and think "oh, I can install the mib this way"
18:31 < mducharme-work> and it doesn't work and they report back "cannot install mib, menu option fails"
18:31 < mducharme-work> I want to get rid of the install mib from the menu so they do not try
18:38 < Jane_Curry> It's an excellent question for the devs as to where this menu has got embedded into  the V3 GUI........
19:21 < zykes-> devs are gone ?
19:24 <@nyeates> zykes, i think so
19:42 < Sam-I-Am> moo.
19:45 < ][ceman> What kind of software does everyone use for hardware audit? Or any zenpacks for zenoss that can extend the details further?
19:49 < Sam-I-Am> i've written some reports to grab serial numbers for devices which support snmp
19:49 < Sam-I-Am> primarily use it to verify support contracts for active devices, but thats about as far as i've gone
19:57 < ][ceman> hrmmm yah.
19:57 < ][ceman> I set up open-audit as a temporary solution
19:58 < ][ceman> but you have to have a script running the each node you want to gather data on, which is a pain.
19:59 < Sam-I-Am> ew
20:00 < ][ceman> ha ha.. yah
20:44 < mducharme-work> I was wondering also, whether anyone in here would be interested in contract work developing a zenpack for us
20:47 < mducharme-work> I know how to develop zenpacks myself, but I do not have the time - my company needs one developed
21:04 < mducharme-work> we would want said zenpack to be made available to the community as well..
21:13 < Jane_Curry> <mducharme> I might be interested - I am doing that for someone else at the moment
21:14 < Jane_Curry> .. with the caveat that their name is in the second part of the ZenPack name but that it is made available to the community
21:14 < Jane_Curry> What's your timescale  .. and what's your spec?
22:04 < zykes-> mducharme-work: which one ?
22:05 < zykes-> we're working on zenpacks for BNT + Compellent
22:09 < mducharme-work> zykes- redline wimax APs
22:10 < zykes-> what you need to monitor on them?
22:11 < mducharme-work> we are a wireless ISP, we are moving to these units.. we need the individual wireless subscriber units to appear as components, get up/down status, traffic graphs for the individual customers
22:12 < Sam-I-Am> that doesnt sound too bad.
22:12 < Sam-I-Am> make a nice device template, convert to zenpack
22:13 < mducharme-work> the tricky thing is that the way wimax works, the data for the subscribers is spread across 3 different places
22:13 < Sam-I-Am> howso?
22:14 < mducharme-work> there are "subscriber stations" which are the actual hardware radios. There are "service classes" which are basically service packages, defining speed and QoS settings. For each "subscriber station" there are two associated "service flows", one for upload and one for download, which associates the subscriber station with the service class(es)
22:16 < mducharme-work> if I remember correctly, the bandwidth counters are in the service flows table
22:22 < Sam-I-Am> interesting
22:22 < Sam-I-Am> all snmp?
22:22 < mducharme-work> yup
22:22 < Sam-I-Am> just gotta figure out the oids
22:23 < mducharme-work> I have a document
22:23 < mducharme-work> http://www.box.net/shared/ad3gi0tlpm
22:23 < mducharme-work> in that zip there is a PDF, AN100U_UX.pdf
22:23 < mducharme-work> it is the snmp manual for the devices
22:27 < Sam-I-Am> yeh
22:27 < Sam-I-Am> basically would need to read through those, poke at devices, etc... figure out what needs to be graphed
22:29 < Sam-I-Am> mducharme-work: where are you based out of?
22:31 < zykes-> Sam-I-Am: was it you or Simon4 that was working on some hp blade stuff?
22:31 < Sam-I-Am> must be him
22:32 < zykes-> ok
22:32 < mducharme-work> I am based out of winnipeg, canada
22:32 < zykes-> you got any funky zenpacks Sam-I-Am ?
22:32 < mducharme-work> sam-I-am - the big thing is the development of a modeler plugin
22:33 < Sam-I-Am> zykes-: i've never actually made a zenpack
22:33 < zykes-> ah
22:33 < mducharme-work> oh
22:33 < Sam-I-Am> but here in a bit i plan to convert some of my device templates and stuff to zenpacks
22:33 < mducharme-work> if you haven't made a zenpack then you don't really know what's involved here
22:33 < Sam-I-Am> its pretty easy to package it all up
22:33 < zykes-> any cool ones Sam-I-Am ?
22:33 < mducharme-work> python coding
22:33 < zykes-> mducharme-work: what you need python coding for ?
22:33 < Sam-I-Am> mducharme-work: depends on whats needed from the enpack
22:33 < Sam-I-Am> zenpack
22:33 < Sam-I-Am> they can contain a variety of things
22:34 < mducharme-work> zykes we would need custom modelers
22:35 < Sam-I-Am> zykes-: i have specific templates for each kind of device... juniper this, brocade that, etc
22:35 < mducharme-work> as I explained, so that under Components, along with Interfaces there would be WiMAX Subscriber Stations, WiMAX Service Flows, WiMAX Service Classes, etc
22:35 < Sam-I-Am> zykes-: besides interface graphs, i check temperatures, cpu, ram, etc
22:35 < mducharme-work> you can't add new components to a device without such coding
22:36 < zykes-> Sam-I-Am: on brocades ?
22:36 < Sam-I-Am> zykes-: yeah, brocade/foundry xmr and cer gear
22:36 < zykes-> care to package them up and post them ?
22:37 < Sam-I-Am> yeah, just not right now. :/
22:38 < mducharme-work> anyhow I am in need of a vendor to do the development work for us, I have already had a few bites
22:40 < bigegor> mducharme-work: i can try. I need mib and dump from snmpwalk.
22:41  * Sam-I-Am wishes he had the time to take his first step into zenoss consulting :/
22:41 < mducharme-work> bigegor what is your hourly?
23:11 < wobblyonions> hi all
23:53 < ][ceman> will a py2.4 egg file work on zenoss 3.1?
23:53 < ][ceman> the other zenpacks are py2.6
--- Log closed Fri Feb 18 00:00:00 2011

Comments (0)