> Hi Wes , > > Thank you very much for your response. > > I have gone throgh agent/agent_trap.c file. > > I am using send_v2_trap ( ) to send notifications from subagents .I want to > send the following objects as varbinds with a notification. > > AlarmTableEntry ::= SEQUENCE { > > alarmId > alarmObjectType > alarmEventTime > alarmEventType > alarmSeverity > alarmSlogan > } > > So, I have written a MIB to contain the above objects. > > I want to send a notification when an newalarm is raised and the alarm to be > added to the activeAlarmTable. > But I am not able to understand how to add the alarms to the > activeAlarmTable > . > > > In function send_v2trap () just before calling send_trap_vars ( ) function , > I > want to add one more new > function which adds the alarms to activeAlarmTable .I have generated skelton > code for alarmTable > using mib2c.notify.c . But I do know whether it is correct or not as I am > very new to SNMP. > > If any one can suggest any other method it will be very helpful for me. > > Thanks in Advance, > Best Regards, > Pichi > > > --- Wes Hardaker <[EMAIL PROTECTED]> wrote: > > > >>>>> On Fri, 25 Nov 2005 09:26:33 -0800 (PST), Pichi Reddy > > <[EMAIL PROTECTED]> said: > > > > Pichi> I am using Net-SNMP 5.1.2 for SNMP agent and subagents. > > Pichi> I need to provide support for alarmTable for all the notifications > > SNMP > > Pichi> agent sends on behalf of our subagents to trap destinations. > > > > see agent/agent_trap.c > > > > -- > > Wes Hardaker > > Sparta, Inc. > > > > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com >
__________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ 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