LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2009, 08:27 PM   #1
Noodles25
LQ Newbie
 
Registered: Apr 2007
Posts: 18

Rep: Reputation: 0
SNMP logging in syslog


I'm seeing a lot of messages like this in /var/log/messages:

Mar 4 21:25:48 db1 snmpd[31684]: Connection from UDP: [127.0.0.1]:45788
Mar 4 21:25:48 db1 snmpd[31684]: Received SNMP packet(s) from UDP: [127.0.0.1]:45788

Seems to happen every 20 seconds or so. I'm not sure why this is happening, is there a way to turn off the SNMP to stop it from trying to connect to localhost every few seconds or disable the logging?

Thanks
 
Old 03-05-2009, 05:49 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
Something is polling SNMP at a ludicrous interval. I don't know why/what is polling, maybe for gathering statistics, so shutting down the SNMP daemon may affect that. If it's logging you're concerned about your `man snmpd` shows you how to redirect logging to its own logfile (log facility) or not log anything at all (-l /dev/null IIRC).
 
  


Reply

Tags
snmp, syslogd


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
syslog-ng -> syslog-ng logging, how to troubleshoot sir-lancealot Linux - Server 1 01-24-2009 06:07 AM
LXer: OpenLDAP Quick Tips: Using syslog or syslog-ng with slapd for OpenLDAP logging LXer Syndicated Linux News 0 11-14-2008 08:41 PM
syslog-ng is not logging coreno Linux - Software 4 09-08-2007 01:13 PM
Logging/syslog s0n|k Linux - Newbie 2 03-13-2006 07:36 PM
snmp traps to syslog jackpal Linux - Networking 2 08-30-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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