LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-11-2011, 06:00 AM   #1
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Rep: Reputation: 0
generate snmp trap


if i want to generate SNMP trap which will display the information like ip address,sysinformation,hostname OR in particular time period it will automatically generate TRAP...


i have done like

snmptrap -v 1 -c public 172.17.17.117 TRAP-TEST-MIB::demotraps localhost 6 17 '' RFC1213-MIB::sysName.0 s "Dashang"


it will send trap to 172.17.17.117 and the VALUE is DASHANG.....
if i want to send the the sysName than....

please help me ....how snmp is working.....
 
Old 03-11-2011, 07:10 AM   #2
rafatmb
LQ Newbie
 
Registered: Feb 2011
Posts: 27

Rep: Reputation: 3
I suggest that you that a look at:

http://www.net-snmp.org/wiki/index.php/TUT:snmptrap

[]'s

Rafa
Linux, Linux and Linux! Suporte Linux
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
snmp trap lamou23 Linux - Networking 4 08-03-2010 04:04 PM
how to send snmp trap & recieve trap in C program minil Programming 3 07-10-2010 09:22 AM
How to generate snmp trap using the ucLinux /user/snmpd API jonathan_wu Programming 3 08-27-2008 09:15 AM
Snmp Trap shan_nathan Linux - Server 2 09-01-2007 05:49 AM
snmp-trap tied2 Linux - Security 7 07-19-2002 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration