Basically you just want to receive alerts of priority 1 snort events and
not from the others, right? To do that, you will need two new local
rules:
<rule id="100015″ level="8″>
<if_sid>20100, 20101</if_sid>
<decoded_as>snort</decoded_as>
<match>[Priority: 1]</match>
<description>Priority 1 snort events.</description>
</rule>
<rule id="100016″ level="4″>
<if_sid>20100, 20101</if_sid>
<decoded_as>snort</decoded_as>
<description>Other snort events.</description>
</rule>
Note that the first one has the severity of 8, which will generate
e-mail alerts. It will also only be called if an event is decoded
as snort ... The second one will fire if it is not a priority 1.
The following blog entry can be of help too:
http://www.ossec.net/dcid/?p=23
Hope it helps,
--
Daniel B. Cid
dcid ( at ) ossec.net