From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9797 invoked by alias); 7 Jun 2005 14:19:25 -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 9631 invoked by uid 22791); 7 Jun 2005 14:19:20 -0000 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 07 Jun 2005 14:19:20 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Dfev1-0002hQ-00 from Khurram_Ali@mentor.com ; Tue, 07 Jun 2005 07:19:03 -0700 Received: from SVR-ALH-EXC-02.mgc.mentorg.com ([134.86.109.198]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Jun 2005 07:19:03 -0700 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Tue, 07 Jun 2005 14:19:00 -0000 Message-ID: <32A0F6EE19ECF646A9CF370C3AB15EBE0163D875@SVR-ALH-EXC-02.mgc.mentorg.com> From: "Ali, Khurram" To: "Yuriy Coureelo" , Subject: RE: Re[2]: [ECOS] snmpTrapOID X-SW-Source: 2005-06/txt/msg00053.txt.bz2 I have not really worked with the SNMP implementation that comes with eCos. But yes, the value in snmpTrapOID is also an OID of the trap being sent. Khurram -----Original Message----- From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Yuriy Coureelo Sent: Monday, June 06, 2005 10:17 PM To: ecos-discuss@sources.redhat.com Subject: Re[2]: [ECOS] snmpTrapOID 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 >From 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 --=20 Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss