Stop snmpd spamming messages in centos 7

SNMPD spamming /var/log/messages is a pet hate of mine. It causes so much rubbish to be sat in the logs. I had a hard time looking for how to do this on centos 7. I eventually managed to work it so im adding it here as i wasnt able to find the relevant resource online.

 

Stopping SNMPD spamming /var/log/messages


CD into the relevant directory

[root@home-server ~]# cd /etc/systemd/system/multi-user.target.wants

Open the config

[root@home-server multi-user.target.wants]# vi snmpd.service

Change the Environment variable as so:

Environment=OPTIONS="-LS0-5d"

Close vi

Restart the service

[root@home-server multi-user.target.wants]# systemctl restart snmpd.service

Say good bye to all these messages!

Apr 19 03:25:41 home-server snmpd[980]: Connection from UDP: [192.168.*.*]:39604->[192.168.*.*]:161

Using FreeIPA to authenticate OpenVPN users on pfSense

I have been fiddling with multiple different authentication methods to centralise the authentication across all my devices and services. ...… Continue reading

Zen Internet, IPv6 and pfsense

Published on February 19, 2017

Basic Telegraf, InfluxDB and Grafana setup

Published on January 26, 2017