From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32254 invoked by alias); 7 Jun 2005 02:16:39 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 31722 invoked by uid 22791); 7 Jun 2005 02:16:36 -0000 Received: from micran.ru (HELO micran.ru) (217.29.80.82) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 07 Jun 2005 02:16:36 +0000 Received: from localhost (localhost [127.0.0.1]) by micran.ru (Postfix) with ESMTP id 36FD53CD068 for ; Tue, 7 Jun 2005 09:16:34 +0700 (NOVST) Received: from micran.ru ([127.0.0.1]) by localhost (micran.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10313-02 for ; Tue, 7 Jun 2005 09:16:34 +0700 (NOVST) Received: from Viola.home (Viola.home [192.168.1.157]) by micran.ru (Postfix) with ESMTP id 284733A0468 for ; Tue, 7 Jun 2005 09:16:34 +0700 (NOVST) Date: Tue, 07 Jun 2005 02:16:00 -0000 From: Yuriy Coureelo Reply-To: Yuriy Coureelo Message-ID: <484232556.20050607091633@micran.ru> To: ecos-discuss@sources.redhat.com In-Reply-To: <32A0F6EE19ECF646A9CF370C3AB15EBE0163D751@SVR-ALH-EXC-02.mgc.mentorg.com> References: <32A0F6EE19ECF646A9CF370C3AB15EBE0163D751@SVR-ALH-EXC-02.mgc.mentorg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re[2]: [ECOS] snmpTrapOID X-SW-Source: 2005-06/txt/msg00046.txt.bz2 Dear Sir! >> snmp v2 trap consists of: >> sysUpTime // {1.3.6.1.2.1.1.3.0} >> snmpTrapOID // {1.3.6.1.6.3.1.1.4.1.0} >> varList // optional, I can attach anyone variable or more >> I can understand what is sysUpTime - it is a time, in timeticks, from >> system power up till sending trap. >> But what is snmpTrapOID? I know, it holds some OID, but what is sense >> of the thing? What purpose it serves? > SNMP defines many traps. > The value of an SNMP object with sysUpTime as OID specifies the time > since the last reset for the SNMP node. > Likewise, the value of an SNMP object with snmpTrapOID as OID specifies > the trap that the SNMP message is referring to. > Hope this helps. > Khurram =46rom RFC 1448: The second variable is snmpTrapOID.0, which contains the administratively assigned name of the notification. What does snmpTrapOID->OID should contain? I mean, snmpTrapOID contains OID, which contains something else. Should snmpTrapOID point to some variable OID, which is reason of generating the trap? Sincerely yours Yuriy Coureelo -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss