LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-13-2006, 11:34 AM   #1
irving_wp
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
net-SNMP on RHEL AS 3.0


Hi folks!

I have a problem with net-SNMP in my Linux machine. My kernel version is 2.4.21. I've installed net-SNMP 5.1.3 and used snmptrapd to catch the traps sent to me. I've written the following line in my snmptrapd.conf:

traphandle default /usr/test

The test program just says "Hello World" and ends. It was compiled using gcc. When a trap comes to my machine I should see my test program running but it does not work.
Previously I have done the same thing on a windows server (with a net-snmp version suitable for windows, of course) and it works perfectly. Now I have to do it on Linux and, surprisingly for me (given that net-snmp is mainly for Linux), it does not work.
Could somebody help?

Thanks in advance
 
Old 04-14-2006, 02:21 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Haven't played with this at all but just did "man snmpd.conf" on my RH AS 3.0 box and saw no mention of "traphandle" there. It sounds as if this is a configuration option for your Windows box but not on RH AS 3.0. Perhaps a read of this man page will lead you to what you're trying to do.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 08:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 06:08 AM
Net SNMP WiWa Linux - Software 3 03-19-2004 10:41 PM
Net-SNMP and MRTG Astro Linux - Networking 5 07-25-2003 03:24 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:13 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