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

Dev Chat 10/27/11

VERSION 2  Click to view document history
Created on: Dec 8, 2011 10:49 AM by Nick Yeates - Last Modified:  Dec 11, 2011 3:51 AM by Nick Yeates

Major Topics:

<fixme>

 

[27-Oct-2011 10:58:11] <nyeates> Hi

[27-Oct-2011 10:58:35] <nyeates> dev chat in here in a few

[27-Oct-2011 10:59:22] <jmp242> Hi all

[27-Oct-2011 10:59:48] <nyeates> Hope you like the jive access James :-)

[27-Oct-2011 11:00:17] <jmp242> I haven't had much time, but yes thanks

[27-Oct-2011 11:00:37] <jmp242> Anyone have luck with 3.2.1 core auth to AD?

[27-Oct-2011 11:00:46] <jmp242> I might be trying that in the future

[27-Oct-2011 11:00:53] <simonjj> Hello everyone, hope all is well

[27-Oct-2011 11:01:45] <simonjj> anyone out there test-driven 3.2.1 at this time ?

[27-Oct-2011 11:02:03] <jmp242> Yea

[27-Oct-2011 11:02:10] <jmp242> well, just did the update on my production server

[27-Oct-2011 11:02:15] <jmp242> all is well after clearing browser cache

[27-Oct-2011 11:02:49] <simonjj> feedback ?

[27-Oct-2011 11:03:01] <nyeates> jmp242: noticed if any graphs have issues changing their range?

[27-Oct-2011 11:03:13] <jmp242> mmm

[27-Oct-2011 11:03:20] <jmp242> haven't done much with it since yesterday

[27-Oct-2011 11:03:27] <jmp242> do you mean zooming in and out on graphs?

[27-Oct-2011 11:04:33] <nyeates> I think its more the hourly, daily, monthly button

[27-Oct-2011 11:04:44] <simonjj> overall it evolutionary, but I'd like to think that most things we did are for the better

[27-Oct-2011 11:05:49] <nyeates> revolutionary will hopefully come next major release ;-)

[27-Oct-2011 11:06:00] <jmp242> mmm

[27-Oct-2011 11:06:10] <jmp242> I didn'g get it to do anything

[27-Oct-2011 11:06:27] <jmp242> I tried on a test device, changed to weekly, hit reset, hit refresh, nada

[27-Oct-2011 11:06:32] <jmp242> in Firefox 3.6.23

[27-Oct-2011 11:06:36] <nyeates> nada as in....

[27-Oct-2011 11:06:47] <jmp242> graphs don't change

[27-Oct-2011 11:06:49] <jmp242> at all

[27-Oct-2011 11:07:43] <jmp242> same in Opera 11.52

[27-Oct-2011 11:08:27] <dgarcia1> jmp242: is this a firefox only problem? or can you reproduce on another browser?

[27-Oct-2011 11:08:55] <jmp242> same in Opera 11/52

[27-Oct-2011 11:09:09] <dgarcia1> did you get any javascript errors?

[27-Oct-2011 11:09:16] <jmp242> mmm

[27-Oct-2011 11:09:20] <jmp242> let me check error console

[27-Oct-2011 11:10:02] <jmp242> not in Opera

[27-Oct-2011 11:10:27] <jmp242> well, at least not when using the resize

[27-Oct-2011 11:10:33] <jmp242> let me try a reload of the whole page

[27-Oct-2011 11:10:42] <dgarcia1> try firebug/firefox

[27-Oct-2011 11:11:07] <jmp242> A bunch of CSS errors

[27-Oct-2011 11:11:11] <jmp242> but no javascript ones

[27-Oct-2011 11:11:22] <jmp242> I don't have firebug in Firefox, but maybe someone else can check

[27-Oct-2011 11:11:47] <nyeates> yeah - ok - its been verified in a couple places....someone said maybe its an AJAX thing....its been marked as a priority 1 bug

[27-Oct-2011 11:12:35] <jmp242> Firefox shows the same sorts of CSS errors

[27-Oct-2011 11:12:43] <jmp242> but no javascript errors in it's error console

[27-Oct-2011 11:14:09] <jmp242> oh hey

[27-Oct-2011 11:14:13] <jmp242> if I go off of graphs

