mray has changed the topic to: Zenoss Developers are Here (10:00:14 AM)
10:00:28 AM ericenns: hmm a few moments
10:00:38 AM ericenns: actually couldn't tell you how long
10:00:38 AM mray: in case you hadn't guessed, cgibbons is on call today, I'm here and I'm sure other devs will drop in
10:02:07 AM ericenns: now I remember when reading the description for HPEVAMon it says you must delete and re-add device
10:02:13 AM ericenns: for modeling to work
10:02:21 AM cgibbons: really? hmmm
10:02:25 AM cgibbons: that's funky
10:02:38 AM ericenns: ya so it's not just for the case of my ZenPack
10:02:51 AM cgibbons: I don't have that in this enterprise ZenPack that has a custom zPythonClass and device class.
10:03:04 AM ericenns: hrm
10:03:04 AM cgibbons: However, there, I am creating the device class and setting zPythonClass inside objects.xml
10:03:10 AM cgibbons: instead of via the __init__.py
10:03:18 AM ericenns: oh ok
10:03:41 AM ericenns: how would i do it that way?
10:04:20 AM ericenns: nermind figured it out
10:04:54 AM cgibbons: comment out the calls to addDeviceClass in your __init__.py, remove the zenpack, readdit, restart everything, go into the UI to add /Test/Dell, set the zPythonClass configuration property, then 'Add it to ZenPack' and finally exportt your zenapck so that the objects.xml will be updated in your linked source tree
10:05:30 AM ericenns: crap zenpack --remove deleted by copy
10:05:44 AM ericenns: got a backup though
10:06:00 AM cgibbons: need to make sure you use --link --install for dev copies to keep it from being removed
10:06:10 AM ericenns: i did do --link --install
10:06:14 AM cgibbons: huh
10:06:25 AM cgibbons: oh the .egg or an expanded directory tree?
10:06:44 AM ericenns: zenpack --link --install ZenPacks.test.Dell
10:06:59 AM ericenns: then i did zenpack --remove ZenPacks.test.Dell
10:08:09 AM ericenns: am i supposed to keep my dev copy in a location other than /opt/zenoss/ZenPacks
10:09:05 AM mray: If anyone has Zenoss 3.0 issues, please bring them up here or in #zenoss-testing
10:10:06 AM cgibbons: I don't put them there myself, eric. I tend to have a source tree outside of my zenoss tree where I work on a zenpack. zenpack --install will create a symbolic link in $ZENHOME/ZenPacks to your working area.
10:10:28 AM ericenns: ok I will try that
10:10:53 AM cgibbons: i guess that's why it waxed it, --remove will still try and clean up the entry in $ZENHOME/ZenPacks
10:11:15 AM ericenns: ok umm another question what was I supposed to remove from my __init__.py
10:11:58 AM cgibbons: I would just comment out lines 45-46 in install method, and lines 50-52 in upgrade for now
10:12:03 AM cgibbons: that'll work for the experiment
10:12:28 AM cgibbons: it it works, then you won't need that custom ZenPack class at all for what you're adding
10:12:40 AM ericenns: ok will try that
10:14:08 AM ashp: hmm, I wonder if zenmib is smart enough to ignore mibs it has already imported
10:15:26 AM ashp: I am hoping to just setup a cron to import mibs on a constant basis so if it ignores existing ones that'll be neat
10:18:29 AM themactech: Is there an updated developer's guide for 3.0, or is all the info in the 2.5 version still current?
10:18:48 AM mray: themactech: it's coming soon
10:19:40 AM themactech: where do component templates reside in the zenoss directory? I need to change one and don't know where to look
10:20:14 AM cgibbons: they aren't stored as files
10:20:30 AM cgibbons: they're stored in the object database. you can export one via XML and edit it, or use the UI to edit it
10:20:46 AM themactech: I have CPU components for servers, and by default the component template sends a warning when a CPU is red lining, but I have cluster servers which have the CPU constantly red lining and I'm getting tons of unwanted alerts
10:20:46 AM cgibbons: the latter being the normal way
10:21:34 AM themactech: So I need to make an alternate CPU component template that disables the high threshold for these servers
10:21:54 AM themactech: where do I find these in the UI to duplicate/modify them?
10:22:11 AM cgibbons: if you navigate to Advanced -> Monitoring Templates you can see the templates
10:22:29 AM cgibbons: CPU data points & templates are usually in the Device template
10:22:36 AM cgibbons: rather than a CPU component template
10:23:44 AM ericenns: cgibbons:
10:23:45 AM ericenns: Exception: Unable to create object using the following attributes:
10:23:47 AM ericenns: * id: /zport/dmd/Devices/Test/Dell
10:23:48 AM ericenns: * module: Products.ZenModel.DeviceClass
10:23:50 AM ericenns: * class: DeviceClass
10:24:37 AM cgibbons: context? what were you doing at the time? this after you added the device clas, etc. to objects.xml or?
10:25:07 AM mugginz: hello all, after some help if possible
10:25:14 AM mugginz: all my daemons are running on the zenoss server but I can not access it via the web browser?
10:25:28 AM ericenns: Yes and I tried installing the zenpack on a different zenoss
10:25:34 AM ericenns: also 3.0.1
10:25:46 AM cgibbons: okay, did your new zenpack have the objects/objects.xml file?
10:25:57 AM mray: mugginz: are you using port 8080?
10:26:03 AM mray: mugginz: http://yourserver:8080
10:26:05 AM mugginz: yes
10:26:11 AM mugginz: https://
10:26:22 AM ericenns: I believe it did how do I check the .egg for it
10:26:30 AM mray: mugginz: not https
10:26:36 AM cgibbons: you can just unzip it
10:26:43 AM cgibbons: .egg is just a .zip file with some meta files inside of it
10:26:43 AM mugginz: doh! i will try just http then
10:27:17 AM ericenns: ok
10:28:34 AM ericenns: it looks like this http://freetexthost.com/606xmhb0bm
10:29:59 AM cgibbons: ok yeah
10:30:08 AM mugginz: ok next question
10:30:14 AM cgibbons: what's __init__.py look like in that new one?
10:30:34 AM mugginz: when i go to autodiscover devices it doesn't change the screen
10:30:50 AM themactech: Have you added a network?
10:30:51 AM mugginz: it stays on the same screen as the manually find devices
10:31:08 AM themactech: you need to add a network before you autodiscover
10:31:20 AM mray: mugginz: are you saying the radio button isn't working?
10:31:36 AM mugginz: the radio button works but the page doesn't change
10:31:42 AM themactech: also the discovery process take a bit, wait and refresh device view
10:31:51 AM ericenns: cgibbons: here http://freetexthost.com/sqflzqh30h
10:31:54 AM mray: mugginz: which browser?
10:32:13 AM mugginz: chrome or firefox
10:32:43 AM cgibbons: ok that looks right. when you got that error was there any more context? was it on the CLI or browser?
10:32:55 AM mray: mugginz: stick with Firefox, Chrome currently has some issues
10:33:38 AM themactech: i have a question about ldapuserfolder plugin
10:33:45 AM mugginz: ok thanks mray!
10:34:08 AM themactech: it does not support posix groups, so it won't do group mappings with an Apple OS X Server
10:34:46 AM themactech: a fella out there has a patch to add this functionality, how much pull do you guys have with the folks that upkeep these plugins, any way to have them roll that into the plugin?
10:35:26 AM themactech: I have all the user bindings working with an Apple OD server but can't do groups until the plugin handles posix groups
10:36:23 AM ericenns: cgibbons: it was in the cli ZenPack installation
10:36:56 AM cgibbons: ok, was there any more traceback information that it printed?
10:37:46 AM chemist: afternoon
10:37:55 AM mray: chemist: greetings
10:38:36 AM chemist: general question for the devs, when are we going to be able to create our own dependencies?
10:39:11 AM chemist: I have to monitor 40+ sites over vpns and every time I loose a vpn I get flooded
10:40:57 AM cgibbons: I don't know where it is on our product roadmap. Do you recall the last time it was discussed, mray?
10:41:39 AM ericenns_: cgibbons: Here is the entire traceback http://freetexthost.com/2vsdom2ex6
10:41:43 AM mray: it's usually near the top of my list of requests, but I don't know where it fell in the planning for the next release
10:42:58 AM chemist: it's the one thing that would make zenoss 99.9% perfect for me
10:43:07 AM chemist:
10:43:18 AM cgibbons: eric, can you do a quick experiment with that new zenpack where you just remove the __init__.py completely and try that install again?
10:43:19 AM mray: yeah, I've raised the issue over and over again
10:43:30 AM cgibbons: product prioritization is a tricky, tricky business
10:43:41 AM cgibbons: i have a meeting - i'll be back in 20
10:45:26 AM ericenns: sure I can do that
10:46:25 AM mray: right now they're trying to close out tickets for consideration for 3.0.2, so if there's something bugging you, please open it ASAP
10:46:48 AM mray: because development would prefer to focus on the 3.1 release rather than a 3.0.3 release
10:48:22 AM sciolist: so what are the major features in consideration for the 3.1 release?
10:48:30 AM Simon4: *is really struggling to find time to open tickets *
10:48:51 AM chemist: manual dependencies lol
10:49:02 AM mray: sciolist: I know reporting is #1
10:49:08 AM Simon4: mray: presumably you have slow infrastructure page anyway
10:49:23 AM mray: Simon4: there's a zenpatch for 3.0.1 already for that
10:49:30 AM sciolist: reporting == more customized reports or what?
10:49:43 AM Simon4: have you seen one for opening the reporting page collapsed, not expanded?
10:49:48 AM Simon4: ours takes about a minute to load
10:49:58 AM Simon4: 1500 reports might have been outside testing parameters
10:50:29 AM mray: sciolist: normalized data and pushing it out for reporting tools to work on. Probably a 3rd party tool integration for Enterprise (ie. Jasper/Pentaho/Crystal or something)
10:51:07 AM mray: and Enterprise will have vSphere support
10:53:29 AM ericenns: vSphere being esx or esxi
10:53:51 AM mray: ericenns: those are already supported in Enterprise
10:54:01 AM mray: ericenns: vSphere is VMware's private cloud software
10:54:09 AM ericenns: oh i see
10:54:17 AM mray: so moving on up
10:54:40 AM mray: I believe it's in beta right now
10:55:07 AM rocket: 3.1 or whatever the release will be is targeting speed improvements as well
10:55:16 AM mray: oh yeah, dug
10:55:19 AM ericenns: rocket: thank good
10:55:21 AM sciolist: that will certainly be welcome
10:55:24 AM rocket: performance and reliability of zenhub
10:55:27 AM mray: yeah, so that's already in trunk
10:55:42 AM mray: replacing the zodb filestorage with mysql
10:55:55 AM mray: which is 2-4X speed improvement
10:55:57 AM mray: already
10:56:00 AM rocket: easily 10-20% improvement ... possibly as much as 50% or more
10:56:13 AM rocket: caching rrd daemon for io improvements
10:56:14 AM mray: plus the RRDcaching
10:56:22 AM mray: perhaps a MySQL upgrade
10:56:48 AM mray: so everything should be faster across the board
10:57:07 AM mray: so get your 3.0.2 bugs entered so dev can get back on 3.1
10:57:37 AM Simon4: mray: should ent customers raise bugs in trac or the club lounge? (portal)
10:57:52 AM mray: Simon4: either or both
10:58:07 AM Simon4: *fires one up in teh portal*
10:58:36 AM Simon4: it's a showstopper for us, so getting it into 3.0.2 would be great
10:59:11 AM rocket: mray: they are also looking at splitting event processing out of zenhub into its own set of daemons
10:59:24 AM rocket: so that you can have multiple event processing daemons
10:59:37 AM mray: yeah, lots and lots of performance enhancements
11:00:52 AM Simon4: mray: search box coming in 3.0.2? I know there's a non-ent solution now
11:01:25 AM mray: Simon4: yeah, Enterprise has some new search stuff in 3.0 and Core has the Global Device Search
11:01:37 AM Simon4: coolies
11:01:39 AM mray: I'll have a tip of the month for writing your own search extensions
11:01:42 AM Simon4: that's one less ranty ticket then
11:03:45 AM ericenns: in my ZenPack im developing I add a device class /Test/Dell to my zenpack then I export it and install and I get a failed installation
11:04:41 AM ericenns: here is the traceback http://freetexthost.com/bfgyfsnml0
11:06:57 AM cgibbons: i am back
11:07:21 AM ericenns: cgibbons: cool I tried it with a different test zenpack
11:09:04 AM cgibbons: without the init?
11:09:19 AM ericenns: this one has a basic __init__.py
11:11:27 AM ericenns: here is the __init__.py http://freetexthost.com/d3cpeywhur
11:12:42 AM cgibbons: can you email me that zenpack again?
11:12:52 AM cgibbons: hrm wait
11:13:00 AM ericenns: this is a different ZenPack
11:13:17 AM cgibbons: the methods in the ZenPack loader aren't gonna help here i think
11:13:23 AM ericenns: ok
11:14:34 AM ericenns: cgibbons: I have an idea
11:19:32 AM ericenns: cgibbons: I created a blank zenpack then added a device organizer to it
11:19:37 AM ericenns: cgibbons: installing it now
11:21:08 AM ericenns: cgibbons: traceback http://freetexthost.com/rxk4jbutjn
11:27:56 AM ericenns: any ideas?