LinuxQuestions.org
Review your favorite Linux distribution.
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-08-2005, 09:44 AM   #1
jackpal
Member
 
Registered: Oct 2003
Location: Florida USA
Distribution: Fedora, RHEL
Posts: 57

Rep: Reputation: 15
snmp traps to syslog


I am implementing monitoring on our RHEL 3 boxes and Solaris 9 boxes. I've read and heard that there is a way to have any local snmp traps sent to the local syslog. How can this be done ?

I am already running a syslog server on the network and it would be convienent to just have everything (syslogs and traps) sent via syslog if possible.

Jack
 
Old 03-09-2005, 08:03 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
If I understand your post correctly, you have a couple of options:

1) If you have applications capable of sending snmptraps (vs. syslog), then enable snmptrapd on your syslog server. Snmptrapd can be configured to log received snmp traps via syslog. See the -L option.

2) If you are simply wanting to have all remote syslog daemons log to a centralized syslog server. Then add the following to each remote syslog.conf:
*.* @192.168.1.3

Obviously, the syslog server running at 192.168.1.3 needs to have the -r option enabled. See: man syslogd
 
Old 08-30-2005, 04:43 AM   #3
ctl
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
does anyone know a way to get SOL 9 remote syslog to log on a redhat syslog?

i can get the remote syslog between RH boxes, but not SOL -> RH.

thanks,
c
 
  


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
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 03:58 AM
How to configure ucd-snmp and net-snmp? Tazzmanian Linux - Networking 1 05-27-2005 09:09 AM
NET-SNMP vs UCD-SNMP nitind Red Hat 1 05-20-2005 07:08 AM
Traps with Perl and fifo's BBQ_Matt Programming 0 07-05-2004 02:29 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM

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

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