syslog configuration

William Muriithi william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Mar 10 20:10:28 UTC 2009


Hi there,

I am stuck with a syslog related problem and just want to throw it out here
hoping someone may be in a position to see what I could be overlooking.
Initially, it looked so trivial I assumed it will take less than 20 minutes,
but have ended up being a little problematic than I thought.

I want to send snmpd logs to a separate file. Its too noisy and is almost
making the /var/log/message unusable.

Below is what I have tried:

Edited the syslog.conf and did the following changes;

Added  "snmpd.none" on the 7th line in syslog.conf file :
*.info;mail.none;authpriv.none;cron.none;snmpd.none
/var/log/messages

Then added this line at the end of the file

local1.*                                                -/var/log/snmpd.log

Then restarted syslog. It came up, but complained it has no idea what snmpd
meant. And nothing changed, snmp keep pushing crap on the message file.

I have also attempted to replace the previous line with the line below
;
snmpd.*                                                -/var/log/snmpd.log

No luck. I have also looked through the snmp manual and it found nothing
helpful there.

Have anyone here played a bit with syslog?

Thanks in advance.

Regards,

William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20090310/16539a0a/attachment.html>


More information about the Legacy mailing list