LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SNMP logging in syslog (https://www.linuxquestions.org/questions/linux-software-2/snmp-logging-in-syslog-709244/)

Noodles25 03-04-2009 08:27 PM

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

unSpawn 03-05-2009 05:49 PM

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).


All times are GMT -5. The time now is 11:08 PM.