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

Dev chat 01/22/2009

VERSION 1 
Created on: Sep 14, 2009 11:18 AM by Noel Brockett - Last Modified:  Sep 14, 2009 11:18 AM by Noel Brockett
[2009-01-22 09::59:38] ** cgibbons joined the chat room.
[2009-01-22 10::00:38] mrayzenoss: Good morning/afternoon/evening everybody
[2009-01-22 10::01:40] ** You changed the topic to "Zenoss Development is Here".
[2009-01-22 10::05:15] cgibbons: crickets...
[2009-01-22 10::05:34] MW-Trey: I know right?
[2009-01-22 10::07:14] ** imcdona joined the chat room.
[2009-01-22 10::10:10] ** dcnoye_ joined the chat room.
[2009-01-22 10::10:46] mrayzenoss: MW-Trey: it seems like that should be covered in the Dev guide
[2009-01-22 10::10:50] ** mrchippy joined the chat room.
[2009-01-22 10::11:15] mrayzenoss: and you want a specific device right?
[2009-01-22 10::13:05] MW-Trey: I can pull a specific device without a problem, but the problem arises when I'm on the client and I don't know where that device resides in the device class tree
[2009-01-22 10::15:14] mrayzenoss: so you want to call getSubDevices() to get the list, then only return things that match your string?
[2009-01-22 10::16:20] MW-Trey: Well I'd rather have the sorting/finding done on the server, but if returning all devices and then searching that result is the only option.....
[2009-01-22 10::16:58] mrayzenoss: no, just a sec, we're tracking it down
[2009-01-22 10::20:44] MW-Trey: thanks
[2009-01-22 10::22:55] ** gangofnuns joined the chat room.
[2009-01-22 10::24:12] ** jmp242 joined the chat room.
[2009-01-22 10::25:40] klinstifen: I've got a simple question, I think...
[2009-01-22 10::25:41] ** dcnoye left the chat room.
[2009-01-22 10::25:57] klinstifen: I've noticed there is a bit of delay between events and the email alerts I get
[2009-01-22 10::28:18] mrayzenoss: MW-Trey: it's took awhile, but findDevice(string) seems to work
[2009-01-22 10::29:37] MW-Trey: I think the parameters might have been what was throwing me off.
[2009-01-22 10::29:40] mrayzenoss: you'll get the first device with a name that matches the substring
[2009-01-22 10::31:38] ** densone left the chat room.
[2009-01-22 10::31:53] klinstifen: right
[2009-01-22 10::33:28] mrayzenoss: mrchippy is checking out the code for an explanation
[2009-01-22 10::33:53] klinstifen: ok cool
[2009-01-22 10::36:47] gangofnuns: I have a quick question about templates and how to apply them.
[2009-01-22 10::41:41] mrayzenoss: usually it's 2 different device classes, but some collectors are smart enough
[2009-01-22 10::41:56] ** dcnoye_ is now known as dcnoye.
[2009-01-22 10::42:31] mrchippy: klinstifen-- there's the delay on the alert rule and the the cycle time of zenactions. by default, the zenactions cycle time is 1 minute, so on average your response time should be about ( delay + 30 seconds + transit time (which you said is ~0))
[2009-01-22 10::43:38] klinstifen: mrchippy, that math is spot on
[2009-01-22 10::44:02] mrayzenoss: gangofnuns: I think the HPSIMMonitor has the logic built in if you're looking for an example
[2009-01-22 10::44:12] klinstifen: and i got the email about 6 mins after the event was logged in zenoss
[2009-01-22 10::44:30] mrchippy: coolio
[2009-01-22 10::44:34] klinstifen: i set my delay high to prevent myself from getting spam'ed by up/down alerts
[2009-01-22 10::46:24] janwari: besides ping is there any way to tell Zenoss to check whether the server is up or down. Our ISP has blocked ping packets to prevent DOS attacks and hence Zenoss always shows server down for all our servers
[2009-01-22 10::46:26] gangofnuns: Thanks mray. I'll take a look at the code there. Cheers --
[2009-01-22 10::50:11] ** shadkianash left the chat room.
[2009-01-22 10::51:31] ** npmccallum left the chat room.
[2009-01-22 10::51:47] jb: hi
[2009-01-22 10::53:33] klinstifen: janwari, couldn't you use snmp?
[2009-01-22 10::53:42] mrayzenoss: gangofnuns: trac-zenpacks/browser/zenpacks/ZenPacks.community.HPSIMMonitor/ZenPacks/community/HPSIMMonitor/modeler/plugins/community/snmp/HPDeviceTemplateMap.py
[2009-01-22 11::00:28] janwari: klinstifen: no. We are using SSH
[2009-01-22 11::01:34] mrayzenoss: janwari: It looks like you could just shutdown zenping and set the zEventAction to drop
[2009-01-22 11::02:39] janwari: ok let me try it
[2009-01-22 11::02:41] mrayzenoss: then you could chang /Events /Status/SNMP from an Error to a Critical
[2009-01-22 11::02:50] janwari: restarting Zenoss VM
[2009-01-22 11::04:01] mrayzenoss: well, you could do it for WMI or SSH similarly
[2009-01-22 11::04:31] janwari: ahh
[2009-01-22 11::06:00] adytum-bot: Title: Release Notes for Zenoss 2.3.2 - Commercial Open Source Application, Systems and Network Monitoring - Zenoss (at www.zenoss.com)
[2009-01-22 11::06:05] janwari: s/core-2.3/core-2.3.2/
[2009-01-22 11::06:18] mrayzenoss: thanks, I'll get that addressed
[2009-01-22 11::07:41] janwari: this is just out of curiosity. Is it possible for Zenoss to send SMS alerts in case when the server is down. If i does it would be great and i would no longer need to use websitepulse.com
[2009-01-22 11::09:50] ** mrchippy left the chat room.
[2009-01-22 11::10:14] mrayzenoss: mrchippy's battery died
[2009-01-22 11::10:44] janwari: is it on any dev articles ?
[2009-01-22 11::10:57] mrayzenoss: I haven't seen it specifically
[2009-01-22 11::11:36] janwari: ok then what are the steps to follow?
[2009-01-22 11::12:43] mrayzenoss: I'm looking around for docs on the watchdog
[2009-01-22 11::19:17] klinstifen: i gotta run...thanks for the help guys
[2009-01-22 11::19:34] ** klinstifen left the chat room.
[2009-01-22 11::19:36] janwari: how to shutdown zenping ?
[2009-01-22 11::19:38] ** mrchippy joined the chat room.
[2009-01-22 11::20:59] mrayzenoss: Settings->Daemons->zenping Stop
[2009-01-22 11::21:25] jb: or "zenping stop" from a shell..
[2009-01-22 11::21:29] janwari: ohh i see it now. thanks
[2009-01-22 11::24:23] jb: what do you mean?
[2009-01-22 11::24:30] ** mrchippy left the chat room.
[2009-01-22 11::24:51] janwari: trying to add Zenoss server status monitoring using something else besides ping
[2009-01-22 11::25:19] jb: they block ICMP completely?
[2009-01-22 11::25:23] janwari: yes
[2009-01-22 11::26:05] jb: that sucks, especially since that doesn't really precent DOS attacks
[2009-01-22 11::28:05] mrayzenoss: I'm gonna let Chip off the hook for the session, I'll post the transcript this afternoon
[2009-01-22 11::28:26] ** You changed the topic to "Zenoss is Open Source Enterprise Network Management".
[2009-01-22 11::28:36] mrayzenoss: be back later
[2009-01-22 11::28:41] jb: bye
Comments (0)