Removing useless info from daily mail

"Markus Hästbacka" midian at ihme.org
Wed Jan 7 07:32:03 UTC 2015


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



More information about the freebsd-questions mailing list