Re: [CCAMP] I-D Action: draft-ietf-ccamp-alarm-module-01 / purging alarms

stefan vallin <stefan@wallan.se> Thu, 01 November 2018 18:52 UTC

Return-Path: <stefan@wallan.se>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19CF71293FB for <ccamp@ietfa.amsl.com>; Thu, 1 Nov 2018 11:52:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=wallan-se.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O_3TL6TRQrm5 for <ccamp@ietfa.amsl.com>; Thu, 1 Nov 2018 11:52:53 -0700 (PDT)
Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6601128A6E for <ccamp@ietf.org>; Thu, 1 Nov 2018 11:52:52 -0700 (PDT)
Received: by mail-lj1-x230.google.com with SMTP id c4-v6so18997836lja.4 for <ccamp@ietf.org>; Thu, 01 Nov 2018 11:52:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wallan-se.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=34XG0q7e+71LNygJ25lOc6xzIFKEcF/1WcdhMdYRLvk=; b=1k5X098AThmStpzbL/K7VqXUEzaFLv1pViuC+Hl4Yjts2T67jEueYnGqM5tmHCGSPM L9Saj8ddOhw7ovX7X8pcns7zuX4BBXLiIicJj+NGCFoZOnJigVx1kc+drwDBF5SIXHfY XtleBgrfD5qUSoastRFntVumfLyy0CkoWNUrwqoGie5RcORyyQSvvcGOPcGvB2NVZ6M/ fX68JYKM4kR8bzMc4i62IEUa1rVP9mMtEMWQdciH/9TwtpSpz7V2aUmMcu/PpsT6YOYn WogZ/DrpbZinoFu6AJlntZDGchQ4OXpb/sqqSLPOadWKe5WHYQHvK/v7Cxb+SrOL0+n3 q1/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=34XG0q7e+71LNygJ25lOc6xzIFKEcF/1WcdhMdYRLvk=; b=CwjWswLul6Dr6tHd3zEQefXHuogAAApJ/h7tMggRcYy4w0ZnHEMLp5qapaP0MnSXB1 UUJ1/ns2abzorryIffqTsvsHZzDYZ6mwRFGoUPWTrHGaTTHqYTH0ex0mPLLOxXbReEeX gvCwVZb31XdU1psgVLknOREiAXt6HypeRvuHLcYj2rwK+BPU/Rf9geNebxSmuL2TcIvS rhWl8RAXtCA3F+jmkIqG1E82Fun+1/szbmJKc62si47jYkOgjWrWeXgmYqOGSAvqMPN+ qU3o7YXZOkvhRpkeSQ1n9v3E+QG6VPMGmkZof3zzAv7b9mMXMvlJWVImuOclveVruSub HX0w==
X-Gm-Message-State: AGRZ1gIojThxWL0MldECZ8e9q/uu+9ei2GwlQFHrolwi22sp25jWgXiu /D/sBL2m6WFZonr1k0gRhBJjWjtjiz8=
X-Google-Smtp-Source: AJdET5cBZZJfGRPtZ6PM3OYbR4U1BM+6KYYb4k+PQmerB+QPUGF+0JrZq+7CXUI4YSqHObPJgGgGiQ==
X-Received: by 2002:a2e:82c9:: with SMTP id n9-v6mr5395625ljh.137.1541098370802; Thu, 01 Nov 2018 11:52:50 -0700 (PDT)
Received: from [192.168.72.98] ([95.155.237.105]) by smtp.gmail.com with ESMTPSA id u65sm2696966lff.54.2018.11.01.11.52.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 11:52:49 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-C4391A2E-9D96-4EC7-A8CA-ADC12CA2EC65"
Mime-Version: 1.0 (1.0)
From: stefan vallin <stefan@wallan.se>
X-Mailer: iPad Mail (15D60)
In-Reply-To: <BD6D193629F47C479266C0985F16AAC7011EA322C0@ex-mb3.corp.adtran.com>
Date: Thu, 01 Nov 2018 19:52:49 +0100
Cc: "CCAMP (ccamp@ietf.org)" <ccamp@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <79377C0F-8F4E-4F7E-B79A-C3F3615B8C7C@wallan.se>
References: <BD6D193629F47C479266C0985F16AAC7F06E09B2@ex-mb1.corp.adtran.com> <CBBAA9B4-8F31-479B-9616-F67FB6AB6D85@wallan.se> <BD6D193629F47C479266C0985F16AAC7011EA322C0@ex-mb3.corp.adtran.com>
To: NICK HANCOCK <nick.hancock@adtran.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/Mw6zRif_gtcVTDI-6O91UE7EtBY>
Subject: Re: [CCAMP] I-D Action: draft-ietf-ccamp-alarm-module-01 / purging alarms
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Nov 2018 18:52:57 -0000

