Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 260D2EB20 for ; Mon, 14 Jan 2013 17:41:31 +0000 (UTC) Received: (qmail 60475 invoked by uid 500); 14 Jan 2013 17:41:30 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 60363 invoked by uid 500); 14 Jan 2013 17:41:30 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 60355 invoked by uid 99); 14 Jan 2013 17:41:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 17:41:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.219.43] (HELO mail-oa0-f43.google.com) (209.85.219.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2013 17:41:26 +0000 Received: by mail-oa0-f43.google.com with SMTP id k1so4244640oag.2 for ; Mon, 14 Jan 2013 09:41:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=Irpx6s/cOo7kGY/Wf3cxUIE6LyRBfhQ+WLy+dpd51sE=; b=pHiB9ieDVWQnY8up2yTe+EsnCeZMYXbZuMEd5ESpGtAuoGWpryDke9vGCDvKQfaqnU 7SqvuLubzKMZC+a7IXlqvNSuxd6tvQ0/tPIxP1pQNeb4DmS7zMqHIxUem9JBGweunAHU h4GfSoNPS4506SVhfjncKJ70AB+/Hld3ceqHaTQpci148I29pk/Oi082TCSVoeYfNyPe qQ7PQSgr2CLTJIFYMCIuU5N2Rx2oP8kmN27XyquRy1HsTQXftApEzCrrUY9ryjUKQbXo swu99hzhlT/6mYl+0JQ15BLJP9qwOkQ+rpvNh8X74TCLv1JxjJBRlnZR/T5DNZEL4qD2 slwg== Received: by 10.182.113.101 with SMTP id ix5mr24289995obb.73.1358185265065; Mon, 14 Jan 2013 09:41:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.173.105 with HTTP; Mon, 14 Jan 2013 09:40:45 -0800 (PST) In-Reply-To: References: <50D04BFB.6040309@citrix.com> <50D04FB9.7090301@citrix.com> <50EBA578.1090106@citrix.com> From: David Nalley Date: Mon, 14 Jan 2013 12:40:45 -0500 Message-ID: Subject: Re: [Discuss] SNMP Alerts support in CloudStack To: cloudstack-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkkWozvFJZp61pQNqiP8+49pJwv3wEQ8DON+YUyUiKESymV3Q85vHL7lRAViJKjheNMEt8c X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jan 14, 2013 at 11:57 AM, Chip Childers wrote: > On Mon, Jan 7, 2013 at 11:50 PM, Anshul Gangwar > wrote: >> On 08/01/13 07:27, David Nalley wrote: >> >> >> I'll be happy to figure out how this gets done. - Actually some quick >> googling shows that the ASF already has an enterprise OID - and one of >> our mentors has documented that here: >> https://cwiki.apache.org/DIRxPMGT/oid-assignment-scheme.html >> I will follow up with Alex and see if we can get an assignment. >> >> >> >> >> Anshul: >> >> Sorry for the lag. I was able to ping Alex Karasulu and he quickly >> assigned Apache CloudStack: >> 1.3.6.1.4.1.18060.15 >> >> You can see this documented at: >> https://cwiki.apache.org/confluence/display/DIRxPMGT/OID+Assignment+Scheme >> >> Have you any thoughts regarding the layout of the MIB yet? I'd like to >> make sure we plan for the future and things that go beyond simple >> traps. >> >> Thanks David >> >> I have mentioned the initial layout of MIB on FS https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+for+Integrating+CS+alerts+via+SNMP+to+external+management+system. It will contain 27 different traps and each trap will contain >> >> 1. message >> 2. podId >> 3. dataCenterId >> 4. clusterId >> >> --Anshul >> >> >> >> --David >> >> > > Anshul, > > Taking a look at your OID layout, I'd suggest making sure that we AT > LEAST have room in the scheme for being able to add polling. Also, > the names should be more specific. "memory" isn't a good name for > what is really availableMemory. > > Example to improve the structure a little bit (but not spending a ton > of time thinking about this): > > 1.3.6.1.4.1.18060.15 = [cs_root] > [cs_root].1 = traps > [cs_root].1.1 = availableMemory > > This leaves room within the cs_root for future expansion. > > -chip What are you planning on doing when clusterid and podid are not relevant? You have alerts when an SSVM unexpectedly powers off - is that for every shutdown or only when the last one occurs? Same thing for domR, if you are running virtual redundant router, do you alert when one or all go down? In an advanced network, I am not sure that telling me the 'message, zone, pod, cluster is useful information. Why not account? Also - have you considered making a subset of this available to end-users - while it may be out of scope for your current work please design with that in mind. E.g. traps being sent when folks hit resource limits, VMs fail, etc. --David