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

Dev chat 06/25/2009

VERSION 1 
Created on: Sep 14, 2009 11:20 AM by Noel Brockett - Last Modified:  Sep 14, 2009 11:20 AM by Noel Brockett
[2009-06-25 10::00:51] ** You changed the topic to "Zenoss Developers are here".
[2009-06-25 10::01:02] mrayzenoss: Greetings all, mrchippy will be joining me shortly
[2009-06-25 10::01:30] bwest: Quick question Is there a way to monitor the Billiant Service on windows machine?
[2009-06-25 10::02:52] mrayzenoss: bwest: I've got a MS SQL ZenPack I'm hoping to post later today
[2009-06-25 10::03:04] bwest: Will that do the trick?
[2009-06-25 10::03:50] ** mrchippy joined the chat room.
[2009-06-25 10::04:17] atrawog: Hi Mray! Have you got my email?
[2009-06-25 10::04:50] bwest: mray: Will the new Ms SQL zenpack allow me define the queries I send?
[2009-06-25 10::05:12] mrayzenoss: bwest: let me check
[2009-06-25 10::05:48] ** klinstifen joined the chat room.
[2009-06-25 10::05:56] mrayzenoss: atrawog: I'll get the Brocade update out after the 5 DB ones from Egor
[2009-06-25 10::06:58] bwest: mrchippy: I am monitoring servers in the SSH/Linux class and I want to pull memory stats off those servers. Can I use a plugin or do I have to creat a new zenpack, and parser?
[2009-06-25 10::07:16] mrayzenoss: bwest: check out the LinuxMonitorAddOn ZenPack
[2009-06-25 10::07:48] zenChild: Can somewhat tell me exactly what Products.DataCollector.plugins.DataMaps.MultiArgs does? How does the actual structure look that it is creating?
[2009-06-25 10::08:45] bwest: mray: are you saying as a example because I thought that only provided information on interfaces?
[2009-06-25 10::09:06] mrayzenoss: bwest: no, the LinuxMonitorAddon rolls up a patch to the LinuxMonitor to add memory
[2009-06-25 10::09:57] klinstifen: bwest: if that doesnt' work you could create a zenpack
[2009-06-25 10::09:59] mrayzenoss: there's a patch for the LinuxMonitor ZenPack that adds memory and interfaces that will be included in the next release, but the LinuxMonitorAddOn has that patch now
[2009-06-25 10::10:09] klinstifen: i did that to get print queue information from our aix box
[2009-06-25 10::10:10] mrchippy: zenChild: some of the map keys are methods that can take more than one arg (like setHwProductKey, iirc). you pass a multiarg object for that
[2009-06-25 10::10:12] klinstifen: worked pretty well
[2009-06-25 10::10:24] mrchippy: zenChild: looking for example
[2009-06-25 10::10:44] bwest: mray: I see because I have installed that zenpack but when I go to the memory reports nothing shows up
[2009-06-25 10::12:03] zenChild: I think my confusion was if it was actually a key or a value in the dictionary. I'm trying to wrap my head around how a key can be more than one value.
[2009-06-25 10::12:07] klinstifen: i have a generic question about threshholds
[2009-06-25 10::13:33] mrayzenoss: klinstifen: what were you trying to use the Threshold against?
[2009-06-25 10::13:53] rmatte: bwest: did you actually install the LinuxMonitorAddOn ZenPack, or the patch for the standard one?
[2009-06-25 10::14:21] bwest: the LinuxMonitorAddOn Zenpack
[2009-06-25 10::14:34] mrayzenoss: bwest: have you remodeled?
[2009-06-25 10::14:44] rmatte: yeh, you need to remodel afterwards
[2009-06-25 10::14:52] bwest: yes a number of times
[2009-06-25 10::15:27] rmatte: did you locally define the collector plugins at some point?
[2009-06-25 10::15:31] mrchippy: zenchild: it's the value. check out the NewDeviceMap plugin in trunk/Products/DataCollector/plugins/zenoss/snmp. It maps the hwproductkey name and manufacturer using MultiArgs (lines ~80 - 90)
[2009-06-25 10::15:31] bwest: rmatte: I need to get memavail, cached etc
[2009-06-25 10::15:34] klinstifen: mray: i created some custom datapoints for an exchange zenpack i made...i wanted a threshold to go against the datapoints
[2009-06-25 10::16:02] bwest: rmatte: Locally define the collector plugins?
[2009-06-25 10::16:06] rmatte: bwest: that would be something under the perf tab, no?
[2009-06-25 10::16:11] venturaville: btw: devices.findDevice('blah.blah') does not work because of the dots in the name..........
[2009-06-25 10::16:25] bwest: rmatte: yes
[2009-06-25 10::16:42] ** suprsonic left the chat room.
[2009-06-25 10::16:46] zenChild: mrchippy: k. I'll check it. Thanks for the tip.
[2009-06-25 10::17:00] mrchippy: venturaville: checking that now...
[2009-06-25 10::17:03] rmatte: sounds like the template didn't update
[2009-06-25 10::17:21] rocket: bwest: as far as I know that information isnt gathered yet
[2009-06-25 10::17:35] rmatte: rocket: ah, ok
[2009-06-25 10::17:40] mrayzenoss: klinstifen: so you added the datasource and a data point and when you go to add a threshold the datasource_datapoint isn't there?
[2009-06-25 10::18:14] atrawog: @mray There is no hurry with my Brodade ZenPack. I just wanted to check if a Mercurial repo is ok for you.
[2009-06-25 10::18:15] rmatte: bwest: rocket actually made that addon zenpack so he'd be best to answer your questions hehe
[2009-06-25 10::18:16] bwest: rocket: ok will it be in the next release? if so when will that be released
[2009-06-25 10::18:35] mrayzenoss: atrawog: yeah, that should be OK. I'll figure out how to pull it over
[2009-06-25 10::19:09] ** Serideru joined the chat room.
[2009-06-25 10::19:52] ** dberger_ joined the chat room.
[2009-06-25 10::20:16] rocket: bwest: send me the location of the commands and the data you need and I will see what I can do .. no gaurantees
[2009-06-25 10::20:34] mrchippy: venturaville: i was able to do "dmd.Devices.findDevice('mybox.zenoss.loc')" and it worked. it has to be an exact device id match. is this what you did?
[2009-06-25 10::20:43] rocket: bwest: it will be an extension of the advanced linux monitor zenpack then
[2009-06-25 10::20:51] ** dberger left the chat room.
[2009-06-25 10::20:51] ** quadro__ left the chat room.
[2009-06-25 10::21:49] rocket: bwest: depending on my time I may be able to get to it .. I am working on something with zenoss that might prevent me from working on this though .. thats something I will have to discuss with matt when the time comes
[2009-06-25 10::22:06] klinstifen: mray: the datapoints don't exist to be selected because they were created in the custom definition
[2009-06-25 10::22:22] venturaville: mrchippy: yeah I am doing this: dmd.Devices.findDevice('www.myhostname.com')
[2009-06-25 10::22:50] ** quadro__ joined the chat room.
[2009-06-25 10::22:52] mrchippy: venturaville: also, find() and dmd.Devices.findDevice() use zope catalog glob searches so * is an option.
[2009-06-25 10::23:14] venturaville: >>> dmd.Devices.Site.getSubDevices_recursive()
[2009-06-25 10::24:00] mrchippy: venturaville: that probably means it's not in the catalog (maybe)
[2009-06-25 10::24:13] venturaville: how would that happen?
[2009-06-25 10::24:24] bwest: Another question The Admin Password shows up in plain text when I run a test of the WMIC commands as well in event summary can I stop this
[2009-06-25 10::24:53] mrchippy: venturaville: try this-- dmd.Devices.Site.devices._getOb('www.myhostname.com').index_object()
[2009-06-25 10::25:25] venturaville: None
[2009-06-25 10::25:25] mrchippy: venturaville: how that would happen-- not sure. some goof somewhere. (hopefully not one of mine )
[2009-06-25 10::25:34] rocket: bwest: which zenpack are you using for that?
[2009-06-25 10::25:47] mrayzenoss: klinstifen: so you've programatically added the datapoints, but they don't show up for selection in the Threshold... I guess you could add a different datapoint, and then go change it in the code to your custom one?
[2009-06-25 10::25:55] venturaville: I'm guessing broken zenpack somehow...looking into clean it up now
[2009-06-25 10::26:02] bwest: I have tried the zenoss one and the external one
[2009-06-25 10::26:10] mrchippy: venturaville: dmd.Devices.Site.devices()[0]
[2009-06-25 10::26:12] bwest: at the moment none
[2009-06-25 10::26:21] mrchippy: venturaville: what does that give you?
[2009-06-25 10::26:33] bwest: rocket:I have tried to run it as a non admin with no success
[2009-06-25 10::26:35] venturaville:
[2009-06-25 10::26:50] bwest: rocket: can't monitor any services
[2009-06-25 10::26:53] klinstifen: mray: hmm...could try that
[2009-06-25 10::27:04] mrchippy: venturaville: then try dmd.Devices.Site.devices()[0].index_object()
[2009-06-25 10::27:25] klinstifen: mray: set that datapoint to "not drawn"?
[2009-06-25 10::27:29] venturaville: None
[2009-06-25 10::28:05] klinstifen: mray: err...if i set it to "not drawn" will the threshold still evaluate or will that setting cause the threshold to ignore the values?
[2009-06-25 10::28:14] ** paulh joined the chat room.
[2009-06-25 10::28:17] rmatte: in zendmd, is there a quicker way than doing something like mydev = dmd.Devices.findDevice('DeviceName') \ print mydev.zWinPassword to retrieve the contens of a zProperty?
[2009-06-25 10::28:42] paulh: d=find('DevNme')
[2009-06-25 10::28:57] rocket: bwest: I havent done anything with wmi yet .. but from what I have heard the only way to keep the password from showing would be to update the zenpack causing it ... or do an event transform that strips the information ..
[2009-06-25 10::29:01] rmatte: paulh: identical speed, I meant quicker as in retrieval time
[2009-06-25 10::29:03] mrchippy: rmatte: yeah, what paulh said
[2009-06-25 10::29:11] paulh: got it
[2009-06-25 10::29:17] mrchippy: rmatte: ohh
[2009-06-25 10::29:24] klinstifen: bwest: yeah there are a couple forums postings about using the event transform to hide the password
[2009-06-25 10::29:29] rmatte: I'm trying to amp up the performance on some scripts if possible
[2009-06-25 10::29:37] mrchippy: rmatte: only if you know exactly where it lives
[2009-06-25 10::30:07] rmatte: I see, hmm, doubt it's possible then
[2009-06-25 10::30:11] venturaville: mrchippy: that worked for all of them thanks......
[2009-06-25 10::30:22] zenChild: For the SSH modeling plugins, is it possible to get the handle of the ssh pipe to send additional commands, or am I limited to simply having "echo" delimiters for a single command.
[2009-06-25 10::30:24] mrchippy: venturaville: sweet
[2009-06-25 10::30:24] mrayzenoss: bwest: another problem is that the WMI ZenPacks that lots of people use aren't in the Community ZenPack repo, so nobody's updating them
[2009-06-25 10::30:37] rmatte: I modified the WMI Performance zenpack a while back to retrieve the username and password values on it's own, but it's extremely intensive on the system when it's running
[2009-06-25 10::30:38] bwest: rocket: good idea, any ideas about when you run the test in the template area?
[2009-06-25 10::31:04] rocket: bwest: probably same solution to use a transform ..
[2009-06-25 10::31:55] bwest: rocket: you can use a transform in templates when you are testing the command against a device?
[2009-06-25 10::32:13] rocket: bwest: if it shows up in the event
[2009-06-25 10::32:58] bwest: rocket: ok no I meant when i actually run the test in the template and it returns the result of the test the password shows up there in plain text
[2009-06-25 10::33:43] rocket: bwest: probably the only solution is to update the zenpack in that case
[2009-06-25 10::34:00] mrchippy: bwest: let me see if i'm getting this-- the prob is that testing the command shows the pword in plain txt?
[2009-06-25 10::34:05] atrawog: @zenchild If you want you can send a complete shell script.
[2009-06-25 10::34:25] bwest: mrchippy: yes
[2009-06-25 10::34:34] rocket: mrchippy: correct .. there is a bug report filed that is closed as a wont fix because it technically is the zenpack maintainers issue
[2009-06-25 10::35:07] bwest: mrchippy:so when zenoss admins are accessing this they can see admin passwords on devices they shouldn't
[2009-06-25 10::35:09] zenChild: atrawog: I can't send shell scripts. It's an appliance running rbash. I'm extremely limited in what I can do at the shell.
[2009-06-25 10::35:17] mrayzenoss: rocket: rmatte: bwest: and I've asked the maintainer to submit the ZenPack to the repository so it could get fixed, but he hasn't
[2009-06-25 10::35:44] rmatte: mrayzenoss: yeh I know, I even submitted my changes to him as a rough start but haven't heard back from him
[2009-06-25 10::35:51] rocket: mrayzenoss: should just take the zenpack and apply the maintainer mode work around and update it ourselves
[2009-06-25 10::36:01] rmatte: there has to be a better way to pass the username and password info to the script
[2009-06-25 10::36:04] mrchippy: bwest: actually kells is working on a mechanism that would do it or at least give you a hook that made it obvious where to do the obfuscating. hopefully, that'll be in the code soon
[2009-06-25 10::36:10] mrayzenoss: rocket: well, it's his ZenPack, so we wouldn't be able to clear the licensing
[2009-06-25 10::36:15] rmatte: if I can find a way I'll package it up and submit it myself
[2009-06-25 10::36:28] rocket: mrayzenoss: was it gpl'd?
[2009-06-25 10::37:04] rmatte: same here
[2009-06-25 10::37:06] bwest: ok thx guys, that would be a major help
[2009-06-25 10::37:21] venturaville: anyone know how I translate a list of device object to a list of objects in tales for a skin?
[2009-06-25 10::38:10] rmatte: those zenpacks need to be updated badly, they are ancient
[2009-06-25 10::38:31] ** Da-Geek left the chat room.
[2009-06-25 10::39:10] bwest: The one I believe is Dalstrup and the other i used was from the community
[2009-06-25 10::39:30] rocket: rmatte: how bad would it be to implement our own wmi zenpack?
[2009-06-25 10::39:56] rmatte: rocket: would be pretty easy from what I've seen, we should do that
[2009-06-25 10::40:09] bwest: Yes please do that
[2009-06-25 10::40:31] rocket: rmatte: there you go .. summer of code contest entry for ya
[2009-06-25 10::40:36] mrayzenoss: So I checked, there's no license on his ZenPacks, which means we won't touch them
[2009-06-25 10::40:50] rocket: mrayzenoss: makes sense to me
[2009-06-25 10::41:07] venturaville: mrayzenoss: which license do you want on zenpacks anyways?
[2009-06-25 10::41:14] rmatte: rocket: start with a straight performance Zenpack, then make a replacement for the Exchange and IIS Zenpacks
[2009-06-25 10::41:18] zenChild: venturaville: have you looked this over? It came in handy when mucking with skins the other day. http://www.zenoss.com/community/docs/howtos/using-zentablemanager/
[2009-06-25 10::41:34] mrayzenoss: GPLv2, with the Contributor Agreement signed, so we can post them and modify them as necessary
[2009-06-25 10::41:39] mrchippy: venturaville: tal:define "objects here/getMyDeviceList"
[2009-06-25 10::41:51] rmatte: rocket: still need to figure out how to pass the username and password to it in a more elegant fashion though
[2009-06-25 10::42:09] mrchippy: venturaville: is that too obtuse? do you have a more specific thing in mind?
[2009-06-25 10::42:23] mrayzenoss: more permissive licenses are OK than GPL, so you could go with BSD if you prefer
[2009-06-25 10::42:34] rmatte: or AGPL
[2009-06-25 10::42:36] klinstifen: rmatte: i have an exchange zenpack i made...if you guys are interested i could go through the shabang and post it?
[2009-06-25 10::42:46] mrayzenoss: yeah
[2009-06-25 10::42:50] rocket: rmatte: just do like the command password is being done
[2009-06-25 10::42:52] bwest: Yes
[2009-06-25 10::43:03] rocket: rmatte: in fact probably could leverage that code that exists
[2009-06-25 10::43:16] rmatte: klinstifen: if it's nicer than the exchange zenpack that's there (which I'm sure it is) then please do submit it
[2009-06-25 10::43:32] venturaville: mrchippy: I have a python list of references to actual devices, but it looks as though the objects that zentable manager is a little different ... the list I have is generated using a lambda and map combo from a list of device names
[2009-06-25 10::43:38] klinstifen: rmatte: which one?
[2009-06-25 10::43:53] rmatte: actually, sorry not that's there
[2009-06-25 10::44:12] bwest: Is there an update in the works for the asterisk zenpack, I have seen mixed reviews for that one
[2009-06-25 10::44:27] mrchippy: ahh, good ol' ZenTableManager. Let me find an example for you. You have to use getBatch()
[2009-06-25 10::44:32] mrayzenoss: bwest: the original author said he's not using Asterisk anymore, so it's somewhat orphaned
[2009-06-25 10::44:36] klinstifen: oh isn't dastrup's just in the forums?
[2009-06-25 10::44:43] rmatte: asterisk is the worst VOIP system I have ever used in my life lol
[2009-06-25 10::45:02] venturaville: mrchippy: yep, and getBatch() is a bit difficult to follow
[2009-06-25 10::45:03] rocket: rmatte: are you using a free voip system?
[2009-06-25 10::45:03] bwest: yes I agree but my company is using it and wants to monitor it
[2009-06-25 10::45:05] mrayzenoss: klinstifen: yeah, and on his website. It's not hosted by Zenoss because he hasn't sent it to me
[2009-06-25 10::45:13] rocket: rmatte: I was thinking of making somethign for home at one time ..
[2009-06-25 10::45:21] klinstifen: ok...
[2009-06-25 10::45:23] rmatte: rocket: we were at one point, we went back to the actual Cisco stuff
[2009-06-25 10::45:25] klinstifen: well before i go packaging mine
[2009-06-25 10::45:31] mrayzenoss: bwest: the Asterisk one is just wrapping a Nagios plugin of some sort, so you could probably do something similar
[2009-06-25 10::45:41] bwest: ok
[2009-06-25 10::45:46] klinstifen: rmatte: what do you think is outdated on his?
[2009-06-25 10::45:47] mrchippy: venturaville: i disagree. it's impossible to follow.
[2009-06-25 10::45:57] zenChild: venturaville: since you are familiar with the SVC concepts, here is a pt file that I am using to list out MDisk Groups... maybe it'll be of some help. TALES is pretty archaic though ... http://pastie.org/524340
[2009-06-25 10::46:06] rmatte: klinstifen: the way it's packaged lol
[2009-06-25 10::46:21] klinstifen: oh : )
[2009-06-25 10::46:24] venturaville: I think I can write it just fine without getBatch, but I presume getBatch is used to lower memory usage
[2009-06-25 10::46:27] klinstifen: i'll work on mine
[2009-06-25 10::46:44] rmatte: nice
[2009-06-25 10::46:56] mrayzenoss: anyone else with a ZenPack, send them in. Just 7 more weeks in the contest
[2009-06-25 10::47:00] klinstifen: i think i have told mray i would do this before too, but i didnt follow through ; )
[2009-06-25 10::47:03] venturaville: objectValuesAll .... that is the crux of what I don't quite understand
[2009-06-25 10::47:12] rmatte: I'll take a look at yours once you've posted, I can probably mod it in to a performance zenpack if it's good
[2009-06-25 10::47:14] bwest: rmatte: Going back just a bit is it ossible for me to deny users access to certain pages in zenoss?
[2009-06-25 10::47:18] klinstifen: mray: got a link for this contest?
[2009-06-25 10::47:32] mrayzenoss: klinstifen: http://blog.zenoss.com/2009/05/17/summer-of-community-zenpacks-contest/
[2009-06-25 10::47:32] venturaville: zenChild that link hels a bit
[2009-06-25 10::47:49] klinstifen: rmatte: errr...whats the diff between a zenpack and a performance zenpack?
[2009-06-25 10::47:54] rocket: bwest: easy answer is no for core .. but there are hacks to allow it .. I believe its supported in enterprise ...
[2009-06-25 10::48:06] mrayzenoss: bwest: it's an Enterprise feature, but you can get into the Zope permissions and set it up
[2009-06-25 10::48:08] klinstifen: mray: thanks
[2009-06-25 10::48:13] zenChild: venturaville: that (objectValuesAll) is the python function that is being called.
[2009-06-25 10::48:13] rmatte: bwest: if you go in the zope management interface, create a role, you can assign it particular permissions and then assign it to users, but I don't think it allows you to control access to particular pages
[2009-06-25 10::48:51] ** int left the chat room.
[2009-06-25 10::48:53] bwest: rmatte: But I can limit a user from say using the templates area
[2009-06-25 10::49:00] klinstifen: rmatte: isn't a performance zenpack just a zenpack with performance graphs?
[2009-06-25 10::49:01] venturaville: zenChild: yep, but how is that different from the actual device....
[2009-06-25 10::49:02] mrayzenoss: bwest: look at http://www.skills-1st.co.uk/papers/jcurry.html "Crafting Zenoss Core users for events and zProperties" for some ideas
[2009-06-25 10::49:03] rmatte: plus I've only used roles with LDAP, so I'm not sure how you assign them to regular users, or if you even can
[2009-06-25 10::49:31] bwest: ok
[2009-06-25 10::49:36] rmatte: klinstifen: correct, but it'd be performance graphs for CPU, Memory, paging, etc...
[2009-06-25 10::49:36] mrchippy: venturaville: objectValuesAll is a method on a relation that gives back all the objects at the other end. for example, deviceClass.devices.objectValuesAll(), but deviceClass.devices() does the same thing. can you post a snippet here or on pastebin?
[2009-06-25 10::50:03] rmatte: klinstifen: It'd take someone very knowledgeable to actually write a full blown WMI ZenPack that matches up to the enterprise one
[2009-06-25 10::50:23] bwest: Another quick question, is there a way to setup administrators of services, just like the other classes?
[2009-06-25 10::50:26] venturaville: mrchippy: here is what I am trying to do (it is very short):
[2009-06-25 10::50:39] rmatte: and I think the sales folks over at Zenoss would cringe if they saw something like that dropped on their plate hehe
[2009-06-25 10::51:04] klinstifen: rmatte: i haven't seen the enterprise one so i dont have anything to compare against
[2009-06-25 10::51:25] rmatte: It basically does everything that's capable via SNMP in core, but does it via WMI
[2009-06-25 10::51:33] klinstifen: ah
[2009-06-25 10::51:36] rmatte: interfaces, hardware, software, the works
[2009-06-25 10::51:36] venturaville: where zVIPNameList = a z property of type lines with a list of IP addresses (which correspond to device names)
[2009-06-25 10::51:53] mrayzenoss: Our position is if someone writes a ZenPack and fills out the Contributor form, we'll post it
[2009-06-25 10::52:15] venturaville: I'm writing a zenpack to allow for monitoring of sites/vips/hosts and have linkages between all of them.
[2009-06-25 10::52:19] rmatte: that's cool, but they'd still cringe hehe
[2009-06-25 10::52:32] mrayzenoss: rmatte: the new Predictive Threshold ZenPack is an example
[2009-06-25 10::52:43] rmatte: yeh, that is pretty cool
[2009-06-25 10::52:45] klinstifen: rmatte: hmm gotcha. nah mine is modeled off the one in the cacti forums
[2009-06-25 10::53:08] mrchippy: venturaville: looking at getBatch
[2009-06-25 10::53:11] rmatte: klinstifen: that's all you really need though, so that's cool
[2009-06-25 10::53:35] mrayzenoss: 2.4.2 was just released!
[2009-06-25 10::53:42] rmatte: w00t w00t
[2009-06-25 10::53:46] venturaville: got a URL for update lists?
[2009-06-25 10::53:49] bwest: when
[2009-06-25 10::54:00] mrayzenoss: like 2 minutes ago
[2009-06-25 10::54:11] klinstifen: rmatte: mray: cool well i will try and get it packaged in time for the contest
[2009-06-25 10::54:22] rmatte: "2.4.2 was JUST released!" ... "when?"
[2009-06-25 10::54:37] bwest: lol
[2009-06-25 10::55:01] rmatte: apparently
[2009-06-25 10::55:03] mrayzenoss: maintenance release, 46 tickets closed
[2009-06-25 10::55:16] bwest: rmatte: Is there a way to set administrators for services like the other classes
[2009-06-25 10::55:34] paulh: no way to assign admins for services
[2009-06-25 10::56:52] bwest: I assume it would take some serious coding
[2009-06-25 10::57:04] venturaville: 5035 was a big one
[2009-06-25 10::57:09] rmatte: does 2.4.2 include rocket's SSH monitoring patch?
[2009-06-25 10::57:49] mrayzenoss: rmatte: no, it wasn't backported
[2009-06-25 10::58:22] mrchippy: venturaville: the object list has to be list of devices (or components, probably). also, the lambda won't work. you need to pass the object list and muck with them (get the zproperty) afterward. do you want to list all devices?
[2009-06-25 10::59:18] bwest: ok thx all for all your help!!
[2009-06-25 10::59:28] ** bwest left the chat room.
[2009-06-25 10::59:30] rmatte: yeh, I noticed that
[2009-06-25 10::59:48] ** mrchippy left the chat room.
[2009-06-25 11::00:04] mrayzenoss: ran out of battery
[2009-06-25 11::00:28] ** mrchippy joined the chat room.
[2009-06-25 11::00:41] rmatte: hehe
[2009-06-25 11::01:51] mrchippy: venturaville: hold up, i completely misread your snippet
[2009-06-25 11::02:25] zenChild: rocket: you around
[2009-06-25 11::02:31] rocket: yes
[2009-06-25 11::03:07] rmatte: I can't wait until 4799 is fixed
[2009-06-25 11::04:15] mrchippy: venturaville: that should work as long as here.zVIPNameList actually returns as a list and the names are exact matches.
[2009-06-25 11::04:26] venturaville: they are
[2009-06-25 11::04:30] zenChild: rocket: in your aix snmp zenpack. there is the assignment "vgom.getLvSetup = MultiArgs(lv_hash)" in AixVolumeGroupMap.py. How does that work in relation to the method in AixVolumeGroup.py? When does the method get called?
[2009-06-25 11::05:05] venturaville: mrchippy: since I don't have a way of directly linking devices, this is kind of a work around to that ... I am populating the list either manually (in some cases) or collected from load balancers otherwise
[2009-06-25 11::05:16] Appiah_: How do I remove my mibs from Zenoss?
[2009-06-25 11::06:34] rocket: zenChild: getLvSetup is called from AixVolumeGroup.py with the contents of lv_hash as its arguements
[2009-06-25 11::06:49] mrchippy: venturaville: after that, you can do the whole 'tr tal:repeat="device batch"' and in the row refer to the "device" object
[2009-06-25 11::06:56] mrayzenoss: Appiah_: go to the MIBs page and select the ones you want to delete. From the page tab select "Delete Mibs..."
[2009-06-25 11::06:58] rocket: zenChild: the modeller code is passing all that into the model via an object map
[2009-06-25 11::07:07] Appiah_: mrayzenoss: i see nothing like that
[2009-06-25 11::07:07] mrchippy: venturaville: is this what you have already?
[2009-06-25 11::07:22] mrayzenoss: Appiah_: which part?
[2009-06-25 11::07:50] Appiah_: there is no arrow drop menu (or whatever you call it) under /Mibs
[2009-06-25 11::07:54] rocket: zenChild: lv_hash will contain getPvSetup for example that will call the special method from the logical_volume code to setup a new pv
[2009-06-25 11::07:58] Appiah_: there is on under sub-folders but that's it
[2009-06-25 11::08:47] ** kisielk joined the chat room.
[2009-06-25 11::08:50] Appiah_: this is weird , another zenoss server that is running got that drop menu ... same version
[2009-06-25 11::08:55] rocket: zenChild: if you look at AixVolumeGroup.py AixLogicalVolume.py as examples you will see these specialized methods
[2009-06-25 11::09:21] rmatte: Appiah_: try restarting zeoctl?
[2009-06-25 11::09:23] zenChild: rocket: looking now.
[2009-06-25 11::09:32] Appiah_: rmatte: i'll try that
[2009-06-25 11::09:36] mrayzenoss: Appiah_: are you an unprivileged user?
[2009-06-25 11::09:49] rocket: zenChild: but ultimately nothing happens in the modeller other than a big object map object is created
[2009-06-25 11::09:53] rmatte: unprivileged users shouldn't even see the Mibs section listed
[2009-06-25 11::09:58] Appiah_: mrayzenoss: oh
[2009-06-25 11::10:02] rocket: zenChild: all the work is done inside the objects themselves
[2009-06-25 11::10:07] Appiah_: then his user is configured wrongly
[2009-06-25 11::10:24] zenChild: rocket: how does the method actually get called though?
[2009-06-25 11::10:35] rocket: zenChild: its a special name
[2009-06-25 11::10:51] rmatte: Appiah_: check with the admin account, if it works with that then that's your problem
[2009-06-25 11::10:56] klinstifen: mray: are you guys offering any developer's conferences?
[2009-06-25 11::11:06] rocket: eg if the object map name getPvName exists in the object it gets called
[2009-06-25 11::11:15] venturaville: mrchippy: yeah the rest of the skin is basically the same as one I copied from elsewhere
[2009-06-25 11::11:23] klinstifen: mray: advanced zenpack creation...zenoss and python...stuff like that?
[2009-06-25 11::11:35] rocket: zenChild: and the stuff it gets set to in the objectmap is just the arguement list for it
[2009-06-25 11::11:37] rmatte: if you guys eventually do zenoss development training courses I'm going to have my boss send me to one
[2009-06-25 11::11:42] zenChild: rocket: That clears it up for me.
[2009-06-25 11::11:53] mrayzenoss: klinstifen: well, we'll have a community day at LISA and we'll be at Ohio LinuxFest
[2009-06-25 11::12:00] rocket: zenChild: great
[2009-06-25 11::12:07] zenChild: rocket: I was looking for an actual method call and was a bit perplexed as to how things were happening.
[2009-06-25 11::12:12] klinstifen: hmm....anything in the nyc area?
[2009-06-25 11::12:18] venturaville: mrayzenoss: you know Bill Lefebvre at LISA?
[2009-06-25 11::12:28] klinstifen: i need a zenoss meetup or zenossnycgroup or something
[2009-06-25 11::12:30] mrayzenoss: venturaville: nope
[2009-06-25 11::12:44] venturaville: mrayzenoss: just curious
[2009-06-25 11::12:44] rocket: zenChild: the modeller code does a fancy trick to see if its a method or a parameter type item
[2009-06-25 11::12:44] mrayzenoss: klinstifen: we do have a sales engineer in NYC
[2009-06-25 11::13:07] Appiah_: rmatte , mrayzenoss same on the Admin account , should i try restaring zeoctl ?
[2009-06-25 11::13:16] mrayzenoss: Appiah_: can't hurt
[2009-06-25 11::13:20] ** paulh left the chat room.
[2009-06-25 11::13:29] zenChild: rocket: good to know. Know I can keep moving on my project. Thanks again.
[2009-06-25 11::13:31] rmatte: klinstifen: this IRC channel is about the best meetup you're going to get from what I've seen hehe
[2009-06-25 11::13:45] klinstifen: mray: neat
[2009-06-25 11::14:04] Appiah_: restarted , still the same
[2009-06-25 11::14:21] klinstifen: but actually its been pretty active the past couple times i have hopped on
[2009-06-25 11::14:22] rmatte: once Zenoss really takes off (which I'm sure it will) there might be something like that
[2009-06-25 11::14:24] mrchippy: venturaville: if you follow all the steps in your tal:define in zendmd, does batch have things in it? that is does dmd.ZenTableManager.getBatch(tableName,vipdevlist) return empty?
[2009-06-25 11::15:11] Appiah_: so what do you do when a drop down menu is missing?
[2009-06-25 11::15:12] mrayzenoss: yeah, we started to plan a Zenoss User Conference, but had trouble nailing down a date
[2009-06-25 11::15:26] klinstifen: rmatte: i'ven been on this boat since v.1.something. i am sold. at the time i was comparing against hyperic, but the agentlessness won me over
[2009-06-25 11::15:50] mrayzenoss: Appiah_: have you logged out and logged back in, maybe something weird cached
[2009-06-25 11::15:51] zenChild: mrayzenoss: what about a BOF at OSCON or something similar?
[2009-06-25 11::15:51] rmatte: yeh, agentless is golden
[2009-06-25 11::16:18] mrayzenoss: zenChild: I'll be at the Community Leadership Summit the weekend before OSCON, but I'm heading home after that
[2009-06-25 11::16:25] venturaville: I can't run getBatch inside of DMD without a session...
[2009-06-25 11::16:26] klinstifen: appiah: flush your cache? there've been forum postings to fix other dashboard quirkiness
[2009-06-25 11::16:31] venturaville: File "/opt/zenoss/zenoss/Products/ZenWidgets/ZenTableManager.py", line 295, in getTableStates
[2009-06-25 11::16:42] Appiah_: mrayzenoss: tried both firefox and IE ( I never used it with IE before) same problem
[2009-06-25 11::16:44] venturaville: File "/opt/zenoss/zenoss/lib/python/ZPublisher/HTTPRequest.py", line 1219, in __getattr__
[2009-06-25 11::16:56] mrchippy: venturaville: well, that sucks
[2009-06-25 11::17:08] mrayzenoss: zenChild: OSCON is really expensive for vendors, so we dropped out
[2009-06-25 11::17:08] venturaville: yep ... makes writing templates hard if using table manager
[2009-06-25 11::17:16] rmatte: I'm going to be getting a company Zenoss blog up and running some time next month, I'll be posting a bunch of scripts and tricks that I've found on there
[2009-06-25 11::17:25] mrayzenoss: rmatte: excellent
[2009-06-25 11::17:33] klinstifen: rmatte: yeah i dig the scripting aspect. if i can think of it then it can probably be done in zenoss (or already has been ; )
[2009-06-25 11::17:54] rmatte: klinstifen: yeh, I've done some really neat stuff with scripts
[2009-06-25 11::18:09] mrayzenoss: I did submit Chet's name for a Guru session at LISA entitled "Try to Stump Chet, Monitor Anything With Zenoss"
[2009-06-25 11::18:22] venturaville: mrchippy: I'll play with this a bit and see how far I get ... I'm booked for meetings the rest of today
[2009-06-25 11::18:38] mrchippy: venturaville: np. sorry we couldn't bang it out.
[2009-06-25 11::18:41] rmatte: mrayzenoss: does he have access to Enterprise or Core for that?
[2009-06-25 11::19:07] mrayzenoss: rmatte: well, it's a Q&A session so he'll just tell you how you could do it
[2009-06-25 11::19:13] rmatte: ah
[2009-06-25 11::19:16] mrayzenoss: so in theory, it's either
[2009-06-25 11::19:20] rmatte: I'd show up with a list hehe
[2009-06-25 11::19:33] rocket: how would he monitor sap
[2009-06-25 11::19:42] rmatte: rocket: nice one
[2009-06-25 11::19:43] rocket: muaaa haaa haaa
[2009-06-25 11::20:21] mrayzenoss: rocket: ports, processes, web pages, the actual machines, databases
[2009-06-25 11::20:31] rmatte: I'd just ask how he'd monitor AIX, since that's a bit shaky from what I understand?
[2009-06-25 11::20:44] rocket: rmatte: dont get me going ... ;p
[2009-06-25 11::20:55] Appiah_: i*m running 2.4.1 and these is no menu for the mibs on this server ( got other servers that actully has the dropdown menu) , is there no command line for removing?
[2009-06-25 11::20:56] rocket: rmatte: did you look at my zenpack for aix?
[2009-06-25 11::21:03] klinstifen: rmatte: i monitored my aix box for a while through a ssh script i wrote
[2009-06-25 11::21:12] rmatte: I need to monitor some AIX boxes eventually, going to be fun, and no, I haven't taken a look at the pack yet
[2009-06-25 11::21:13] klinstifen: i piped everything into zenoss from a command datasource
[2009-06-25 11::21:31] rocket: rmatte: take a look at the screenshots for it
[2009-06-25 11::21:40] atrawog: rmatte:The new AIX ZenPack is great.
[2009-06-25 11::21:51] rocket: atrawog: you using it?
[2009-06-25 11::21:51] rmatte: klinstifen: there is a net-snmp port for AIX though I think which is way better than the stock SNMP
[2009-06-25 11::22:10] rocket: atrawog: like my improvements?
[2009-06-25 11::22:21] klinstifen: rmatte: cool
[2009-06-25 11::22:40] atrawog: rocket: I have put on my Zenoss test server two days ago.
[2009-06-25 11::22:41] rmatte: rocket: checking screenshot...
[2009-06-25 11::23:01] mrayzenoss: Appiah_: hmmm... don't see a command line option for removing with zenmib
[2009-06-25 11::23:16] Appiah_: I've got 2 different servers that's missing drop down menus under mibs (wth)
[2009-06-25 11::23:20] rmatte: rocket: AIX SNMP?
[2009-06-25 11::23:27] rocket: rmatte: yes
[2009-06-25 11::24:26] rmatte: hmmmm, does it do interfaces too?
[2009-06-25 11::24:30] mrayzenoss: Appiah_: this is missing right? http://imagebin.org/53650
[2009-06-25 11::24:35] rocket: rmatte: yes
[2009-06-25 11::24:50] rmatte: rocket: so you know how to create a modeler plugin eh?
[2009-06-25 11::25:04] rocket: of course
[2009-06-25 11::25:19] atrawog: rocket: Modeling VGs + LVs is wonderfull. But I have to test how to migrate to the new version.
[2009-06-25 11::25:21] Appiah_: exactly mrayzenoss
[2009-06-25 11::25:26] rmatte: rocket: couldn't you just take the AIX ZenPack code and modify it for WMI?
[2009-06-25 11::25:29] klinstifen: rocket: you teach yourself that or did you pick it up from one of the guides?
[2009-06-25 11::25:31] Appiah_: no white arrow there, nothing to click
[2009-06-25 11::25:51] mrayzenoss: Appiah_: and you're logged in as the Admin?
[2009-06-25 11::25:58] Appiah_: yupp
[2009-06-25 11::26:10] rocket: atrawog: that might be an issue .. but what I usually did was delete the old device .. keeping alerts and perf stuff .. and then adding the device back in
[2009-06-25 11::26:29] mrayzenoss: Appiah_: put up a screenshot on imagebin and I'll pass it around for ideas
[2009-06-25 11::26:37] Appiah_: k , just a sec
[2009-06-25 11::26:55] rocket: rmatte: I am sure I could .. like I said I just dont have much time lately on windows boxes
[2009-06-25 11::27:23] rmatte: rocket: fly over here and you'll have all the time you need
[2009-06-25 11::27:36] klinstifen: rocket: cool stuff
[2009-06-25 11::27:43] rocket: klinstifen: actually I spent time putting debug statements in my version of zenoss to figure out how the main code worked
[2009-06-25 11::27:59] klinstifen: woah intensive
[2009-06-25 11::28:40] rocket: klinstifen: my zenpack is the first one to do multidepth objects .. eg the volume group -> logical volume relationship etc
[2009-06-25 11::29:31] rmatte: rocket: hehe
[2009-06-25 11::30:18] atrawog: rocket: I have done that in the past and it did work well. But in the case of our AIX servers I have modified the filesystem templates to show absolute filesystem sizes instead of percentage usage and see how that works with the new version.
[2009-06-25 11::30:24] rmatte: well, maybe I'll take a look at the bones of the AIX ZenPack and have a go at developing it myself at some point
[2009-06-25 11::30:47] Appiah_: http://imagebin.org/53653 mrayzenoss
[2009-06-25 11::31:01] rmatte: if I could script it in bash it'd be done in a day
[2009-06-25 11::31:25] klinstifen: rmatte: hahah
[2009-06-25 11::31:26] mrayzenoss: Appiah_: bizarre
[2009-06-25 11::31:53] rmatte: klinstifen: yeh, I'm a genius when it comes to bash scripting
[2009-06-25 11::32:11] Appiah_: mrayzenoss: I bet it is not a common error
[2009-06-25 11::32:48] rmatte: man, this AIX zenpack is awesome, makes the AIX monitoring better than the Core Windows monitoring lol
[2009-06-25 11::33:01] mrayzenoss: Appiah_: both servers can't delete MIBs?
[2009-06-25 11::33:19] Appiah_: both servers dont have that drop down menu
[2009-06-25 11::33:30] rocket: rmatte: ... cant have windows beat up on aix too much can we?
[2009-06-25 11::33:33] mrayzenoss: Appiah_: is that the Cisco MIBs ZenPack?
[2009-06-25 11::34:00] Appiah_: nope , no zenpacks installed
[2009-06-25 11::34:21] ** mrchippy left the chat room.
[2009-06-25 11::34:39] ** You changed the topic to "Zenoss 2.4.2 is Now Available".
[2009-06-25 11::36:03] rocket: atrawog: is the datapoint data for filesystems the same though?
[2009-06-25 11::38:42] mrayzenoss: Appiah_: I assume if you restart everything you get the same results?
[2009-06-25 11::38:56] klinstifen: alright all...gotta run...thanks for the help
[2009-06-25 11::39:01] atrawog: rocket: I did a couple of changes in the old version.
[2009-06-25 11::39:08] ** klinstifen left the chat room.
[2009-06-25 11::39:23] zenChild: I also have to run. Thanks all for your help. Cheers!
[2009-06-25 11::39:45] ** zenChild left the chat room.
[2009-06-25 11::39:51] mrayzenoss: thanks to everyone for showing up, Dev session is over but per usual, I'm here frequently
[2009-06-25 11::40:27] atrawog: rocket: I'm fetching totalBlocks used via SNMP or SSH
[2009-06-25 11::41:04] rocket: atrawog: ok ..
[2009-06-25 11::41:17] atrawog: atrawog: I have modified the perfs template to show totalBocksUsed
[2009-06-25 11::44:15] Appiah_: mrayzenoss: logged out , restarted , logged in , same
[2009-06-25 11::44:19] rmatte: rocket: that predictive threshold ZenPack is awesome too, just taking a look at it
[2009-06-25 11::44:28] atrawog: rocket: And I'm running a zendmd script via cron that syncs the totalBocks values from the RRD files with ZODB.
[2009-06-25 11::44:51] rocket: atrawog: why are you doing that zendmd script?
[2009-06-25 11::45:09] rmatte: rocket: still no Ubuntu ZenPack?
[2009-06-25 11::45:29] ** NoFX_SBC joined the chat room.
[2009-06-25 11::45:35] rocket: rmatte: I have an ubuntu virtual machine installed
[2009-06-25 11::45:40] mrayzenoss: Appiah_: FYI, don't try deleting it from Zope's /manage URL, it screws up royally
[2009-06-25 11::45:40] rocket: rmatte: but no zenpack yet
[2009-06-25 11::45:49] rmatte: rocket: cool
[2009-06-25 11::46:17] rocket: rmatte: currently working on an opensolaris one at the moment
[2009-06-25 11::46:27] rmatte: nice
[2009-06-25 11::46:59] rocket: rmatte: the predictive threshold gave the same results as the enterprise one according to matt
[2009-06-25 11::47:11] rmatte: nice
[2009-06-25 11::47:17] rocket: rmatte: however mine lets you apply the threshold to existing rrd's
[2009-06-25 11::47:23] rmatte: as long as it's coded right it's all math, so it's not surprising
[2009-06-25 11::47:59] rocket:
[2009-06-25 11::48:42] rmatte: I still need to figure out how to make some sort of install package for those Cisco Mibs so that they install much the same way as a Zenpack, but don't actually get registered as one
[2009-06-25 11::48:52] atrawog: rocket: Because Threashold are based on the TotalBlock value stored in ZODB and my AIX admins complained that the threasholds still trigger after the have resized a filesystem.
[2009-06-25 11::48:57] mrayzenoss: rmatte: using zenmib?
[2009-06-25 11::49:16] rmatte: mrayzenoss: can't, some people followed my guide and weren't able to get them all to load
[2009-06-25 11::51:56] Appiah_: mrayzenoss: delete what? the mibs
[2009-06-25 11::52:45] mrayzenoss: yeah, don't do that
Comments (0)