Thanks!
We will clarify
Br Stefan

> 1 nov. 2018 kl. 16:55 skrev NICK HANCOCK <nick.hancock@adtran.com>:
> 
> Hi Stefan,
>  
> I would like to briefly come back to a topic that we discussed by in May: purging alarms.
>  
> Specifically to the subsequent behaviour of the system when a client purges active alarms from the alarm list (or shelved alarm list).
> You clarified this situation with your reply
> “If the instrumentation state of the alarm changes at a later point a new alarm entry, (same keys of course), would appear.”
>  
> However, I do not see any reference to this expected behaviour when describing purging alarms in either the Internet draft or the YANG module itself.
> I believe it is important to describe the expected behaviour explicitly for interoperability reasons, otherwise vendors may implement differing behaviours in their systems with this regard.
>  
> What is your opinion?
>  
> Best regards
> Nick
>  
> From: stefan vallin [mailto:stefan@wallan.se] 
> Sent: Wednesday, May 02, 2018 4:30 PM
> To: NICK HANCOCK
> Cc: CCAMP (ccamp@ietf.org)
> Subject: Re: [CCAMP] I-D Action: draft-ietf-ccamp-alarm-module-01 / purging alarms
>  
> Hi Nick!
> Thanks for your comments, really important feedback.
> See inline:
>  
> I am trying to understand the expected behavior of the ‘purge-alarms’ RPC, specifically when the client requests alarms that are active to be purged from the alarm list.
>  
> If you delete an alarm that is active for a resource, does the alarm immediately reappear for that resource after the RPC has executed, assuming that the undesirable state in that resource still exists and the instrumentation still detects it? This would be my expectation.
>  
> I would expect not, the client should know what it is doing, this is an administrative action and it is a matter of defining the right filters.
> Really annoying if I deliberately delete an alarm and it pops up.
> If the instrumentation state of the alarm changes at a later point a new alarm entry, (same keys of course), would appear.
> Furthermore, as you mention, alarms without a clear would not work in your proposal.
>  
> On the other hand your question made me think of another mechanism which would address your issue and also the case of "mid level managers" in SNMP lingo.
> Say you have an NMS with an alarm list for a large set of devices. You might want to be able to “synchronise” the alarm list in the NMS versus the devices. Or just the instrumentation in the same device for that matter. We could think of having an action/RPC “synchronise-alarms”. In your case it would update the alarm list versus the instrumentation state, in the NMS case it would reach out to the devices and make sure the alarm list represents what is out there.
>  
> Opinions from the Nick and the list?
>  
> 
> 
>  
> The description statement of ‘purge-alarms’ explicitly says that the RPC can typically be used to delete alarms that are in a closed operator state. In the Internet-draft you also write “Closed alarms are good candidates for being deleted.”
> But a closed alarm may still be active from the resource life-cycle point of view and thus should IMHO immediately reappear, i.e., a new entry in the list be created. However, if this were the case the list ‘operator-state-change’ would be initially empty, with the effect that a previously alarm closed by the operator would no longer be in the operator state closed. This may, however, not necessarily be undesirable.
>  
> In the case of an active alarm that also lacks a corresponding clear, i.e., has-clear = 'false', if the instrumentation is no longer able to detect the undesirable state that previously existed, then such an alarm would indeed be removed from the alarm list and would not reappear.
>  
> In the YANG descriptions and in the Internet-draft only the alarm list is discussed with respect to purging. What about the shelved-alarm list? There may, for example, be cleared alarms in that list that could also be purged, without necessarily having to first un-shelve those alarms.
>  
> Good catch, need to update the draft to support administrative actions on the shelved alarms as well!
>  
> br Stefan
>  
> 
> 
>  
> Could you clarify?
>  
> Best regards
> Nick
> This message has been classified General Business by NICK HANCOCK on Monday, 23 April 2018 at 11:36:08.
>  
> From: CCAMP [mailto:ccamp-bounces@ietf.org] On Behalf Of stefan vallin
> Sent: Thursday, February 08, 2018 1:42 PM
> To: CCAMP (ccamp@ietf.org)
> Subject: Re: [CCAMP] I-D Action: draft-ietf-ccamp-alarm-module-01.txt
>  
> Hi All!
> We have now posted a new version of the draft. Updates based on comments from Balazs, Joey and Nick.
>  
> The major changes are:
> 1) Changed typedef operator-state into
> - writeable-operator-state (not including includes shelved and un-shelved)
>    can be set by an operator
> - operator-state that can be read (includes shelved and un-shelved)
>  
> 2) Added a leaf to the alarms in the shelf that states the name of the shelf.
>  
> 3) Shelf criteria resource changed from leaf to leaf-list 
>  
> 4) Shelf criteria alarm type qualifier changed to regexp
>  
> 5) Added text: "A server SHOULD describe how long it retains cleared/closed alarms: until manually purged or if it has an automatic removal policy.
>  
> 6) Clarified that shelving/unshelving is done by shelf configuration and cannot be performed on individual alarms.
>  
> 7) Clarified presedence order of resource naming ( 1 YANG instance identifier, 2 SNMP OID, 3 string )
>  
> 8) Clarified that the alarm summary numbers do not include shelved alarms
>  
> 9) Added a typedef resource-match which is a flexible way to identify resources.
> Used in shelf criteria and alarm inventory
>  
> 10) Clarified that an empty shelf indicates "shelf all”.
>  
> 11) Added security considerations
>  
> 12) Added reviewers to ack
>  
> There are still some outstanding items on the mailing list (from Nick and Joey).
> But we felt it was time to publish the changes from some earlier discussions, see below.
> Please let us know if we forgot something. I will top-post including these issues, summarising the discussions.
> - severity filtering/shelving, needs further discussion
> - temporal ordering, needs further discussion
> - tagging of alarm types in alarm inventory, needs further discussion
> - notifications for changed shelves, will add this in a later version
> - probable cause description field, will add this in a later version
>  
> /stefan & martin
>  
>   
> Stefan Vallin
> stefan@wallan.se
> +46705233262
>  
> On 08 Feb 2018, at 12:33, internet-drafts@ietf.org wrote:
>  
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Common Control and Measurement Plane WG of the IETF.
> 
>        Title           : YANG Alarm Module
>        Authors         : Stefan Vallin
>                          Martin Bjorklund
>             Filename        : draft-ietf-ccamp-alarm-module-01.txt
>             Pages           : 62
>             Date            : 2018-02-08
> 
> Abstract:
>   This document defines a YANG module for alarm management.  It
>   includes functions for alarm list management, alarm shelving and
>   notifications to inform management systems.  There are also RPCs to
>   manage the operator state of an alarm and administrative alarm
>   procedures.  The module carefully maps to relevant alarm standards.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-ccamp-alarm-module/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-ccamp-alarm-module-01
> https://datatracker.ietf.org/doc/html/draft-ietf-ccamp-alarm-module-01
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-ccamp-alarm-module-01
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> CCAMP mailing list
> CCAMP@ietf.org
> https://www.ietf.org/mailman/listinfo/ccamp
>