hi,
System info: windows xp and netsnmp-5.5
i would like to configure snmptrapd to receive traps from localhost itself.

Kindly find the attachment files
snmp.conf
snmpd.conf
snmptrap.conf

icopied the files UCD-NOTIFICATION-TEST-MIB , TRAP-TEST-MIB into 
c:\usr\share\snmp\mibs

i copied trap config information from tutorials (snmptrapd).

the following two commands are showing nothing to me

c:\usr\bin\snmptrap -v 2c -c public host "" 
UCD-NOTIFICATION-TEST-MIB::demoNotif \
       SNMPv2-MIB::sysLocation.0 s "Just here"

c:\usr\bin\snmptrap -v 1 -c public localhost TRAP-TEST-MIB::demotraps localhost 
2 0 "" \
       IF-MIB::ifIndex i 1

Kinldy tell me how to configure snmptrapd to receive traps?
and would you provide information on how to write traphandlers in c?



Thnks
ganesh y





http://www.bel-india.com    Visit BEL Website

Confidentiality Notice

The information contained in this electronic message and any 
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain confidential or privileged 
information. If you are not the intended recipient, please notify
the sender at Bharat Electronics  or supp...@bel.co.in immediately
and destroy all copies of this message and any attachments.

Attachment: snmp.conf
Description: Binary data

Attachment: snmpd.conf
Description: Binary data

Attachment: snmptrapd.conf
Description: Binary data

Attachment: handle.pl
Description: Perl program

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
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

Reply via email to