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

Dev chat 09/11/2008

VERSION 1 
Created on: Sep 14, 2009 11:18 AM by Noel Brockett - Last Modified:  Sep 14, 2009 11:18 AM by Noel Brockett
[09:59]   * Now talking on #zenoss
[09:59]   * Topic for #zenoss is: Zenoss Dev will be here Thursday, Sept. 11 at 11am EDT
[09:59]   * Topic for #zenoss set by mrayzenoss at Mon Sep  8 10:27:20 2008
[09:59]   * Sain0rs (n=Sain@64.201.5.146) has joined #zenoss
[09:59]   mrayzenoss  Good morning everybody
[09:59]   bedwards  hello
[10:00]   mrayzenoss  bedwards and I are here to answer your questions this morning
[10:00]   mrayzenoss  There may be a few other Zenoss lurkers, hopefully they'll chip in
[10:00]   can_jafo  Morning.
[10:01]   can_jafo  I've just started testing Zenoss this week so it's still totally new to me.
[10:01]   can_jafo  Is there a fix for the WMI RPC_S_CALL_FAILED events?
[10:02]   can_jafo  or am I in the wrong place for these type of questions?
[10:02]   mrayzenoss  are you referrring to a ticket?
[10:02]   mrayzenoss  no, this is the right place
[10:02]   * ktwilight__ (n=ktwiligh@116.92-66-87.adsl-dyn.isp.belgacom.be) has joined #zenoss
[10:03]   can_jafo  I'm looking at this forum thread:
[10:03]   can_jafo  http://community.zenoss.com/forums/viewtopic.php?p=16603#16603
[10:03]   can_jafo  But there's no firewall between my Zenoss box and the windows box.
[10:03] adytum-bot Title: Forums :: View topic - Stopped Zenwin not shown in Zenoss Issues on Dashboard (at community.zenoss.com)
[10:03]   mrayzenoss  Is this against Vista?
[10:04]   can_jafo  No it's Win2k server.
[10:05]   mrayzenoss  there are a bunch of windows fixes going into 2.2.4, which is about to go out
[10:05]   mrayzenoss  are you running 2.2.3?
[10:05] cgibbons can_jafo: have you tried using the wmic command manually to see if connectivity between your zenoss host & the box in question is OK? (if not I can describe)
[10:06]   can_jafo  yeah, I'm running 2.2.3
[10:06]   can_jafo  cgibbons: nope.
[10:06]   can_jafo  zenwinmodeler run -v 10 ends with the following output:
[10:06]   can_jafo  DEBUG:zen.zenwinmodeler:Wmi Probs ['lhplan01.sjhc.london.on.ca']
[10:06]   can_jafo  WARNING:zen.zenwinmodeler:skipping lhplan01.sjhc.london.on.ca has bad wmi state
[10:07] cgibbons k, it's easy to do. try this: $ZENHOME/bin/wmic -U yourusername%yourpassword //yourhostname 'select * from win32_computersystem'
[10:07] cgibbons yeah, once it gets an error it'll put the device into a bad state (deliberately) until you go manually clear it, at least for now. that command will tell us if the low-level connectivity is there or if there is something higher level going on.
[10:07]   Sain0rs I thought the WMI calls only working on Windows XP/2003+
[10:07]   Sain0rs er, only worked on
[10:07] cgibbons there are some issues with Windows 2000 & WMI modeling, even though the low level stuff works okay (exactly Sain0rs)
[10:08]   can_jafo  cgibbons: I don't have a wmic binary in $ZENHOME/bin
[10:08]   cgibbons  hurm, might be somewhere else depending upon what type of install you have. appliance? stack? source?
[10:08]   can_jafo  It's possible this is an issue on the Windows site too. I don't admin that box, I'm a Unix guy.
[10:09]   can_jafo  cgibbons: *gah* it was common/bin
[10:09]   cgibbons  yeah... sounds like a stack
[10:09]   can_jafo  I don't have credentials for the windows box though.
[10:11] can_jafo Sorry, I don't even know what WMI is, I'm just trying to eliminate the event so it doesn't show up on the dashboard.
[10:11]   * roadies (n=chrislro@stun.cmf.nrl.navy.mil) has left #zenoss
[10:11]   can_jafo  Do the admin credentials for the windows box have to be configured in Zenoss?
[10:12]   cgibbons  yeah
[10:12]   can_jafo  cgibbons: well that would be my problem then (doh).
[10:12] Sain0rs if possible you might try and ask them to install SNMP Informant on that Windows machine and collect data via SNMP instead of WMI
[10:12] cgibbons WMI is called Windows Management Instrumentation; if you've ever heard of CIM (Common Information Model) then it's Microsoft's implementation of it. short story is it uses a set of DCOM classes that are called via DCE/RPC to pull back management data.
[10:13]   mrayzenoss  if you want to get rid of the events, at the zProperties, set zWmiMonitorIgnore = True
[10:13] cgibbons (and the good news is we're working hard on making all of this remote Windows monitoring a lot more robust right now)
[10:14] can_jafo But I can accomplish the same thing with SNMP? Im' sure the windows admins won't be keen on giving me admin access to their boxes.
[10:14]   cgibbons  you can probably get all that you need via SNMP if they enable it on the servers you need.
[10:14]   can_jafo  Yes they have.
[10:15]   mrayzenoss  So speaking of Windows monitoring...
[10:16]   mrayzenoss  We're going to be adding a new "zenoss-windows" forum just for monitoring Windows discussions
[10:16]   cgibbons  yippie!
[10:16]   can_jafo  Excellent.
[10:16]   mrayzenoss  there seems to be a bit too much traffic on zenoss-users, so we'll try to spread it out a bit
[10:16]   can_jafo  I'm trying to convince management to use Zenoss as opposed to Openview.
[10:16]   mrayzenoss  they'll save a bit of money
[10:16]   can_jafo  So if I can get this stable and useful before the openview pilot I"m laughing.
[10:17]   can_jafo  1 more question.
[10:17]   mrayzenoss  sure
[10:17]   can_jafo  I"m getting lots of "/Perf/Snmp" Error reading value for X (oid xxxxxx is bad) events.
[10:18] can_jafo Does that mean Zenoss is looking for an OID that the server doesn't have or have I not enabled something on the servers I want to monitor?
[10:19]   can_jafo  Example from a sun box:
[10:19]   can_jafo  Error reading value for "memBuffer" on bat.lhsc.on.ca (oid .1.3.6.1.4.1.2021.4.14.0 is bad)
[10:20]   * daMaestro (n=jon@fedora/damaestro) has joined #zenoss
[10:20]   * daMaestro is a little late
[10:20]   daMaestro any developers still around?
[10:20]   can_jafo  daMaestro: yup
[10:20]   can_jafo  (not me)
[10:21]   daMaestro cool, i was wondering if i should be developing patch sets against trunk? or?
[10:21]   mrayzenoss  we're here, looking for the right answer to his question
[10:21]     daMaestro DarylVOIP
[10:21]   can_jafo  mrayzenoss: thanks.
[10:21]   mrayzenoss  daMaestro: what are you patching?
[10:21]   daMaestro mrayzenoss, i'm sick of sendString not being able to have \n
[10:21]   bedwards  can_jafo: can you do snmpwalk on that oid
[10:21]     daMaestro DarylVOIP
[10:21]   daMaestro mrayzenoss, it's impossible to implement HTTP/1.1 requests
[10:22]     daMaestro DarylVOIP
[10:22]   mrayzenoss  daMaestro: is there a ticket?
[10:22]   * tarjei (n=tarjeih@mail2.bergfald.no) has joined #zenoss
[10:22]   daMaestro mrayzenoss, from a long time ago, with a poor patch set (IMHO)
[10:22]   daMaestro mrayzenoss, i was going to just develop a patch set and submit it as a bug
[10:22]   mrayzenoss  ok, let me find it and I'll walk you through getting a patch in and on our radar
[10:22]   mrayzenoss  that works too
[10:23]   daMaestro mrayzenoss, i can do the patch set ;-)
[10:23]   daMaestro mrayzenoss, i just want to know if i should do it against trunk or against the 2.2.3 release?
[10:23]   mrayzenoss  at this point, Trunk
[10:23]   mrayzenoss  it has to be a blocker to get applied to 2.2.X
[10:23]   mrayzenoss  2.2.4 is frozen and about to come out
[10:23]   daMaestro http://dev.zenoss.com/trac/ticket/2489
[10:24]   mrayzenoss  2.3 goes to beta in 2 weeks
[10:24]   can_jafo  grr... trying to get snmpwalk syntax. one sec.
[10:24]   mrayzenoss  so the window for 2.2.x is closing
[10:24]     daMaestro DarylVOIP
[10:25]   mrayzenoss  daMaestro: Is that your ticket?
[10:25]   krphop  is there anyway to change the fonts that are used in the RRD's, but only for particular users?
[10:25]   daMaestro mrayzenoss, no.. just something i foudn
[10:25]   bedwards  can_jafo: you can do snmpwalk from the web ui on the device page, page menu, run commands
[10:25]   daMaestro found*
[10:25] cgibbons okay, I just checked.. the fixes we had for Windows 2000 WMI modeling aren't in the 2.2.x branches, just in the trunk. so that's coming in a later release.
[10:25]   can_jafo  snmpwalk -v1 -cpublic bat.lhsc.on.ca .1.3.6.1.4.1.2021.4.14.0
[10:25]   * jp105581 (n=jmp242@pc140.lns.cornell.edu) has joined #zenoss
[10:26]   can_jafo  just returns with no output
[10:26]   can_jafo  bedwards: can I pass the OID to the web UI?
[10:26]   jp105581  Hi Zenoss Dev's!
[10:26]   mrayzenoss  daMaestro: so open a new ticket: http://dev.zenoss.com/trac/wiki/HowToAddTicket and put patch in there
[10:26]   * jp105581 (n=jmp242@pc140.lns.cornell.edu) has left #zenoss
[10:27]   mrayzenoss  daMaestro: and add the "contribute" keyword
[10:27]   daMaestro mrayzenoss, i will (and i know how to open tickets) ;-)
[10:27]   * jmp242 (n=jmp242@pc140.lns.cornell.edu) has joined #zenoss
[10:27]   daMaestro mrayzenoss, i just wanted to know what i should develop against
[10:27]   daMaestro mrayzenoss, also.. is there a zenoss buildout anywhere?
[10:27]   mrayzenoss  daMaestro: ok, over kill
[10:27]   bedwards  can_jafo: nope, just system, so command line is your only option
[10:27]   mrayzenoss  buildout?
[10:27]   can_jafo  bedwards: ya, I'm getting no output from snmpwalk on the command line.
[10:28]   can_jafo  bedwards: does that mean I need to configure net-snmp to recognize that OID then?
[10:28]   daMaestro mrayzenoss, someone in the channel was working on one... :: http://pypi.python.org/pypi/zc.buildout\
[10:28]   daMaestro mrayzenoss, someone in the channel was working on one... :: http://pypi.python.org/pypi/zc.buildout
[10:28]   adytum-bot  Title: Python Package Index : zc.buildout 1.1.1 (at pypi.python.org)
[10:29]   daMaestro mrayzenoss, it would make developing for zenoss much easier
[10:29]   bedwards  can_jafo: there is no problem with the net-snmp client recognizing that OID
[10:29]   mrayzenoss  daMaestro: we would like to make our builds easier
[10:29]   * MindlessTux (n=mt-com@nc-65-40-169-207.sta.embarqhsd.net) has joined #zenoss
[10:29]   mrayzenoss  I'll mention it to dev, see what Ian thinks
[10:29]   bedwards  can_jafo: it appears that the server isn't sending anything back for that OID
[10:29] daMaestro mrayzenoss, good.. use buildouts. ;-) it's the standard zope way to do things (and it's what we use with plone)
[10:29]   daMaestro mrayzenoss, i'm also going to be working on a plugin for webmetrics
[10:30]   mrayzenoss  cool
[10:30]   * cluther (n=cluther@74.93.194.82) has joined #zenoss
[10:30]   can_jafo  bedwards: I get the same alert for a fwe OIDs on the windows boxes too.
[10:30]   cgibbons  welcome Chet
[10:30]   mrayzenoss  daMaestro: Ian thinks Buildout is good stuff, we're looking at it for some stuff already
[10:30]   can_jafo  So they're safe to ignore then?
[10:31]   mrayzenoss  jmp242: Greetings
[10:31]   mrayzenoss  krphop: I don't know about changing the fonts on RRD, I'll look into tthat
[10:32]   mrayzenoss  krphop: particular users might be an issue
[10:33] krphop mrayzenoss: basically, i have one user that just uses a multigraph dashboard thats created, and I'd like that user to use slightly smaller fonts for the RRD's
[10:33]   jmp242  hi mrayzenoss
[10:33]   jmp242  how's it going?
[10:34]   mrayzenoss  pretty good.  We've got 3 Zenoss devs in the channel and me.
[10:34]   jmp242  cool - any info on release of 2.2.4?
[10:35]   * cote (n=cote@3.sub-75-211-245.myvzw.com) has joined #zenoss
[10:36]   bedwards  can_jafo: that OID is for Total RAM Buffered
[10:36]   mrayzenoss  So I went down to the configuration manager's office and asked about the state of 2.2.4
[10:36]   daMaestro mrayzenoss, recommendation: http://dev.zenoss.com/trac/ add (on the front page) how to checkout the source
[10:36]   mrayzenoss  we have 1 blocker that is being actively worked on (probably fixed today)
[10:37]   mrayzenoss  a day to build and 2 days of testing, so probably Monday
[10:37]   mrayzenoss  a pre-release of 2.2.4 slipped into rPath accidentally and was available to appliance users, don't use it!
[10:37]     daMaestro DarylVOIP
[10:38]   can_jafo  bedwards: so I need to figure out how to get net-snmp to return a value for that OID then?
[10:38]   mrayzenoss  daMaestro: ok, noted
[10:39] can_jafo bedwards: i'm having the same issue with OID .1.3.6.1.4.1.9600.1.1.5.1.5.6.95.84.111.116.97.108 on the windows boxes so I"m getting no CPU data for them.
[10:39]   * tarjei has quit (Connection timed out)
[10:40]   daMaestro mrayzenoss, is the standard patch set just a gendiff from trunk?
[10:41]   jmp242  no, I don't use the VMWare appliance
[10:41]   jmp242  I hope to get to try out 2.2.4 if it's out sometime next week, as I haven't upgraded since 2.1.2
[10:44]   mrayzenoss  daMaestro: yeah, that works
[10:45]   mrayzenoss  jmp242: a lot of work has been done on migrating 2.1->2.2.4, so that should be good
[10:46]   jmp242  That will make me a happy ZenMaster lol!
[10:47] can_jafo Where can I set the thresholds for triggering events on things like disk space and network interface utilization?
[10:47]   bedwards  can_jafo: other OIDs are working, correct?
[10:47] can_jafo bedwards: Yup, I'm collecting data from the Sun and Windows boxes but a few OIDs are failing on each platform.
[10:49]   can_jafo  bedwards: I just read a posting in the forum about needing NMP Informant
[10:49]   can_jafo  extension for Windows
[10:49]   jmp242  If you use built in Zenoss Windows, you need SNMP Informant
[10:49]   jmp242  you can use the WMI zenpack(s)
[10:49]   jmp242  and avoid SNMP Informant
[10:49]   jmp242  or perfmon too, if you configure it right IIRC
[10:49] can_jafo bedwards: so that may be my problem on the windows side but net-snmp on the Sun boxes is the bundled Solaris 10 net-snmp.
[10:50] can_jafo jmp242: But I need administrative credentials for the boxes to use WMI and the windows guys likely won't go for that.
[10:50]   jmp242  what about Perfmon?
[10:50]   jmp242  well, time for lunch
[10:51]   can_jafo  Thanks for the help everyone.
[10:52] can_jafo I've already accomplished more with Zenoss than two consultant lead Openview projects here so it's looking really promising.
[10:53]   * can_jafo has quit ("brb")
[10:53]   * keith_ (n=keith@CPE00a02477ff82-CM001225d885d8.cpe.net.cable.rogers.com) has joined #zenoss
[10:53]   * keith_ is now known as can_jafo
[10:56]   mrayzenoss  krphop: There's a section of the Admin Guide that covers RRD configuration
[10:57] mrayzenoss krphop: 7.1.1 in the "Format" section you can set the font, but you won't be able to change it for particular users
[10:57]   mrayzenoss  krphop: just for particular graphs
[10:59]   krphop  mrayzenoss: ok, any plans to have a configurable variable per user in the future?
[11:00]   mrayzenoss  krphop: I don't think so, but you can open a ticket as an enhancement and we'll address it
[11:00]   mrayzenoss  we've been making a lot of progress lately on the ticket backlog
[11:00]   mrayzenoss  streamlining the process and whatnot
[11:01]   mrayzenoss  so new tickets will get addressed a lot sooner
[11:01]   mrayzenoss  we might not fix it, but it won't be put into limbo
[11:02]   krphop  ok, cool, thanks
[11:02]   mrayzenoss  bedwards has to get going, so we're going to wrap the session up shortly
[11:03] mrayzenoss but we're making this a fixture on the development calendar, so we'll be here for sure every 2 weeks, and at other random times as well
[11:04] mrayzenoss and as always, the forums are an active discussion venue for support and we'll be adding zenoss-windows soon
Comments (0)