Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-msg-mib-06.txt
Adrian Farrel <Adrian.Farrel@huawei.com> Fri, 28 August 2009 21:49 UTC
Return-Path: <Adrian.Farrel@huawei.com>
X-Original-To: opsawg@core3.amsl.com
Delivered-To: opsawg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4D9F23A69AC for <opsawg@core3.amsl.com>; Fri, 28 Aug 2009 14:49:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.31
X-Spam-Level:
X-Spam-Status: No, score=-2.31 tagged_above=-999 required=5 tests=[AWL=0.288, BAYES_00=-2.599, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hWE5LbP6T253 for <opsawg@core3.amsl.com>; Fri, 28 Aug 2009 14:49:53 -0700 (PDT)
Received: from lhrga01-in.huawei.com (lhrga01-in.huawei.com [195.33.106.110]) by core3.amsl.com (Postfix) with ESMTP id CA9D23A68CE for <opsawg@ietf.org>; Fri, 28 Aug 2009 14:49:52 -0700 (PDT)
Received: from huawei.com (lhrml01-in [172.18.7.5]) by lhrga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0KP3006OZWNBD7@lhrga01-in.huawei.com> for opsawg@ietf.org; Fri, 28 Aug 2009 22:49:59 +0100 (BST)
Received: from your029b8cecfe (dsl-sp-81-140-15-32.in-addr.broadbandscope.com [81.140.15.32]) by lhrga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0KP3006K9WN8HO@lhrga01-in.huawei.com> for opsawg@ietf.org; Fri, 28 Aug 2009 22:49:59 +0100 (BST)
Date: Fri, 28 Aug 2009 22:49:50 +0100
From: Adrian Farrel <Adrian.Farrel@huawei.com>
To: David Harrington <ietfdbh@comcast.net>, 'Juergen Schoenwaelder' <j.schoenwaelder@jacobs-university.de>, opsawg@ietf.org
Message-id: <C931F40537DD4D819257BBE94B042035@your029b8cecfe>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-Mailer: Microsoft Outlook Express 6.00.2900.5843
Content-type: text/plain; format="flowed"; charset="iso-8859-1"; reply-type="original"
Content-transfer-encoding: 7bit
X-Priority: 3
X-MSMail-priority: Normal
References: <20090828130615.GA22962@elstar.local> <052e01ca27f0$2a0e6060$0600a8c0@china.huawei.com>
X-Mailman-Approved-At: Mon, 31 Aug 2009 01:31:38 -0700
Cc: draft-ietf-opsawg-syslog-msg-mib@tools.ietf.org
Subject: Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-msg-mib-06.txt
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Adrian Farrel <Adrian.Farrel@huawei.com>
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/opsawg>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Aug 2009 21:49:54 -0000
David, Thanks for that input. It almost closes the issue for me. Two minor points: 1. > Do entries ever get removed from this table? Not as I understand it. The index is monotonic increasing and wraps at the maximum value (defined as the lesser of syslogMsgTableMaxSize and 4294967295). > Does rollover just overwrite starting at the beginning of the table? Yes. > Is there ever a case where the newer entries get interlaced with older > entries? Not unless someone screws up. 2. > The SNMP approach has a major guideline: > keep the agent simple; move complexity to the manager. Yes. And this is what swings it for me. I am just left wondering whether an Agent is more loaded by a bulk read of 10,000 entries or maintaining a pointer into the table. Clear up this last point, and I'm done. Cheers, Adrian ----- Original Message ----- From: "David Harrington" <ietfdbh@comcast.net> To: "'Juergen Schoenwaelder'" <j.schoenwaelder@jacobs-university.de>; opsawg@ietf.org Cc: "'Adrian Farrel'" <Adrian.Farrel@huawei.com> Sent: Friday, August 28, 2009 3:59 PM Subject: RE: [OPSAWG] discuss on draft-ietf-opsawg-syslog-msg-mib-06.txt > Hi, > > The SNMP approach has a major guideline: > keep the agent simple; move complexity to the manager. > > I think that different applications will want different orderings, and > that the applications should sort based on their preference rather > than forcing this onto the agent. I do not believe there is > significant operational benefit from knowing insertion order. > > Do entries ever get removed from this table? Does rollover just > overwrite starting at the beginning of the table? Is there ever a case > where the newer entries get interlaced with older entries? > > I am not sure I see the benefits of knowing where the oldest entry is. > I think most uses will want the whole table so they can sort it by > whatever criteria it needs. I can see a few edge cases (like having > oldest=0 might imply no rollover has occurred), but nothing > compelling. In the case of wanting to only get updated rows, I would > think knowing where the most recent entry is might be more useful than > knowing where the oldest entry is, so you know where to stop reading, > even if there has been no rollover. This seems to add complexity to > the agent that might not be needed. The manager can simply look at > each getNext retrieval to see if it already has that entry. But a > scalar is fairly simple to add, so I wouldn't object if it got added. > > dbh > >> -----Original Message----- >> From: opsawg-bounces@ietf.org >> [mailto:opsawg-bounces@ietf.org] On Behalf Of Juergen Schoenwaelder >> Sent: Friday, August 28, 2009 9:06 AM >> To: opsawg@ietf.org >> Cc: Adrian Farrel >> Subject: [OPSAWG] discuss on draft-ietf-opsawg-syslog-msg-mib-06.txt >> >> Hi, >> >> during the IESG review of draft-ietf-opsawg-syslog-msg-mib-06.txt, >> Adrian Farrel raised a DISCUSS concerning the syslogMsgTable that we >> have not managed to clear yet and where we seek input from the WG. >> >> The syslogMsgTable is index by syslogMsgIndex, an unsigned index >> number that is increases when entries are added and which rolls over >> if the index number space has been exceeded. This means that the >> entries in the table are (ignoring roll overs here) in the order > they >> were inserted (which is not necessarily the timestamp order of the >> syslog events). This supports the following "tail -f" use case where > a >> management application initially reads the table, remembers the end > of >> the table and during the next poll starts at the last remembered > index >> position. This is useful to quickly check for additions to the >> table. This approach also works with index roll overs unless the > table >> rolls over multiple times during a polling cycle. >> >> Adrian Farrel asks in his DISCUSS whether there is not also a use > case >> to read the table in index order, that is oldest table entry to most >> recent table entry, according to table insertion order. Right now, >> this only works until the first index rollover occurs since after > the >> first index rollover, top table entries might be more recent than >> bottom table entries. This can be fixed for example by adding an >> additional scalar object reporting the index of the oldest entry in >> the table. >> >> As the editor of the document, I did not feel entitled to make a >> decision on this issue. After talking with Scott Bradner, we believe >> the WG needs to decide whether the ability to quickly find the > oldest >> entry in the table (according to the insertion time) is a feature > the >> MIB module needs to support. An important detail to consider here is >> that the table insertion order is not necessarily syslog timestamp >> order. >> >> /js >> >> PS: Adrian, please correct me if my summary of your DISCUSS is >> incorrect or unclear. >> >> -- >> Juergen Schoenwaelder Jacobs University Bremen gGmbH >> Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany >> Fax: +49 421 200 3103 <http://www.jacobs-university.de/> >> _______________________________________________ >> OPSAWG mailing list >> OPSAWG@ietf.org >> https://www.ietf.org/mailman/listinfo/opsawg >> > >
- [OPSAWG] discuss on draft-ietf-opsawg-syslog-msg-… Juergen Schoenwaelder
- Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-… WashamFan
- Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-… David Harrington
- Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-… Juergen Schoenwaelder
- Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-… David Harrington
- Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-… Juergen Schoenwaelder
- Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-… Adrian Farrel
- Re: [OPSAWG] discuss on draft-ietf-opsawg-syslog-… Adrian Farrel