LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-17-2011, 06:07 AM   #1
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Rep: Reputation: 0
How to generate trap USING SNMPSET


How to generate SNMP TRAP using SNMPSET

i am using in shell script

my objective is if my condition is true than trap will be generate...

i am trying with
snmpset -r 0 -t 1 -v 1 -c public 127.0.0.1 MYTEST-MIB::highCpuUsage.0 i `date +%s`

but its not working its give

Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: MYTEST-MIB::highCpuUsage.0

PLEASE PROVIDE THE SOLUTION
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
generate snmp trap to check High CPU Usage...... dashang.trivedi Linux - Networking 2 03-17-2011 02:51 AM
generate snmp trap dashang.trivedi Linux - Networking 1 03-11-2011 07:10 AM
how to send snmp trap & recieve trap in C program minil Programming 3 07-10-2010 09:22 AM
snmpset not getting a response jiml8 Linux - Server 3 02-19-2009 01:24 AM
How to generate snmp trap using the ucLinux /user/snmpd API jonathan_wu Programming 3 08-27-2008 09:15 AM

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

All times are GMT -5. The time now is 09:31 AM.

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