<< All Posts
How to disable email alert level 2 in OSSEC HIDS

"Received From: srvcob->/var/log/messages
Rule: 1002 fired (level 2) -> "Unknown problem somewhere in the system."

My server are sending a lot of level 2 alert emails.  It’s so boring and in my point of view it’s completely unnecessary. So, how to disable it?

Go to


and then, edit this:

syslogd_rules.xml and comment this line:

  <rule id="1002" level="2">
<!--    <options>alert_by_email</options> -->
    <description>Unknown problem somewhere in the system.</description>

To restart the OSSEC service type:

/var/ossec/bin/ossec-control stop
/var/ossec/bin/ossec-control start

<< All Posts


🇧🇷 🇨🇦
Runs on OpenBSD 🐡