<div dir="ltr">Hello, I have a strange rule matching issue.  <br><br>I have a rule in my hobbit-alert file which looks like this:<br><br><i>HOST=* SERVICE=*<br>        MAIL $test COLOR=red REPEAT=10</i><br><br>The rule **SHOULD** only send when the disk (or any other service) reaches red color.  I have disk defined in my hobbit-clients.cfg as:<br>
<br><i>DISK * 90 95<br></i><br>I have a server that currently has a filesystem filled to 91%.  The server name is 'stflnx1d'.  I am getting the following emails:<br><br><i>yellow Wed Sep  3 08:52:24 EDT 2008 - Filesystems NOT ok<br>

&yellow /var (91% used) has reached the WARNING level (90%)</i><br><br>I ran the bin/hobbitd_alert and got the following:<br><br><i>00011596 2008-09-03 09:24:20 Matching host:service:page 'stflnx1d:disk:AIXDev' against rule line 138<br>
00011596 2008-09-03 09:24:20 *** Match with 'MAIL $test COLOR=red REPEAT=10' ***<br>00011596 2008-09-03 09:24:20 Mail alert with command '/var/spool/mail/mrhobbit "Hobbit [12345] stflnx1d:disk CRITICAL (RED)" <a href="mailto:chris@xxxxx.com">chris@xxxxx.com</a>'</i><br>
<br><br>As you can see it matches the rule as RED even though I an the warning state of yellow for the disk on the server.  It also sends me the email with Yellow status.  It doesn't match any other rule.    I tried setting the COLOR=yellow in the rule and it didn't match.  Can anybody tell me why Hobbit thinks this is RED when it is really Yellow????<br>
<br>Thank You, <br>-cs<br><br><br>
</div>