[27-Oct-2011 11:14:15] <jmp242> say to events

[27-Oct-2011 11:14:17] <jmp242> and then back

[27-Oct-2011 11:14:21] <jmp242> the ranges change then in FF

[27-Oct-2011 11:14:37] <emillerzenoss> interesting

[27-Oct-2011 11:14:41] <nyeates> weird

[27-Oct-2011 11:14:58] <jmp242> same in Opera

[27-Oct-2011 11:15:08] <jmp242> this is in the left hand nav

[27-Oct-2011 11:15:11] <jmp242> for the device

[27-Oct-2011 11:15:16] <jmp242> not to the main event console

[27-Oct-2011 11:17:39] <nyeates> Hey, while we do have some devs in here, I want to point you guys at Jane Curry's latest predicament. She has posted non-working code here: https://github.com/jcurry/ZenPacks.skills1st.MenuExamples

[27-Oct-2011 11:17:54] <nyeates> In browser.configure.zcml, the js-myFooterMenu stanza completely naffs everything. No panel that has a footer renders at all.

[27-Oct-2011 11:18:40] <nyeates> 2) The run_my_predefined_command menu does appear but doesn't produce output from the command.  I have debugging in libexec/mywrapper_script1 that shows that control is indeed passed there, but my output window is blank.  I originally got this code snippet from Kells.

[27-Oct-2011 11:19:20] <JohnnyNOC> wondering if someone could give me some advice on how to properly add ssCpuRawNice

[27-Oct-2011 11:19:58] <JohnnyNOC> i can't just add the single OID as it's a sum of all the CPUs..  but i'm not sure how to capture the number of cpus and do the math

[27-Oct-2011 11:22:08] <dgarcia1> JohnnyNOC: do you think docs/DOC-10224 may solve your problem?

[27-Oct-2011 11:23:19] <JohnnyNOC> dgarcia1: i believe so

[27-Oct-2011 11:23:23] <nyeates> dgarcia1: I was going to offer the same advise. Rmatte zenpack

[27-Oct-2011 11:23:52] <nyeates> it works well - just note that it doesnt scale to many many devices well yet

[27-Oct-2011 11:24:18] <emillerzenoss> i could be completely off here, but wouldn't the number of cpus be in the model and not in an rrd? and would that require a custom modeler plugin? if so docs/DOC-5859

[27-Oct-2011 11:26:02] <JohnnyNOC> emillerzenoss: yes, but i presume there's an OID available i can query to get the num cpus

[27-Oct-2011 11:26:15] <nyeates> "You can also call on values such as here.hw.totalMemory."

[27-Oct-2011 11:26:23] <emillerzenoss> ahh

[27-Oct-2011 11:32:04] <JohnnyNOC> hmm

[27-Oct-2011 11:32:07] <JohnnyNOC> of course it can't be "easy"

[27-Oct-2011 11:32:09] <JohnnyNOC>

[27-Oct-2011 11:34:37] <JohnnyNOC> i>>> len(d.hw.cpus()) 2

[27-Oct-2011 11:35:48] <aclark> Anyone used docs/DOC-3501 (mysql monitor) on 3.2.1? Just installed it but Zenoss says it's broken even after restart

[27-Oct-2011 11:38:50] <nyeates> aclark: what happens or what does zenoss say?

[27-Oct-2011 11:39:37] <Jane_Curry> Thanks Nick - anyone any ideas to contribute to my MenuExamples - https://github.com/jcurry/ZenPacks.skills1st.MenuExamples  ?????????????

[27-Oct-2011 11:39:39] <nyeates> also, did you install it as part of the zenoss zenpack bundle, or seperately? I think we QA the install of the bundle

[27-Oct-2011 11:41:18] <jmp242> So I'm updating the Forum FAQs and integrating them to one Wiki page on zcaportal.org so I'm no longer across so many pages for users

[27-Oct-2011 11:41:26] <jmp242> What browsers is Zenoss now supporting?

[27-Oct-2011 11:44:03] <jmp242> nyeates: ? I'm assuming IE8-9? Firefox (some version)...

[27-Oct-2011 11:45:11] <nyeates> ff, ie, maybe chrome....im looking

