Bluehost.com Web Hosting $6.95

Sending trap from source code

This is a discussion on Sending trap from source code within the SNMP Users forums, part of the Networking and Network Related category; --===============1976673284== Content-Type: multipart/alternative; boundary="----=_Part_17384_836879.1205917142855" ------=_Part_17384_836879.1205917142855 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-19-2008
Pranesh Kulkarni
 
Posts: n/a
Default Sending trap from source code

--===============1976673284==
Content-Type: multipart/alternative;
boundary="----=_Part_17384_836879.1205917142855"

------=_Part_17384_836879.1205917142855
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,
I have the sample MIB , with four tables and three types of trap.

I am able to do snmpget, snmpwalk operation using Agentx Support.

My next task is to send the traps from the agent. I have generated the
source code using

mib2c -c mib2c.notify.conf
the two file generated .c and .h

After modifying the .c file, where should I integrate so that I can send
the trap ?


Thanks,
Pranesh

------=_Part_17384_836879.1205917142855
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br>Hi All,<br>&nbsp;&nbsp;&nbsp; I have the sample MIB , with four tables and three types of trap.<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; I am able to do snmpget, snmpwalk operation using Agentx Support.<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; My next task is to send the traps from the agent. I have generated the source code using<br>
&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; mib2c&nbsp; -c mib2c.notify.conf <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the two file generated .c and .h <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; After modifying the .c file, where should I integrate so that I can send the trap ?&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp; <br><br>Thanks,<br>Pranesh<br>

------=_Part_17384_836879.1205917142855--


--===============1976673284==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1976673284==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============1976673284==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0