Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2015 09:31:52 +0200
From:      =?iso-8859-1?Q?=22Markus_H=E4stbacka=22?= <midian@ihme.org>
To:        freebsd-questions@freebsd.org
Subject:   Removing useless info from daily mail
Message-ID:  <5625d1cbdd8c77f70fb6515efdb5e587.squirrel@posti.ihme.org>

next in thread | raw e-mail | index | archive | help
Hello,

I've been trying to reduce the incoming mail from my servers daily run.

I've managed to configure periodic.conf in a way that when there's nothing
wrong in the logs I get no mail.

On 3 servers I still get mail with the following output:
"hostname kernel log messages:
+++ /tmp/security.r9GEufla        2015-01-06 03:01:08.000000000 +0200
+arp: unknown hardware address format (0x0800) (from 00:00:00:00:00:00 to
00:00:95:9a:78:99)
...
...
-- End of security output --"

There seems to be some brokenly configured hardware on our network which I
can do nothing about. Now I'm trying to find a way to not get this mail.

I edited /etc/periodic/security/700.kernelmsg to egrep the lines I don't
want to have in my daily mail. But still I get the following:

"hostname kernel log messages:
+++ /tmp/security.rOXj53hS        2015-01-07 03:05:42.000000000 +0200

-- End of security output --"

Is there a way to not get this message to dmesg (blocking it with ipfw or
something?), or not to get the mail with only /tmp/security line?

Thanks in advance,
Markus




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5625d1cbdd8c77f70fb6515efdb5e587.squirrel>