[27-Oct-2011 11:46:24] <nyeates> Firefox (verified with 3.6.x, 4, 5) or Internet Explorer (verified with 7, 8, 9)

[27-Oct-2011 11:46:42] <nyeates> we also run it internally on Chrome, but no official support

[27-Oct-2011 11:50:11] <dgarcia1> @jane i can't get it to install cleanly, working on it

[27-Oct-2011 11:51:16] <spawnwho> Hi All I would like to ask regarding enterprise version of zenoss. What is the main benefits of going for Enterprise version compared to Zenoss core?

[27-Oct-2011 11:51:32] <aclark> nyeates: in zenpacks i see, This pack was just installed, or is missing or broken. Please restart Zope. (even though i restarted)

[27-Oct-2011 11:52:42] <nyeates> spawnwho: I will take that question with you in private. We are in a dev chat session now.

[27-Oct-2011 11:52:51] <aclark> nyeates: might be a perms issue actually, installed as root. i'm chowning to zenoss…

[27-Oct-2011 11:53:23] <nyeates> su - zenoss

[27-Oct-2011 11:53:34] <nyeates> then install

[27-Oct-2011 11:53:49] <nyeates> - brings environment vars needed

[27-Oct-2011 11:53:54] <spawnwho> @nyeates sure. Thanks

[27-Oct-2011 11:54:02] <JohnnyNOC> could anyone give suggestions as to what I should look into when I have a datasource with a threshold (that has been disabled) which keeps sending alerts to the dashboard?

[27-Oct-2011 11:54:38] <JohnnyNOC> i have a monitoring template for some mongo servers of ours which had thresholds enabled that i've disabled (in the lil' checkbox thing) but the alerts keep hitting the dashboard and i'd like to try and understand why

[27-Oct-2011 11:54:57] <aclark> nyeates: yep, perms! sorry

[27-Oct-2011 11:55:20] <nyeates> aclark: glad we stomped that to be a no-issue :-)

[27-Oct-2011 11:55:54] <aclark> nyeates: yeah! :-) thanks for the reply

[27-Oct-2011 11:58:00] <kenhen93> is there any kind of bug that would if a data source or monitoring template contains a space, would prevent it from being added to a zenpack properly?

[27-Oct-2011 12:00:01] [disconnected at Thu Oct 27 12:00:01 2011]

[27-Oct-2011 12:00:02] [connected at Thu Oct 27 12:00:02 2011]

[27-Oct-2011 12:00:13] [zenoss-logger (logger bot) has joined #zenoss]

[27-Oct-2011 12:01:48] <JohnnyNOC> OK how about another question

[27-Oct-2011 12:02:11] <emillerzenoss> Jane, I looked at another implementation of stream() in a StreamingView subclass, and rather than returning output, it called self.write() in a loop for each bit of output expected

[27-Oct-2011 12:02:29] <JohnnyNOC> I have filesystem thresholds set at 95% for disk usage, however if i restart zenoss I get alerts as low as 1.9% utilization for all my devices....  they eventually catch up and show the right usage but why am i getting alerts about utilization way under my set threshold?

[27-Oct-2011 12:04:16] <Jane_Curry> emillerzenoss: Can you point me at that sample - is it in Zenoss Core?

[27-Oct-2011 12:05:00] <emillerzenoss> http://dev.zenoss.com/trac/browser/trunk/Products/ZenUI3/browser/streaming.py

[27-Oct-2011 12:05:12] <emillerzenoss> class TestStream at the end

[27-Oct-2011 12:08:58] <nyeates> emillerzenoss: what does that stream code do or relate to?

[27-Oct-2011 12:09:29] <emillerzenoss> the run_my_predefined_command not showing output

[27-Oct-2011 12:15:02] <nyeates> ok gotcha....I am curious as to what that streaming.py, in particular, is doing....it spits back html upon request of something else? something to do with ajax or other data exchange?

[27-Oct-2011 12:16:27] <emillerzenoss> it writes to the response. remodel a device and see the modeler output stream, for example.

[27-Oct-2011 12:17:53] <nyeates> ahhhh gotcha, that translucent popup that streams in new data (maybe from a log or command) as stuff happens

Comments (0)