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

Dev chat 04/30/2009

VERSION 1 
Created on: Sep 14, 2009 11:17 AM by Noel Brockett - Last Modified:  Sep 14, 2009 11:17 AM by Noel Brockett
[2009-04-30 11::00:56] sergeymasushko: mrayzenoss: morning
[2009-04-30 11::01:03] __ian__: Hi all
[2009-04-30 11::01:13] mrayzenoss: We just finished our defect review, got through all the mediums for the first time
[2009-04-30 11::01:25] sergeymasushko: mrayzenoss: what ETA of the release?
[2009-04-30 11::01:32] __ian__: It's a good day when we get to close ticket #33
[2009-04-30 11::01:34] mrayzenoss: next weekish
[2009-04-30 11::04:06] Drazzi: Is that schedule for the next Beta of 2.4 or the production release?
[2009-04-30 11::04:13] ** mrchippy joined the chat room.
[2009-04-30 11::04:18] ** tristil joined the chat room.
[2009-04-30 11::04:32] mrayzenoss: I don't believe there is going to be another beta release
[2009-04-30 11::04:57] chudler: CONGRATS that is sweet
[2009-04-30 11::05:01] __ian__: tristil: Good to see you.
[2009-04-30 11::05:08] mrayzenoss: we're closing out the blockers, testing all the platforms, things are looking pretty good
[2009-04-30 11::05:39] __ian__: This is easily our best-tested release. I've got high hopes.
[2009-04-30 11::06:03] Drazzi: Excellent, we just got started with 2.3.3 so we'll hold off until next week.
[2009-04-30 11::06:46] rmatte: ok, I have a zendmd script which imports all the zendmd specific stuff before running, how do I run it as the zenoss user from root? I've tried sudo -u zenoss script but it doesn't work because a bunch of environment variables don't get set
[2009-04-30 11::07:06] sergeymasushko: mrayzenoss: i am not familiar with word 'weekish'. what does it mean?
[2009-04-30 11::07:15] __ian__: su - zenoss
[2009-04-30 11::07:22] mrayzenoss: sergeymasushko: heh, I mean it's supposed to be next week
[2009-04-30 11::08:02] sergeymasushko: mrayzenoss: thanks for clarification
[2009-04-30 11::08:05] rmatte: root@gen01:/mspfiles/scripts/tools/hosts# su - zenoss /mspfiles/scripts/tools/hosts/hosts.py
[2009-04-30 11::08:28] __ian__: rmatte: what's your shebang?
[2009-04-30 11::08:39] rmatte: ?
[2009-04-30 11::09:05] __ian__: rmatte: e.g., #!/usr/local/zenoss/bin/python
[2009-04-30 11::09:20] rmatte: oh, right
[2009-04-30 11::09:30] ** dollarbang joined the chat room.
[2009-04-30 11::09:34] __ian__: it appears to be running python script in sh.
[2009-04-30 11::09:45] rmatte: I forgot to add that
[2009-04-30 11::10:18] rocket: __ian__: I have been working with cluther trying to get multilevel relations working and I understand it from a high level I am just wondering if I have to add all the relationship code in from apply datamap or if I can basically create the objects and the relations are built automatically
[2009-04-30 11::10:29] rmatte: http://pastebin.com/m639182ca
[2009-04-30 11::10:35] rocket: rmatte: needs to be the one __ian__ posted ..
[2009-04-30 11::10:40] adytum-bot: Title: pastebin - collaborative debugging tool (at pastebin.com)
[2009-04-30 11::10:40] rmatte: k, thanks
[2009-04-30 11::11:02] rocket: rmatte: otherwise it will call the wrong python without the correct path dependencies ..
[2009-04-30 11::11:25] ** cgibbons joined the chat room.
[2009-04-30 11::11:26] jb: hi everyone..
[2009-04-30 11::12:03] ** mrayzenoss left the chat room.
[2009-04-30 11::12:09] ** mrayzenoss joined the chat room.
[2009-04-30 11::12:09] ** mrayzenoss left the chat room.
[2009-04-30 11::12:15] ** mrayzenoss joined the chat room.
[2009-04-30 11::12:20] mrayzenoss: oops
[2009-04-30 11::12:20] mrayzenoss: oops
[2009-04-30 11::12:27] rocket: jb: yes and no .. I havent had time to fully code it .. yet I have the modeler mostly done I think
[2009-04-30 11::12:42] rmatte: still same error
[2009-04-30 11::12:43] ** snowgod joined the chat room.
[2009-04-30 11::12:46] rocket: jb: I just need to figure out how much glue I need to put into my class
[2009-04-30 11::12:49] jb: will this work with SSH?
[2009-04-30 11::12:54] __ian__: rocket: Do you have an example I can look at?
[2009-04-30 11::12:58] rmatte: #!/usr/local/zenoss/zenoss/bin/python
[2009-04-30 11::13:12] ** sergeymasushko left the chat room.
[2009-04-30 11::13:34] rocket: __ian__: I am not really far enough along unfortunately .. still at the pseudo code level
[2009-04-30 11::13:49] MmeNetView: Anyone successfully using the community MIB Browser ZenPack to show enterprise specific MIBs?
[2009-04-30 11::14:07] rocket: __ian__: basically I am trying to build the aix relation for storage
[2009-04-30 11::14:12] rmatte: a Mib is a Mib, it should technically work fine
[2009-04-30 11::14:13] jb: im having lots of trouble getting the AD integration to work with enterprise.. are there any logs or anything that could alert me of any problems?
[2009-04-30 11::14:30] __ian__: rocket: cluther's going to know far better than I; I haven't touched this code in a while, or ever.
[2009-04-30 11::14:36] rocket: __ian__: hard_disk -> physical_volume -> volume_group -> logical_volume -> filesystems
[2009-04-30 11::15:09] __ian__: rmatte: Try su - zenoss /usr/local/zenoss/zenoss/bin/python /path/to/your/script.py
[2009-04-30 11::15:22] rocket: __ian__: unfortunately applydata map only lets you add the hard_disk easily .. sub relations seem a bit more tricky
[2009-04-30 11::15:23] snowgod: Does the ZenOSS crew have recommendations w/r/t the ratio of devices to collectors or collectors to hubs? I have about 6k devices with almost exclusively IPService monitors (15k or so) and updating things in the zenoss interface is slooow at times
[2009-04-30 11::15:33] rocket: __ian__: is cluther going to be here today?
[2009-04-30 11::16:32] __ian__: rocket: Doubtful. Hang on, I'll bug him
[2009-04-30 11::16:52] mrayzenoss: snowgod: lots of variation, depending on what you're monitoring. I usually point people at this: http://www.zenoss.com/product/deployment#hardware
[2009-04-30 11::17:14] adytum-bot: Title: Deployment Options - Commercial Open Source Application, Systems and Network Monitoring - Zenoss (at www.zenoss.com)
[2009-04-30 11::17:23] rmatte: __ian__: that did it, thanks
[2009-04-30 11::17:24] mrayzenoss: MmeNetView: Kells is dropping in to answer questions about the MIB Browser ZenPack
[2009-04-30 11::17:48] snowgod: mrayzenoss: I can throw whatever hardware at it I need to be honest, I feel like I'm hitting a scaling issue in ZeoDB or ZenHub
[2009-04-30 11::17:58] rocket: jb: at the moment only snmp .. but it should just need to change the modeller to be ssh based instead of snmp
[2009-04-30 11::18:06] jb: kells may be able to help with the aix stuff too
[2009-04-30 11::18:09] ** kells joined the chat room.
[2009-04-30 11::18:13] mrayzenoss: snowgod: you're on 1 box still?
[2009-04-30 11::18:18] rocket: kells!
[2009-04-30 11::18:24] kells: Hello, hello!
[2009-04-30 11::18:27] jb: sup kells
[2009-04-30 11::18:41] rocket: Heh I am hacking your original aix zenpack
[2009-04-30 11::19:02] kells: Just completed a marathon of documentation stuff for a new guide. I *still* can't quite think straight.
[2009-04-30 11::19:26] snowgod: mrayzenoss: no, zenhub is a dedicated Dell 1950 with 2xQuad Cores and 8GB of RAM. The mysql database is a seperate box, and the collectors (2 active, 5 total) are Dual Core 2G ram boxes
[2009-04-30 11::19:36] rocket: kells: I do .. I do .. on to my next phase
[2009-04-30 11::19:48] kells: Insane!
[2009-04-30 11::20:02] rocket: kells: hard_disk -> physical_volume -> volume_group -> logical_volume -> filesystems .. building that relation
[2009-04-30 11::20:22] kells: rocket: That is FREAKING AWESOME!!!
[2009-04-30 11::20:53] rocket: kells: I was working with cluther and I think we have an idea .. but I need a bit of help fleshing it out
[2009-04-30 11::21:20] kells: One thing that's difficult is that you might need to write custom collectors in order to verify the name of the filesystem and the SNMP index into the table
[2009-04-30 11::21:31] rocket: kells: already have that done
[2009-04-30 11::21:37] kells: Egads! Cool!
[2009-04-30 11::21:44] cgibbons: next you'll need the SAN half that goes from logical_volume -> LUN -> fabric and woo
[2009-04-30 11::21:59] kells: cgibbons doesn't ask for much, does he
[2009-04-30 11::22:13] rocket: kells: I am working through the logic on how to actually create the objects thought
[2009-04-30 11::22:56] kells: Actually, the really insane part is mapping the filesystem into the LVs, PPs and THEN onto the ds8100 structures. That took me a good three months (not full time) in perl.
[2009-04-30 11::23:22] rocket: kells: through a vio?
[2009-04-30 11::23:27] kells: Yep
[2009-04-30 11::23:28] mrayzenoss: snowgod: don't have any strong recommendations really, I'd say watch for errors in the logs and look for which processes are eating the most CPU/memory and look for tweaks there
[2009-04-30 11::23:46] rocket: kells: did you put that code into zenoss (enterprise)?
[2009-04-30 11::24:03] jb: ds8100's
[2009-04-30 11::24:06] kells: Unfortunately, it was in perl (not python) and it was also for my last employer
[2009-04-30 11::24:08] jb: yay
[2009-04-30 11::24:35] rocket: kells: did you call the dscli to get your info?
[2009-04-30 11::24:38] kells: ds8100s are pretty nice stuff.
[2009-04-30 11::24:47] jb: kells: so im swithing to full SSH modeling for AIX in 2.4
[2009-04-30 11::24:51] rocket: kells: I know .. we have a ds8300
[2009-04-30 11::24:59] kells: I used dscli and output the XML to make it easier to parse
[2009-04-30 11::25:00] jb: but i'd really like to have these relationships
[2009-04-30 11::25:16] __ian__: rocket: I'm pretty sure those relationships /should/ be built automatically when the objects are created
[2009-04-30 11::25:16] jb: we are all DS4700/4800 here..
[2009-04-30 11::25:35] kells: jb: That's much easier than dealing with the flakey AIX snmp and (grrrrr!) performance toolbox
[2009-04-30 11::25:43] jb: yeah i know
[2009-04-30 11::25:47] mrayzenoss: jb: did you see these: trac-zenpacks/wiki/SshZenpack and trac-zenpacks/wiki/HowToAddSshTest
[2009-04-30 11::25:49] jb: ive been working with cluther to work out some bugs in 2.4
[2009-04-30 11::25:51] snowgod: mrayzenoss: The times I've noted it was zenhub often dealing with some of the remote calls from the collectors (getting pingtree, or services/devices according to debug logs). I didn't know if I need to be looking at scaling zenhub or scaling zeodb first
[2009-04-30 11::25:55] jb: and it looks pretty rock solid now
[2009-04-30 11::25:59] __ian__: rocket: But I would in no way be surprised if something tricky needs to occur. That's a use case that feels like black magic may be required
[2009-04-30 11::26:14] mrayzenoss: snowgod: have you bumped up the zenhubworkers?
[2009-04-30 11::26:16] jb: mray: not yet, I'll check them out
[2009-04-30 11::26:19] rocket: __ian__: I have that gut feeling too ..
[2009-04-30 11::26:45] kells: Anyone have a 3584 tape library?
[2009-04-30 11::26:47] cgibbons: i think anytime you mention the world relationships it implies black magic, zenoss or no
[2009-04-30 11::26:48] __ian__: rocket: I'd say just try it. There are a bunch of possible variables that might need hackery, and we'll know which once we get a traceback
[2009-04-30 11::26:49] jb: kells: i do
[2009-04-30 11::26:51] snowgod: mrayzenoss: Yea, but I haven't dug in to how/what they do yet. I think I spun up 5 in the config file
[2009-04-30 11::26:51] jb: two of them
[2009-04-30 11::26:52] rocket: kells: me too
[2009-04-30 11::26:56] jb: with HA
[2009-04-30 11::26:56] kells: Nice!
[2009-04-30 11::27:04] mrayzenoss: snowgod: that's more than enough
[2009-04-30 11::27:18] kells: That's nuts! (Always wanted the other picker )
[2009-04-30 11::27:20] rocket: kells: already have a snmp dump of it to work on adding later
[2009-04-30 11::27:25] jb: yeah its getting installed next week
[2009-04-30 11::27:52] __ian__: rocket: Yeah, that code is pretty old. All the relations stuff is scary, so we kind of try just to glance at it out of the corner of our eye lest we be turned to stone
[2009-04-30 11::27:53] rocket: kells: and we have a pair of nice big cisco fiber switches
[2009-04-30 11::27:55] kells: I'd love to get snmpwalk output from that guy
[2009-04-30 11::27:59] snowgod: mrayzenoss: Maybe a general question then, making changes through the web interface. Do those changes get push through a hub?
[2009-04-30 11::28:02] jb: we rock cisco 9509's
[2009-04-30 11::28:22] rocket: jb: 9513
[2009-04-30 11::28:30] jb: doh
[2009-04-30 11::28:40] ** Serideru joined the chat room.
[2009-04-30 11::28:44] mrayzenoss: snowgod: I believe so
[2009-04-30 11::28:45] rocket: brb
[2009-04-30 11::28:47] kells: I've had good luck with the 3584 pickers (so far!) but they always just seemed so scary fast.
[2009-04-30 11::28:51] jb: to be honest, I hate IBM and pseries
[2009-04-30 11::29:45] kells: jb: really? Hmmm... I grew up with SunOS and saw the light. Thankfully it was before having to update drivers on the SunFire stuff.
[2009-04-30 11::30:02] jb: yeah in a linux guy
[2009-04-30 11::30:06] kells: I take it that there's someone asking about the MIB browser zenpack?
[2009-04-30 11::30:11] jb: i just walked into an AIX shop tho
[2009-04-30 11::30:21] kells: jb: Have you got AIX 6.1 and P6 hardware?
[2009-04-30 11::31:47] MmeNetView: kells: yeh - I have some problems with the MIB Browser ZenPack
[2009-04-30 11::32:11] kells: Oh? Wassup?
[2009-04-30 11::32:17] MmeNetView: Some MIBs show fine eg. UCD-SNMP-MIB
[2009-04-30 11::33:04] ** Serideru1 joined the chat room.
[2009-04-30 11::33:18] kells: This is the latest version of the ZenPack that you're talking about too, right?
[2009-04-30 11::33:20] rocket: we are on some p6-520's and js22 blades ;p
[2009-04-30 11::33:21] MmeNetView: Some give me blank boxes for Name, Description and no node or trap tree eg Chipcom, Orinoco
[2009-04-30 11::34:11] ** Jason8 joined the chat room.
[2009-04-30 11::34:17] jb: kells: not yet.. I think this new P550 will be 6.1
[2009-04-30 11::34:18] Jason8: Hello all.
[2009-04-30 11::34:26] MmeNetView: I have 1.0.5 ZenPack
[2009-04-30 11::34:38] jb: we have some P5 6.1 boxes
[2009-04-30 11::34:55] kells: Some MIBs don't include the information, so my first question would be to ask if the browser matches what Zenoss has. Since that was my first JavaScript program, I've probably messed something up as there are lots of different weird MIBs around.
[2009-04-30 11::35:06] jb: the only other p6 machine we have is a 570
[2009-04-30 11::35:30] kells: If the browser matches the display, then the ZenPack is okay. If not, it's something that I'll need to fix.
[2009-04-30 11::35:51] Jason8: ZenPacks from Enterprise, Is there any way to acquire/license/(cheaply) purchase them for a small univeristy (w/o paying for full enterprise and support)?
[2009-04-30 11::36:03] MmeNetView: kells: the MIBs look like they are imported fine - they all show significant numbers of nodes and notifications in the standard window
[2009-04-30 11::36:12] kells: One of the developer's is threatening to rewrite all of the GUI for King Crab, and do some pretty serious rearranging of things, so I'm more than a little hesitant to update the code for it.
[2009-04-30 11::36:31] rocket: kells: I am threatening too
[2009-04-30 11::37:09] kells: Hmmm... Okay, then can you send me a link to one of the MIBs? *If* things quiet down I can see what's going on. (Thanks in advance! )
[2009-04-30 11::37:36] MmeNetView: kells: so I guess I'm saying that the MIB Browser GUI DOESN'T match what the standard MIB window shows, for some MIBs (not all)
[2009-04-30 11::38:02] ** paulh joined the chat room.
[2009-04-30 11::38:11] kells: rocket: Heh!
[2009-04-30 11::41:23] mrayzenoss: Jason8: Sales doesn't want to support that
[2009-04-30 11::41:59] ** npmccallum joined the chat room.
[2009-04-30 11::42:19] kells: jb: I keep wanting to do vmotion stuff with the P6 stuff, but I got out before the place that I was upgraded.
[2009-04-30 11::42:21] mrayzenoss: Jason8: we've got a fairly busy support crew, and they're looking to minimize the number of variations that they have to support
[2009-04-30 11::42:42] rocket: kells: vmotion works with caveats
[2009-04-30 11::43:05] kells: I'd really like to know how well it compares (after the re-orgs of every frame's LPAR madness ends)
[2009-04-30 11::43:08] rocket: kells: since you have to be on the same hmc
[2009-04-30 11::43:35] __ian__: kells: "One of the developers is threatening"...it's okay, you can say it to my face.
[2009-04-30 11::43:52] Jason8: mrayzenoss: Thanks for the info, reason I asked we are a windows shop and are trying to say away from snmp-informant. made some progress creating custom WMI collectors but the going is rough (haha).
[2009-04-30 11::43:55] rocket: kells: if you have a prod hmc with only prod frames and a dev hmc for dev frames you cant vmotion between them
[2009-04-30 11::43:59] kells: rocket: Hmmm.... That's interesting. I didn't realize that
[2009-04-30 11::44:14] ** Serideru2 joined the chat room.
[2009-04-30 11::44:20] rocket: kells: our reseller didnt at first either
[2009-04-30 11::44:40] kells: That's cool!
[2009-04-30 11::45:07] rocket: kells: not that I have seen yet
[2009-04-30 11::45:32] kells: IIRC, the blades are still cheap compared to (say) buying RAM or (Aaaiiee! upgrading RAM!) on a p595
[2009-04-30 11::45:33] rocket: kells: we are running at 32Gb
[2009-04-30 11::46:26] kells: I thought the js22's are the 32s?
[2009-04-30 11::46:44] MmeNetView: Anyone made the zCommandSearchPath zProperty work????
[2009-04-30 11::46:47] jb: RAM is stupid expensive
[2009-04-30 11::46:52] rocket: kells: maybe .. I cant remember .. its been 6months since I have looked .. my brain is fried
[2009-04-30 11::47:13] kells: Is anyone actually using the Inifiniband connectors for clustering?
[2009-04-30 11::47:20] jb: not us..
[2009-04-30 11::47:24] rocket: not here ..
[2009-04-30 11::47:30] jb: we dont do any HACMP stuff
[2009-04-30 11::47:39] rocket: nor do we
[2009-04-30 11::47:44] kells: Ahh
[2009-04-30 11::48:11] MmeNetView: I assume zCommandSearchPath should let you specify a series of paths to look for your command (like shell PATH) bt it doesn't seem to work
[2009-04-30 11::48:38] __ian__: MmeNetView: I'll investigate, one sec
[2009-04-30 11::49:02] kells: I suspect that around AIX 7 they'll probably do an Infiniband-aware OS so that VIOs will look like toys. Of course, the first version will probably splatter a few mission-critical apps every once in a while, but that's life in the fast lane.
[2009-04-30 11::49:37] ** HKhan left the chat room.
[2009-04-30 11::49:56] ** Serideru left the chat room.
[2009-04-30 11::50:39] ** Jason8 left the chat room.
[2009-04-30 11::53:34] __ian__: MmeNetView: It's a string specifying a single path
[2009-04-30 11::54:14] MmeNetView: kells: re MIB Browser ZenPack, I have just checked event.log and it gets error messages whenever I try to look at a "problem mib" - down in ZenPack code
[2009-04-30 11::55:33] __ian__: MmeNetView: whoops, I misread and looked at zCommandPath instead.
[2009-04-30 12::00:02] ** MmeNetView left the chat room.
[2009-04-30 12::00:09] ** MmeNetView joined the chat room.
[2009-04-30 12::00:50] __ian__: MmeNetView: http://dev.zenoss.org/trac/ticket/4937
[2009-04-30 12::01:22] MmeNetView: ian: so Iam I correct that you SHOULD be able to specify a path of more than one directory??? Admin Guide is unclear...
[2009-04-30 12::01:35] __ian__: MmeNetView: Yes.
[2009-04-30 12::02:26] ** Serideru1 left the chat room.
[2009-04-30 12::03:35] MmeNetView: ian: should I open a ticket for this?
[2009-04-30 12::04:01] __ian__: MmeNetView: I just did; see above
[2009-04-30 12::04:14] MmeNetView: sorry - slow...
[2009-04-30 12::06:32] __ian__: There's actually a MAC catalog; are you using that?
[2009-04-30 12::07:17] mrayzenoss: there's a MAC Address report: http://www.zenoss.com/community/projects/zenpacks/mac-report
[2009-04-30 12::07:23] MmeNetView: I want to use it as a function called from a skins pt file but it barfs - details at http://forums.zenoss.com/viewtopic.php?p=34023#34023
[2009-04-30 12::07:39] adytum-bot: Title: ZenPacks - Commercial Open Source Application, Systems and Network Monitoring - Zenoss (at www.zenoss.com)
[2009-04-30 12::08:37] ** dollarbang left the chat room.
[2009-04-30 12::08:40] MmeNetView: matt: seen MAC report zenpack but couldn't quite line that up with what I want
[2009-04-30 12::09:57] ** HKhan joined the chat room.
[2009-04-30 12::10:56] MmeNetView: ian: where do I find out about the MAC catalog????
[2009-04-30 12::11:26] ** kevin7kal left the chat room.
[2009-04-30 12::11:29] __ian__: MmeNetView: dmd.ZenLinkManager.layer2_catalog(macaddress='00:11:22:33:44:55') will search for the interface
[2009-04-30 12::12:07] ** You changed the topic to "Zenoss is Open Source Enterprise Network Monitoring: http://zenoss.com".
[2009-04-30 12::12:12] rmatte: there, I have Zenoss automatically updating the hosts files on my zenoss boxes
[2009-04-30 12::12:27] mrayzenoss: rmatte: cool
[2009-04-30 12::12:55] rmatte: I'll write up a guide on how to do it at some point
[2009-04-30 12::14:08] jb: whats wrong with DNS?
[2009-04-30 12::14:59] rmatte: can't do searches for like part of a device name with DNS
[2009-04-30 12::15:35] ** kells left the chat room.
[2009-04-30 12::15:41] jb: you mean grep MX /etc/hosts
[2009-04-30 12::15:45] rmatte: our engineers specifically requested hosts files, we were originally going to go the DNS route
[2009-04-30 12::16:03] jb: hehe
[2009-04-30 12::16:52] MmeNetView: ian: that looks awesome - command seems to return loads of "brains" - not sure what to do with them...
[2009-04-30 12::17:26] Drazzi: Are there any docs for the "Zenoss flow" that describes which parts of Zenoss get called where, and how they put the data in the DB(s)?
[2009-04-30 12::17:36] MmeNetView: I guess this is a lot more efficient than my double for loops around devices and interfaces???
[2009-04-30 12::18:46] __ian__: MmeNetView: brain is essentially a search result. brain.getObject() gets you the associated object
[2009-04-30 12::21:42] MmeNetView: Wow!!
[2009-04-30 12::21:49] __ian__: Drazzi: Not sure exactly what you're looking for, but if it isn't in the Dev Guide or Admin Guide, and the API docs don't help, then no.
[2009-04-30 12::22:00] MmeNetView: Is there any chance that this is documented somewhere???
[2009-04-30 12::22:28] __ian__: No, it's low-level, used for something else
[2009-04-30 12::23:21] chudler: that's cool. I have found it useful for mapping ILOMs to their hosts
[2009-04-30 12::23:23] __ian__: that's what lets the Google Maps links be drawn efficiently
[2009-04-30 12::23:34] MmeNetView: Still not sure this is going to solve my issue calling code in a function from my pt file - it looks like it can't cope with "dmd"
[2009-04-30 12::24:22] rocket: chudler: got an example of that code .. I am thinking of something similar mapping vios to their frame or lpars etc ..
[2009-04-30 12::24:58] __ian__: MmeNetView: where is the function defined?
[2009-04-30 12::26:09] rmatte: ok, what the heck is wrong with this crontab line?
[2009-04-30 12::26:20] MmeNetView: Mebbe easier to see in the forum - http://forums.zenoss.com/viewtopic.php?p=34023#34023
[2009-04-30 12::26:26] rmatte: I'm trying to have it run once an hour
[2009-04-30 12::26:47] adytum-bot: Title: Forums :: View topic - How to loop through all devices in Zenoss database?? (at forums.zenoss.com)
[2009-04-30 12::26:57] __ian__: MmeNetView: I'm looking at that, but it doesn't say where the actual function ends up
[2009-04-30 12::26:58] mrayzenoss: rmatte: does your cron implementation expect a user?
[2009-04-30 12::27:00] rocket: rmatte try */60 ?
[2009-04-30 12::27:36] MmeNetView: Yeh - I thought the connection should be already there but it barfed on find if I didnt put in the
[2009-04-30 12::27:53] chudler: rocket: this actually might be more brute than what __ian__ was talking about, but here it is: http://pastie.org/463998
[2009-04-30 12::28:03] adytum-bot: Title: #463998 - Pastie (at pastie.org)
[2009-04-30 12::28:10] __ian__: OH, I get it. So BridgeInterface is an object? If so, just do this:
[2009-04-30 12::28:15] chudler: the context is, that the ILOM shares at least one MAC/network interface with the host.
[2009-04-30 12::29:05] MmeNetView: The function is in the object class interface file BridgeInterface.py
[2009-04-30 12::30:00] __ian__: I get it. Yeah, just don't use ZenScriptBase. Acquire dmd from self
[2009-04-30 12::31:46] rmatte: mrayzenoss: yes
[2009-04-30 12::32:13] mrayzenoss: ahh, I'm just using /etc/crontab
[2009-04-30 12::32:29] rmatte: ah
[2009-04-30 12::32:29] mrayzenoss: so my entries have a user before the command
[2009-04-30 12::32:46] rmatte: yeh, I prefer doing it this way
[2009-04-30 12::33:02] __ian__: rmatte: Sorry, why not just "0 * * * *"?
[2009-04-30 12::33:11] rmatte: lol, why 0?
[2009-04-30 12::33:20] __ian__: on the hour every hour
[2009-04-30 12::33:48] rmatte: wouldn't that just execute the command every 0 seconds of every hour?
[2009-04-30 12::34:48] __ian__: No, it'll run once hourly
[2009-04-30 12::35:20] rmatte: k cool
[2009-04-30 12::35:29] __ian__: "/0 * * * *" would...well, it would probably break
[2009-04-30 12::35:35] rmatte: hehe
[2009-04-30 12::35:43] __ian__: but abstractly, it would run every 0 minutes of every hour
[2009-04-30 12::37:37] MmeNetView: next one....
[2009-04-30 12::37:57] rmatte: ah
[2009-04-30 12::38:00] ** timburke__ joined the chat room.
[2009-04-30 12::38:11] MmeNetView: I have a pt file that displays a table - my data has 53 lines - by default I get the standard 40 lines
[2009-04-30 12::38:38] __ian__: MmeNetView: Yeah, apparently my fix didn't work for that. I'm still investigating. That ZenTableManager code makes me crazy.
[2009-04-30 12::38:51] mrayzenoss: we discussed that ticket in the defect review this morning
[2009-04-30 12::39:09] __ian__: mrayzenoss: No, it's a different issue based on implementation.
[2009-04-30 12::39:13] mrayzenoss: ahh
[2009-04-30 12::39:43] MmeNetView: so is there a problem opened for this one???
[2009-04-30 12::40:10] __ian__: No, I don't think it's a bug in Zenoss, just some magic spell missing from your template
[2009-04-30 12::41:01] MmeNetView: is that "magic spell missing" or "magic mis-spelling"????
[2009-04-30 12::41:23] rmatte: lol
[2009-04-30 12::41:44] __ian__: heh. The former. Something that looks innocuous but is apparently essential for basic functionality isn't there.
[2009-04-30 12::42:25] jb: is it possible to change the polling interval for one device class?
[2009-04-30 12::42:47] __ian__: MmeNetView: Have you tried using "here/zenTableNavigation/macros/navbody" instead of navtool?
[2009-04-30 12::43:21] MmeNetView: come to that.... the same table doesnt have links on the column titles so that I can sort on a field
[2009-04-30 12::43:35] __ian__: MmeNetView: Never mind, the macro change won't affect anything
[2009-04-30 12::44:08] MmeNetView: oh good - pretty sure I didn't understand the question...
[2009-04-30 12::45:01] mrayzenoss: jb: depends on the protocol
[2009-04-30 12::46:33] MmeNetView: ian: AWESOME - your dmd=self.dmd fixed the issue - now need to try something more effective with your "brains" catalog stuff
[2009-04-30 12::47:06] mrayzenoss: Thanks a lot to everyone who stopped by, I'm going to let Ian off the hook if he needs to get going. I'm headed out but I'll be back later. Transcript will be up this afternoon.
[2009-04-30 12::47:37] MmeNetView: many thanks indeed - you've solved some of this weeks's problems for me!
[2009-04-30 12::48:30] __ian__: MmeNetView: try removing the line "ts python:here.ZenTableManager" etc
[2009-04-30 12::49:48] rocket: Thanks ian
Comments (0)