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

Dev Chat 06/09/2011

VERSION 2  Click to view document history
Created on: Aug 3, 2011 9:53 AM by Nick Yeates - Last Modified:  Aug 3, 2011 10:58 AM by Nick Yeates

3.1.1 plans (now 3.2), Enterprise before Core release, Administered Objs issues, ZP export issue, language notation vs. a function

 

[09-Jun-2011 11:03:08] <rmatte> oh, it is Thursday isn't it?
[09-Jun-2011 11:03:19] <rmatte> didn't click until the opage
[09-Jun-2011 11:03:22] <Jane_Curry> Never could get the hang of Thursdays
[09-Jun-2011 11:03:31] <nyeates> dgarcia_ you around? ... couldnt get you on skype
[09-Jun-2011 11:04:11] <jmp242> zensyslog doesn't have an option to log all syslogs to a file does it?
[09-Jun-2011 11:04:29] <nyeates> switches will now supposedly support communication to facebook, twitter, linkedin ..... not sure how that will work
[09-Jun-2011 11:04:43] <jmp242> all evil!!!
[09-Jun-2011 11:04:46] <Jane_Curry> <jmp242> - simple event transform????
[09-Jun-2011 11:04:58] <jmp242> I was thinking event command
[09-Jun-2011 11:05:07] <dgarcia_> nick: my skype client silently crashes sometimes
[09-Jun-2011 11:05:11] <jmp242> but yes, that probably is a better and much less of a performance hit
[09-Jun-2011 11:05:21] <Sam-I-Am> nyeates: network switches?
[09-Jun-2011 11:05:32] <Jane_Curry> so when do we expect 3.1.1?
[09-Jun-2011 11:05:34] <fragfutter> jmp242: have an rsyslog before zensyslog. allows filtering with a very high performance.
[09-Jun-2011 11:05:35] <rmatte> jmp242: event command won't work as well since it'll only trigger when the event count is 1, so if Zenoss groups syslogs it'll only trigger for the first.
[09-Jun-2011 11:05:54] <nyeates> Sam-I-Am: enterasys swithces
[09-Jun-2011 11:06:11] <rmatte> I've worked with enterasys switches before, those things are beasts
[09-Jun-2011 11:06:45] <Sam-I-Am> nyeates: guess they'll send all their interface drop alerts to twitter.  guess twitter is the new zenoss?
[09-Jun-2011 11:06:51] <rmatte> lol
[09-Jun-2011 11:07:12] <rmatte> "Enterasys Switch would like to add you as a friend, would you like to accept?"
[09-Jun-2011 11:07:13] <jmp242> good god I hope not
[09-Jun-2011 11:07:24] <kerick_> why would you want to publically post infrastructure messages?
[09-Jun-2011 11:07:27] <jmp242> You've about listed the services I plan to never use
[09-Jun-2011 11:07:32] <Sam-I-Am> i've managed enterasys switches and probably wouldnt friend one :/
[09-Jun-2011 11:07:35] <jmp242> Skype, Facebook, Twitter
[09-Jun-2011 11:07:37] <jmp242> grrr
[09-Jun-2011 11:07:44] <rmatte> Sam-I-Am: haha agreed
[09-Jun-2011 11:07:48] <nyeates> Jane_Curry: 3.1.1 will come out after a release of GA Avalon Enterprise. Best guess is July or Aug
[09-Jun-2011 11:08:02] <rmatte> jmp242: I use facebook and linkedin, but that's as far as I go
[09-Jun-2011 11:08:16] <jmp242> ever been to a H.O.P.E. conference?
[09-Jun-2011 11:08:21] <Sam-I-Am> i havent quite figured out the purpose of linkedin
[09-Jun-2011 11:08:29] <rmatte> nyeates: since it was a topic at the last dev meeting, any word on the relstorage situation?
[09-Jun-2011 11:08:40] <rmatte> Sam-I-Am: seriously?
[09-Jun-2011 11:08:44] <jmp242> the Steve Raunbaum (sp) presentation, I never use facebook
[09-Jun-2011 11:08:58] <Sam-I-Am> rmatte: its always just been a subset of people i know on facebook
[09-Jun-2011 11:09:04] <rmatte> Sam-I-Am: It's for networking with people that you've worked with previously... can provide good job leads.
[09-Jun-2011 11:09:12] <Sam-I-Am> thats what i thought its intention was
[09-Jun-2011 11:09:14] <Sam-I-Am> i just use irc
[09-Jun-2011 11:09:26] <Simon4> linkedin is very much recruitment based here in the UK
[09-Jun-2011 11:09:28] <Jane_Curry> nyeates: does this mean that there will be a GA of Avalon Enterprise before GA of Avalon Core????
[09-Jun-2011 11:09:29] <nyeates> I used LinkedIn to get in touch with a hiring manager that knew an ex collegaue...got me in the door and i got an offer
[09-Jun-2011 11:09:31] <rmatte> Sam-I-Am: I like that it's business oriented and you can post a sort of resume on it
[09-Jun-2011 11:09:43] <Sam-I-Am> maybe i should use it more
[09-Jun-2011 11:09:54] <fragfutter> *cough* dev chat?
[09-Jun-2011 11:10:06] <Sam-I-Am> fragfutter: developing connections
[09-Jun-2011 11:10:10] <jmp242> sorry fragfutter - we've been OT lately for some reason
[09-Jun-2011 11:10:22] <Hackman238> jmp242: indeed
[09-Jun-2011 11:10:34] <jmp242> We need a zenoss-watercooler lol
[09-Jun-2011 11:10:45] <Hackman238> LOL
[09-Jun-2011 11:10:56] <nyeates> frag, feel free to start us off... got some dev questions for dgarcia or ptmcg?
[09-Jun-2011 11:10:58] <Jane_Curry> This IS the Zenoss watercooler
[09-Jun-2011 11:11:03] <rmatte> nyeates: relstorage situation, any news?
[09-Jun-2011 11:11:17] <fragfutter> relstorage, release dates (as mentioned)
[09-Jun-2011 11:11:25] <Jane_Curry> nyeates: does this mean that there will be a GA of Avalon Enterprise before GA of Avalon Core????
[09-Jun-2011 11:11:35] <jmp242> +1 to Jane_Curry's question
[09-Jun-2011 11:12:34] <Jane_Curry> well that froze up the water cooler
[09-Jun-2011 11:12:44] <rmatte> lol
[09-Jun-2011 11:13:02] <Hackman238> nyeates: That reminds me- we're having a disasterous time test migrating very large numbers of objects to Avalon and we need to talk about solutions.
[09-Jun-2011 11:13:06] <nyeates> Jane: Likely this is so. This time around at least, we are releasing Enterprise first. It does not say anything about how Core will be released, etc. Just that Enterprise is coming out first.
[09-Jun-2011 11:13:47] <nyeates> Beyond that, I do not know much more and will be finding out soon.
[09-Jun-2011 11:14:06] <Hackman238> nyeates: Will 3.1.1 have the zenhub patches included?
[09-Jun-2011 11:14:12] <Hackman238> nyeates: (core)
[09-Jun-2011 11:14:14] <nyeates> There IS going to be a core. Bill has stated this. Release is geting switched around.
[09-Jun-2011 11:14:30] <rocket> Hackman238: as far as I know those patches will be in 3.1.1
[09-Jun-2011 11:14:31] <Jane_Curry> nyeates: would you mind feeding back to Mr Karpovich that this is exactly the sort of reason why we are nervous about the future of Core
[09-Jun-2011 11:14:35] <nyeates> Hackman238: I would have to check on that.
[09-Jun-2011 11:15:23] <dgarcia_> Hackman238: The zenhub patches are already available in the public repo.
[09-Jun-2011 11:16:44] <nyeates> Sure I will tell Bill. I think that the community is going toward a decent place. We will be getting plans out to everyone soon. Im going to push for a blog post.
[09-Jun-2011 11:17:01] <Hackman238> nyeates: rocket: gotcha. I've been reverse engineering them to work with 2.5.2 with awesome success, but I wasnted to be sure the solution would go through QA before I promise a solution to v3 clients
[09-Jun-2011 11:17:18] <dgarcia_> Hackman: which patches are you referring to ?
[09-Jun-2011 11:17:31] <rocket> dgarcia_: the invalidation queue patches
[09-Jun-2011 11:17:43] <Jane_Curry> but the whole point of an Enterprise based on an open source Core is tha you can test most of it with all that nice free testing community......
[09-Jun-2011 11:18:55] <rocket> Jane_Curry: based on what I have heard in an all hands meeting, this release is the exception to the rule.
[09-Jun-2011 11:19:28] <nyeates> Yes, agreed with rocket
[09-Jun-2011 11:19:38] <rocket> Jane_Curry: again I am not an official spokes person, but that is my impression.  I do not know future plans other than what I have currently been told
[09-Jun-2011 11:20:10] <Jane_Curry> What chance have I of getting patches to Administered Objects into 3.1.1 Core???
[09-Jun-2011 11:20:45] <Jane_Curry> Administered Objects are currently really unusable - just entered 3 more tickets
[09-Jun-2011 11:21:47] <nyeates> We will have to check those out in defect review. Im not sure if 3.1.1 is closed down or not... any devs know?
[09-Jun-2011 11:21:53] <nyeates> *3.1.1 core
[09-Jun-2011 11:21:54] <rocket> Jane_Curry: they should be going through our defect review process .. what are the ticket numbers?
[09-Jun-2011 11:22:39] <Jane_Curry> http://dev.zenoss.com/trac/ticket/7848,7849, 7850 plus an earlier 7838 - it's a dog's breakfast!
[09-Jun-2011 11:23:06] <dgarcia_> rocket: i'll have to get back to you on the zenhub patches. I don't see them in the public repo.
[09-Jun-2011 11:25:26] <Jane_Curry> and http://dev.zenoss.com/trac/ticket/7837 -> 4168
[09-Jun-2011 11:25:52] <rocket> nick can you keep track of those tickets for jane?
[09-Jun-2011 11:26:23] <nyeates> yeah ill make sure they are reviewed next tues
[09-Jun-2011 11:26:26] <rocket> Jane obviously the Defect review process will prioritize the tickets based on severity and man power until the release
[09-Jun-2011 11:26:27] <dgarcia_> we haven't started the process for the 3.1.1 release; the scope of what will be in 3.1.1 has not been finallized
[09-Jun-2011 11:26:34] <ptmcg> I just retro-patched an Avalon bug back to the internal 3.1.x branch - right now we are pretty much flat out on Avalon hardening, after which we'll spell out what patches to go into 3.1.1 release, core or whatever.
[09-Jun-2011 11:27:13] <rocket> Jane_Curry: being aware of the impact does help us make the case for engineering of course ..
[09-Jun-2011 11:27:24] <Jane_Curry> Some of my Administerd Object bugs I think stem from the fact that sometimes the device counts in the left-hand menu are wrong
[09-Jun-2011 11:27:46] <Jane_Curry> .. and I am not mis-counting for devices not in the Production state.
[09-Jun-2011 11:28:14] <nyeates> We have had some similar issues before with the traffic lights (colored dots) counting wrong
[09-Jun-2011 11:28:15] <Jane_Curry> I have a location with 9 devices init - that show happily in the main window - but the device count against that location is zero
[09-Jun-2011 11:29:05] <Jane_Curry> This may be why the Event Console assocaited with the location shows zero events, even though the included devices do have events against them
[09-Jun-2011 11:29:29] <Jane_Curry> Can anyone else here confirm that they see incorrect device counts in the left-hand 3.1 menu???
[09-Jun-2011 11:30:14] <fragfutter> Jane_Curry: can't confirm. but never counted if they match
[09-Jun-2011 11:30:49] <nyeates> same with me
[09-Jun-2011 11:31:16] <Jane_Curry> rocket: The impact on all the Administered Objects stuff is that it is very hard to partition your estate for different users
[09-Jun-2011 11:31:58] <nyeates> Jane, we will look at the tickets on tues. Put all this info into the tickets, as that is where it will matter. Screenshots help most
[09-Jun-2011 11:32:00] <Jane_Curry> rocket: ... and couldn't possibly be anything to do with the ACLs ZenPack only being available for Enterprise
[09-Jun-2011 11:32:33] <Hackman238> Jane_Curry: ..never LOL
[09-Jun-2011 11:32:47] <rocket> Jane_Curry: yes, but there has to be something people pay us for?
[09-Jun-2011 11:33:37] <nyeates> On another note, I want to point out a good conversation with respect to the new UI that went on in the forum here: message/59015
[09-Jun-2011 11:33:37] <Sam-I-Am> lol
[09-Jun-2011 11:34:13] <fragfutter> any new information about relstorage?
[09-Jun-2011 11:34:14] <nyeates> I am going to add some info about Zuul and routers (not network routers) to that convo, that happened internally
[09-Jun-2011 11:34:33] <nyeates> No new info about relstorage.
[09-Jun-2011 11:34:40] <mcgarnicle> k
[09-Jun-2011 11:34:57] <rmatte> k
[09-Jun-2011 11:35:34] <Hackman238> rocket: How can I add items to the ' + ' menu (Add meun in ZMI) in v3?
[09-Jun-2011 11:35:37] <nyeates> Any other specific UI questions anyone has come across? Now is time to ask devs here
[09-Jun-2011 11:36:14] <Hackman238> rocket: For the life of me I cant get anything extra to show up in that menu...even if I go in to the ZMI and add it manually.
[09-Jun-2011 11:36:35] <rmatte> Hackman238: there's probably some skin template file somewhere that it needs to go in to as well
[09-Jun-2011 11:36:37] <rocket> dgarcia_: that might be better for you to answer .. I havent had to do that yet ..
[09-Jun-2011 11:36:40] <Hackman238> rocket: The lower left gear menu ('More' in ZMI) works perfect
[09-Jun-2011 11:37:01] <Hackman238> rocket: I just dont get why the two menus would work differntly
[09-Jun-2011 11:37:20] <rocket> Hackman238: btw try and stay out of ZMI changes if you can do it another way.  There are issues with ZMI managed things not working properly after the fact
[09-Jun-2011 11:37:53] <rocket> Hackman238: we are slowly trying to get to the point where accessing something through the ZMI should never happen because of these unforseen issues.
[09-Jun-2011 11:38:16] <fragfutter> is it possible to get a static url for event-details? Using these urls in emails results in a lot of broken links if they are clicked later and someone solved the issue in the meantime.
[09-Jun-2011 11:38:22] <Hackman238> rocket: Agreed, Im not adding menus that way now, but I mean just for testing
[09-Jun-2011 11:38:50] <Hackman238> rocket: Basically what I'm saying is nothing I've tried or seen in any other pack has or can add anything to the 'Add' menu
[09-Jun-2011 11:39:01] <rocket> Hackman238: unless Danny or Paul know I would have to look it up
[09-Jun-2011 11:39:04] <Jane_Curry> Yeh - I found that menus added with the mib_utils zenpack don't uninstall nicely often
[09-Jun-2011 11:39:57] <Jane_Curry> Hackman238: +1 on augmenting the menus
[09-Jun-2011 11:39:58] <dgarcia_> i got some clarification on the zenhub patches, they should be in the public 3.1.x branch
[09-Jun-2011 11:40:10] <Hackman238> dgarcia_: Nice. TY
[09-Jun-2011 11:40:32] <Hackman238> dgarcia_: Would zenoss have a fit if I ported the patched to 2.5.2 and released them?
[09-Jun-2011 11:40:43] <Hackman238> *patches
[09-Jun-2011 11:41:14] <dgarcia_> i think it would be a problem, if you "didn't" release them
[09-Jun-2011 11:41:19] <Simon4> Hackman238: if they're in public branch it's all GPL no?
[09-Jun-2011 11:41:25] <dgarcia_> they would of course be community owned
[09-Jun-2011 11:41:39] <nyeates> I doubt there would be an issue. Depends on how you were thinking to 'release' it :-)
[09-Jun-2011 11:41:52] <Hackman238> rocket: could you check in to it for me? I've some zenpacks to make for v3/avalon and I hate submitting a ticket for dev info
[09-Jun-2011 11:42:24] <Hackman238> nyeates: Well essentially just a pack that installs to patch everything.
[09-Jun-2011 11:42:30] <rocket> Hackman238: I know you hate doing it .. but you will get better response that way because that way I cant forget to do it
[09-Jun-2011 11:42:44] <TheMacTech> I have a rather pressing issue with zenpacks, I have posted in the forums but got no answers
[09-Jun-2011 11:42:54] <Hackman238> nyeates: I've a copy of our entire HKG DC running the modified 2.5.2 zenhub patches like a champ
[09-Jun-2011 11:42:57] <Jane_Curry> can you ref the forum posts?
[09-Jun-2011 11:43:10] <TheMacTech> When you export a zenpack, it codes in the name, the version number, and the python version
[09-Jun-2011 11:43:15] <TheMacTech> let me check
[09-Jun-2011 11:43:39] <TheMacTech> thread/16150?tstart=0
[09-Jun-2011 11:43:40] <Hackman238> rocket: Alrighty. If I do a ticket and get dev info, can I release it so long as its not ent. code?
[09-Jun-2011 11:43:51] <nyeates> Hackman238: Very cool. Yeah it should be np.
[09-Jun-2011 11:43:56] <ptmcg> fragfutter: I'm looking at your event url question...
[09-Jun-2011 11:44:32] <TheMacTech> For the past few days when I use 'zenpack --install <zenpack name>'
[09-Jun-2011 11:44:32] <TheMacTech> I
[09-Jun-2011 11:44:32] <rocket> Hackman238: that should be fair game
[09-Jun-2011 11:44:32] <Hackman238> rocket: alrighty
[09-Jun-2011 11:44:32] <Hackman238> nyeates: alrighty
[09-Jun-2011 11:44:32] <TheMacTech> Sorry using a web client for the first time for IRC, I am on a cell modem connection from client site, apologies
[09-Jun-2011 11:44:53] <nyeates> Hackman: feel free to make a new zenpack page on the community and stick it in there. I am woefully behind on making pages for ones people just send to me.
[09-Jun-2011 11:45:16] <TheMacTech> My problem is before my path to zenpack root (after install) did not have the version number and python version appended to it, and for the past few days it now adds it
[09-Jun-2011 11:45:23] <Hackman238> nyeates: Alrighty. Does that automatically put my entry in for the contest?
[09-Jun-2011 11:45:23] <nyeates> also I am ironing out github submissions, but you can submit via git pull requests there too and ill accept
[09-Jun-2011 11:45:29] <TheMacTech> this changes my path to the zenpack's libexec folder that I call scripts from
[09-Jun-2011 11:45:39] <Hackman238> nyeates: I wont lie- I dislike github.
[09-Jun-2011 11:45:57] <Hackman238> nyeates: More of an svn guy LOL
[09-Jun-2011 11:46:18] <rocket> Hackman238: and with that the community will still benefit ..
[09-Jun-2011 11:46:19] <dgarcia_> TheMacTech: the naming convention is normal when you build/install an egg
[09-Jun-2011 11:46:35] <TheMacTech> I know when you export it
[09-Jun-2011 11:46:49] <TheMacTech> but when you install it always truncated it before
[09-Jun-2011 11:47:09] <TheMacTech> now if I change version number on a zenpack the path to the libexec of the zenpack will change
[09-Jun-2011 11:47:29] <dgarcia_> this is true, you will have to reinstall it
[09-Jun-2011 11:47:56] <rocket> TheMacTech: there is shorthand for the libexec path you should be using.  That should not be hardcoded.
[09-Jun-2011 11:48:08] <TheMacTech> use to be installing a zenpack called ZenPacks.MyCompany.MyDevice-1.0-2.6.egg would give /usr/local/zenoss/zenoss/ZenPacks/Zenpacks.MyCompany.MyDevice/ZenPacks/MyCompany/MyDevice/
[09-Jun-2011 11:48:44] <TheMacTech> I know I found some hints to that in the forums, as it is not documented in the Zenoss docs, but hard coding should still work
[09-Jun-2011 11:49:21] <TheMacTech> but more importantly, the zenpack install behavior just changed on me after 2 years, and I would REALLY like to know why
[09-Jun-2011 11:49:21] <rocket> ${here/ZenPackManager/packs/ZenPacks.community.Foo/path}/libexec
[09-Jun-2011 11:49:24] <dgarcia_> don't hard code it. in ZenPack/org/Zenpackname/__init__ , you can add the libexec to your path
[09-Jun-2011 11:49:40] <Jane_Curry> TheMacTech: I have the whole lot in my egg-installed ZenPacks on my 2.5.2 system eg. ZenPacks.zenoss.LDAPMonitor-1.2.1-py2.4.egg is the directory under $ZENHOME/ZenPacks
[09-Jun-2011 11:49:43] <dgarcia_> see the ZenAWS zenpack for an example, it adds boto to the path
[09-Jun-2011 11:51:02] <nyeates> boto being a third party code library to manage amazon api comm's, btw
[09-Jun-2011 11:51:08] <Jane_Curry> TheMacTech: You get the shorter name if you have done a zenpack --link install and worked in development mode
[09-Jun-2011 11:51:45] <dgarcia_> http://dev.zenoss.com/trac/browser/branches/zenoss-3.1.x/zenpacks/ZenPacks.zenoss.ZenAWS/ZenPacks/zenoss/ZenAWS/__init__.py
[09-Jun-2011 11:51:57] <TheMacTech> I will look into it, I basically need to include in my ZenPacks shell scripts that will be called from command datasources, and to have a repository where I can write some small files to
[09-Jun-2011 11:52:10] <TheMacTech> Thanks for the info, will DL that ZenPack and look into it
[09-Jun-2011 11:52:45] <TheMacTech> I can always write the files to /tmp, right now I was writing the to the /tests folder of the zenpack
[09-Jun-2011 11:53:24] <dgarcia_> you could also place symlinks to those scripts in the bin directory during zenpack install
[09-Jun-2011 11:53:56] <TheMacTech> which bin directory, inside the zenpack or in the linux os?
[09-Jun-2011 11:54:05] <dgarcia_> $ZENHOME/bin
[09-Jun-2011 11:54:08] <Hackman238> rocket: How much have you worked with Avalon?
[09-Jun-2011 11:54:14] <nyeates> ThaMacTech: In case you dont know, if you want to run local scripts (on zenoss box, not device box) from a datasource, make sure to uncheck the 'SSH' checkbox in the datapoint so that it runs a local script
[09-Jun-2011 11:54:23] <rocket> Hackman238: not much at all
[09-Jun-2011 11:54:23] <TheMacTech> I don't know how to have a ZenPack push files outside of its own folderstructure
[09-Jun-2011 11:54:25] <nyeates> ...dev back me up there though. Maybe im not understanding whole subject
[09-Jun-2011 11:55:04] <Hackman238> rocket: Darn. I'm finding that 500GB on /tmp and 500GB on /opt/zenoss isnt enough space to migrate our largest DC to relstorage
[09-Jun-2011 11:55:04] <ptmcg> fragfutter: the event URLs have the event id in them, but it sounds like that is only valid if the event hasn't been closed?
[09-Jun-2011 11:55:09] <Jane_Curry> TheMacTech: Here's an example...
[09-Jun-2011 11:55:32] <TheMacTech> I have no issues with my scripts working the way I want them on my zenoss VM where I develop them, having issues finding out how to transplant that in a good way to other zenoss machines
[09-Jun-2011 11:56:02] <fragfutter> ptmcg: correct. and after they are closed they change. zport/dmd/Events/viewDetail?evid=... once archived it becomes zport/dmd/Events/viewHistoryDetail?evid=...
[09-Jun-2011 11:56:03] <Hackman238> rocket: Fills right up during the migration op- acctually very scarey LOL
[09-Jun-2011 11:56:14] <TheMacTech> If there is a way to push my scripts out of the ZenPack folder structure on install that would be great
[09-Jun-2011 11:56:21] <rocket> Hackman238: what fills up?
[09-Jun-2011 11:56:22] <dgarcia_> Hackman238: in the __init__.py , install() will get called when the zenpack gets installed. During execution of this function you can install symlinks to $ZENHOME/bin from you libexec directory
[09-Jun-2011 11:56:45] <rocket> Hackman238: and this is the sort of thing that you can create a ticket for
[09-Jun-2011 11:56:50] <fragfutter> ptmcg: which is annoying if you click on an link in an alert and the event moved away. can't easily read the log/comments
[09-Jun-2011 11:57:02] <TheMacTech> Can I write any arbitrary code I want in the __init__.py file?
[09-Jun-2011 11:57:12] <dgarcia_> yes
[09-Jun-2011 11:57:40] <TheMacTech> hmmm, definitely will have to look at that, that would indeed solve my issue
[09-Jun-2011 11:57:50] <Hackman238> rocket: /tmp and /opt/zenoss and all the pysical RAM
[09-Jun-2011 11:58:07] <TheMacTech> I know that keeping all the scripts within the ZenPack structure wasn't the right way to go but didn't know how to escape it
[09-Jun-2011 11:58:20] <rocket> what in /opt/zenoss fills up?
[09-Jun-2011 11:58:48] <TheMacTech> I have an easy question, how do I add multiple email recipients to one alert rule, do I put them all in the field with a , seperating them?
[09-Jun-2011 11:58:48] <Jane_Curry> ${here/ZenPackManager/packs/ZenPacks.skills1st.WMIBackupCheck/path}/libexec/rem_file_age_wmi.py ${here/manageIp} "${here/zWinUser}" "${here/zWinPassword}" ${here/zWMIBackupDrive} ${here/zWMIBackupPath}
[09-Jun-2011 11:58:52] <Hackman238> rocket: Not sure yet- I'm retesting now after some tweaks. It must be some sort of huge temp file
[09-Jun-2011 11:59:09] <rocket> Hackman238: what are you migrating again?
[09-Jun-2011 11:59:19] <ptmcg> TheMacTech: Jane_Curry:  The zenpack __init__.py file will get a lot more interesting in Avalon, esp w.r.t. customizing event processing. We are adding several plugin hooks for event processing, identification, and signalling that get us out of most of the monkeypatching that was needed before
[09-Jun-2011 11:59:31] <TheMacTech> Thanks jane, will save a screengrab of that right now
[09-Jun-2011 11:59:33] <Hackman238> rocket: 3.1 -> Avalon testing migration of 7.5mil objects
[09-Jun-2011 12:00:00] <rocket> dgarcia_: have you guys seen anything like that?
[09-Jun-2011 12:00:01] [disconnected at Thu Jun  9 12:00:01 2011]
[09-Jun-2011 12:00:01] [connected at Thu Jun  9 12:00:01 2011]
[09-Jun-2011 12:00:21] [zenoss-logger (logger bot) has joined #zenoss]
[09-Jun-2011 12:00:29] <Jane_Curry> or that some existing ones will break??
[09-Jun-2011 12:00:31] <ptmcg> No, we worked pretty hard to keep compatibility with transforms
[09-Jun-2011 12:00:36] <Hackman238> rocket: I'll hammer down thats eating the space if it fails this time.
[09-Jun-2011 12:00:52] <ptmcg> But ones that monkeypatched old event classes, or accessed the events database directly, will have issues
[09-Jun-2011 12:01:01] <jmp242> You don't want to kill zenpacks again this soon
[09-Jun-2011 12:01:04] <Jane_Curry> Is there going to be a beta for Avaon Core????????????????
[09-Jun-2011 12:01:26] <Jane_Curry> jmp242: PLEASE!!!!!
[09-Jun-2011 12:03:02] <nyeates> No idea if there will be a beta for core Jane. Ask again later in July :-)
[09-Jun-2011 12:03:22] <Hackman238> nyeates: I dont understand why the beta wouldnt be open to the pub.
[09-Jun-2011 12:03:41] <Hackman238> nyeates: No time to feature strip for core?
[09-Jun-2011 12:03:51] <ptmcg> Like I said, we have put in a number of old->new mapping proxies in the code so that existing event accessors will work
[09-Jun-2011 12:03:52] <nyeates> I just cant speculate either way, since it has not even been discussed with me
[09-Jun-2011 12:03:52] <Jane_Curry> There's obviously an Avalon Enterprise beta going on now - More feedback to bill...........
[09-Jun-2011 12:04:50] <Simon4> Jane_Curry: I don't have a copy of avalon enterprise, so if there's a beta going on no-one told me and I work for an ent customer
[09-Jun-2011 12:05:11] <nyeates> ptmcg: thanks for keeping the back compat on Zenpack... saves me and community from headaches!
[09-Jun-2011 12:05:28] <jmp242> Yes - backwards compatibility is important
[09-Jun-2011 12:05:38] <Jane_Curry> Very!
[09-Jun-2011 12:06:04] <Jane_Curry> nyeates: How many ZenPacks got updated in your latest ZenPack update competition???
[09-Jun-2011 12:08:20] <bhansen> anyone want to help track an issue down with me lol.... pulling out what little hair I have
[09-Jun-2011 12:08:34] <Jane_Curry> try us
[09-Jun-2011 12:08:41] <rmatte> bhansen: explain what it is, good chance someone has already encountered it
[09-Jun-2011 12:09:08] <bhansen> when trying to create a multigraph report and I go to add the graph defs I get the following error (incomming pastebin)
[09-Jun-2011 12:09:11] <nyeates> Jane: I will have to go recount. Not as many as we had hoped - under a dozen if you are just counting existing ones being updated.
[09-Jun-2011 12:09:18] <bhansen> pastebin link http://pastebin.com/DXAKGXUL
[09-Jun-2011 12:09:38] <nyeates> We are going to extend the event and also may be sending books out as 'prizes'.... please no comments on the lack of prizes - I know this.
[09-Jun-2011 12:09:57] <rmatte> hmmm
[09-Jun-2011 12:10:01] <bhansen> sonetPath is a template that is empty its just a place holder
[09-Jun-2011 12:10:19] <rmatte> interface template?
[09-Jun-2011 12:10:27] <bhansen> so zenoss does not try to do ethernet stats on a sonetPath interface
[09-Jun-2011 12:10:27] <bhansen> yes
[09-Jun-2011 12:10:51] <nyeates> I have to run all. Thanks for attending everyone. Feel free to continue to duke-out your issues!
[09-Jun-2011 12:11:08] <Hackman238> nyeates: prize suggestion-gold bullion
[09-Jun-2011 12:11:16] <rmatte> bhansen: it'll do whatever based on the template
[09-Jun-2011 12:11:35] <rmatte> bhansen: it might just be looking for a specific datapoint name in that template and not finding it so it pukes
[09-Jun-2011 12:12:27] <bhansen> this error occurs when I click on add graph on the multi-graph report creation
[09-Jun-2011 12:12:38] <rmatte> how did you create that sonetPath template?
[09-Jun-2011 12:13:27] <bhansen> went to device, then templates then add tempate named it sonetPath and hit save
[09-Jun-2011 12:13:35] <bhansen> there is nothing else in the template
[09-Jun-2011 12:13:42] <rmatte> There is a template configuration option called Target Class
[09-Jun-2011 12:13:47] <rmatte> is it set to Products.ZenModel.IpInterface
[09-Jun-2011 12:13:48] <rmatte> ?
[09-Jun-2011 12:13:56] <rmatte> (in the template)
[09-Jun-2011 12:13:57] <bhansen> its Products.ZenModel.Device
[09-Jun-2011 12:14:05] <rmatte> change it to Products.ZenModel.IpInterface if it's an interface template
[09-Jun-2011 12:14:07] <nyeates> TheMacTech: "how do I add multiple email recipients to one alert rule" You have to either have a single group email address if you control the email server. Or, you set up many zenoss users, add them to a group, give that group an alerting rule.
[09-Jun-2011 12:14:13] <rmatte> otherwise it's categorized as a device template
[09-Jun-2011 12:14:17] <rmatte> that could be what's causing the issue
[09-Jun-2011 12:14:43] <ptmcg> bhansen: this looks very similar to this ticket: http://dev.zenoss.com/trac/ticket/4754  reported against Zenoss 2.3.3.  Unf. it was closed as Not Reproducible.
[09-Jun-2011 12:15:03] <bhansen> rmatte, no change
[09-Jun-2011 12:15:08] <rmatte> when I create new interface templates I always just copy existing interface templates, rename them, and edit them
[09-Jun-2011 12:15:16] <bhansen> ptmcg, checking the bug Im on 2.5.2
[09-Jun-2011 12:15:45] <rmatte> bhansen: try deleting that template, copying an existing interface template and renaming it
[09-Jun-2011 12:15:47] <rmatte> see if that fixes it
[09-Jun-2011 12:16:07] <rmatte> if not, go in to zendmd and try a reindex() then a sync() then a commit()
[09-Jun-2011 12:16:07] <Hackman238> rocket: Data.fs, during migration, is at 107GB with migration @ ~20%
[09-Jun-2011 12:16:21] <rmatte> Hackman238: that's humongous
[09-Jun-2011 12:16:29] <Hackman238> rocket: Before migration it was like 4GB packed
[09-Jun-2011 12:16:43] <Simon4> Hackman238: migration from 2.5 to 3.something?
[09-Jun-2011 12:17:08] * Simon4 remembers his data.fs getting fairly huge
[09-Jun-2011 12:17:16] <Hackman238> Simon4: Its ent testing v3->ava
[09-Jun-2011 12:17:23] <Simon4> *nod*
[09-Jun-2011 12:17:31] <Simon4> so even bigger
[09-Jun-2011 12:17:33] <Simon4> yikes
[09-Jun-2011 12:17:38] <Hackman238> Simon4: This dc is huge though....7.5mil objects
[09-Jun-2011 12:17:50] <Hackman238> Simon4: ...after I pruned out the unneeded stuff
[09-Jun-2011 12:18:14] <bhansen> rmatte, same thing heading into zendmd to reindex() resync() and commit()
[09-Jun-2011 12:18:33] <Simon4> our packed Data.fs in 2.5 is 1.5G, I think it was a bunch more than that when I tested 3
[09-Jun-2011 12:18:55] <Simon4> how do I query object numbers?
[09-Jun-2011 12:19:06] <Hackman238> Simon4: I check the ZMI, but it can be done in dmd too
[09-Jun-2011 12:19:18] <rmatte> bhansen: same error?
[09-Jun-2011 12:19:19] <Hackman238> Simon4: http://url:port/manage
[09-Jun-2011 12:19:29] <bhansen> yeah doing the zendmd stuff now
[09-Jun-2011 12:19:37] <rmatte> k
[09-Jun-2011 12:20:08] <Hackman238> bhansen: ahve tried zenchkrels -x 1 -r?
[09-Jun-2011 12:20:16] <bhansen> yes
[09-Jun-2011 12:20:21] <Simon4> 1.5mil, not quite 7.5
[09-Jun-2011 12:20:22] <Hackman238> bhansen: did it fail with trace?
[09-Jun-2011 12:20:46] <Hackman238> Simon4: yeah, and we're going to add another 4-5mil soon
[09-Jun-2011 12:21:06] <bhansen> Hackman238, I dont think it did, it took forever (pretty big installtion of zenoss)
[09-Jun-2011 12:21:25] <Hackman238> bhansen: Hum.
[09-Jun-2011 12:22:44] <rmatte> I'm headed to lunch, bbiab
[09-Jun-2011 12:23:06] <Hackman238> bhansen: whats the exaxct error youre getting?
[09-Jun-2011 12:23:54] <xuru> anyone have a transform to strip off the domain of the evt.device?
[09-Jun-2011 12:24:42] <bhansen> when I am creating a multi-graph report I go in, add my collection (no problem) then click the add new graph under graph definitions and name it (whatever does not matter the name) then it gives the A Zenoss error has occurred
[09-Jun-2011 12:24:55] <Hackman238> xuru: you could do a split('.') and go from there
[09-Jun-2011 12:25:00] <bhansen> under view error detail I get http://pastebin.com/DXAKGXUL
[09-Jun-2011 12:25:47] <Hackman238> bhansen: Ah. I have a fix for that
[09-Jun-2011 12:25:52] <bhansen> 'sonetPath' is an interface template that has no defs in it at all
[09-Jun-2011 12:25:53] <xuru> This is what I got so far:  if evt.device.find("domain.com") != -1:  evt.device = evt.device.split(".")[0]
[09-Jun-2011 12:26:00] <xuru> does that look reasonable?
[09-Jun-2011 12:26:12] <Hackman238> xuru: long as not multi node FQDN
[09-Jun-2011 12:26:23] <bhansen> Hackman238, what is it?
[09-Jun-2011 12:26:26] <xuru> yeah
[09-Jun-2011 12:26:32] <xuru> cool thanks
[09-Jun-2011 12:27:00] <Simon4> xuru: if "domain.com" in evt.device:  is a bit neater if you like that kind of thing
[09-Jun-2011 12:27:36] <xuru> I always wondered if there was some performance difference between the two...
[09-Jun-2011 12:27:54] <Simon4> not sure tbh
[09-Jun-2011 12:29:52] <ptmcg> Simon4: When I have a choice between using language notation vs. a function (like "in" vs. find or has_key, or '**' vs. pow), I always pick the language construct
[09-Jun-2011 12:31:14] <ptmcg> It may still be an eventual function call, but I think functions called within the C code are lighter weight than functions called from Python
[09-Jun-2011 12:31:32] * Simon4 nods
[09-Jun-2011 12:31:35] <ptmcg> (less method resolution, less framing before/after function)
[09-Jun-2011 12:32:06] <ptmcg> and I think it is neater-looking too
[09-Jun-2011 12:34:45] <ptmcg> Hackman238: if you have a repro and fix for bhansen's problem, I could verify if it is still there in the current system - there was a ticket for this at one time, after all

Comments (0)