From: "chinmay bhat" <[EMAIL PROTECTED]>
To: net-snmp-users@lists.sourceforge.net
Subject: Re: TRAP Newbies
Date: Fri, 10 Jun 2005 15:05:52 +0530
From: Robert Story <[EMAIL PROTECTED]>
Reply-To: net-snmp-users@lists.sourceforge.net
To: "chinmay bhat" <[EMAIL PROTECTED]>
CC: net-snmp-users@lists.sourceforge.net
Subject: Re: TRAP Newbies
Date: Thu, 9 Jun 2005 18:17:42 -0400
On Thu, 09 Jun 2005 17:17:08 +0530 chinmay wrote:
CB> >Have you tried using mib2c with mib2c.notify.conf?
CB>
CB> If i compile it using the mib2c.notify.conf then only one mibnode.h
file is
CB> generated. What happnened to mibnode.c file?
CB> is anything wrong or is it correct and i am doing something wrong?
Hmm... you ran mib2c on the top level node in the mib, right? What
release are
you using?
one of my trap is
ApplicationNotFoundNotification TRAP-TYPE
ENTERPRISE commonEventGrp
VARIABLES
{
NodeId, //All these are deifned..
ConfigEventId,
ConfigEventType,
currentTime,
ConfigEventTrendIndication,
EvtAdditionalText
}
DESCRIPTION "The application not found trap is sent by the agent
when it is detected that the application is not
present at the startup"
::= 3
Is this not currect?when i compile the mib with mib2c.scalar.conf gives
both .c and .h files..
the netsnmp version i am using is,
NET-SNMP version: 5.0.6
Linux pclin84 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux
Regards
Chin
Well, the obvious thing that springs out from that
is that this MIB is defined using SMIv1.
All of the testing of mib2c.notify.conf was done
using SMIv2 MIBs, and NOTIFICATION-TYPE definitions.
Is there any reason why you're still using SMIv1?
It was replaced by SMIv2 over six years ago!
Dave
No, no real reason to use v1, but still assuming that , i use the same v1
mib, what should be the next step.How do i compile the mib file(I mean the
which config file?)
Can i use mib2c.scalar.conf?
Reagards
Chin
It might be a syntax problem with the mib. Have you run smilint on the
mib?
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
_________________________________________________________________
Adore Arshad Warsi? http://server1.msn.co.in/sp05/iifa/ Think he is the
funniest?
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy. Play to
win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
_________________________________________________________________
Millions of marriage proposals.
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Find your match on
BharatMatrimony.com
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users