<div><font face="verdana, geneva" class="Apple-style-span"><span style="font-size: small" class="Apple-style-span"><div>I'm trying to turn the messages test red when "NOTICE" is in a syslog message, but not when "Charged or "Backup initiated" is also present in the message.  The config I'm using does ignore the "Backup initiated" messages, but not the "Charged" ones.  Can someone give me some hints on how to can handle this situation?</div><div><br /></div><div>Here is the message I'm trying to ignore:</div><div> "Mar 17 02:05:58 sycamore SUNWscsdMonitor[979]: [ID 218055 daemon.error] [SUNWscsd 0x030B1D0E:0x00000000 Informational] <rctrl0000> Standard General Event, NOTICE: Controller BBU Fully Charged !.[info: 5E-00E6E83FE] (Secondary, Wed Mar 17 06:10:12 2010) {Unique ID#: 09ecee}"</div><div><br /></div><div>In hobbit-clients.cfg I have this:</div><div>  LOG %.* NOTICE COLOR=re
 d
"IGNORE=%(Charged|Backup initiated)"</div><div><br /></div><div>When I run "hobbitd_client --test" to test the config, it shows that message would report as green.</div><div><br /></div><div># hobbitd_client --test</div><div>Hostname (.=end, ?=dump, !=reload) []: sycamore.example.com</div><div>Hosttype []: SunOS</div><div>Test (cpu, mem, disk, proc, log, port): log</div><div>log filename: /var/adm/messages</div><div>To read log data from a file, enter '@FILENAME' at the prompt</div><div>log line: Mar 17 02:05:58 sycamore SUNWscsdMonitor[979]: [ID 218055 daemon.error] [SUNWscsd 0x030B1D0E:0x00000000 Informational] <rctrl0000> Standard General Event, NOTICE: Controller BBU Fully Charged !.[info: 5E-00E6E83FE] (Secondary, Wed Mar 17 06:10:12 2010)     </div><div>log line: </div><div>Log status is green</div><div><br /></div><div><div><div>Hostname (.=end, ?=dump, !=reload) [sycamore.example.com]: </div></div><div>Test (c
 pu,
mem, disk, proc, log, port): log</div><div>log filename: /var/adm/messages</div><div>To read log data from a file, enter '@FILENAME' at the prompt</div><div>log line: Mar 10 22:36:17 sycamore vmtape: [ID 428768 kern.notice] Backup initiated: Compression(none)Encryption(none)</div><div>log line: </div><div>Log status is green</div><div><br /></div><div>Hostname (.=end, ?=dump, !=reload) [sycamore.example.com]: </div></div><div>Test (cpu, mem, disk, proc, log, port): log</div><div>log filename: /var/adm/messages</div><div>To read log data from a file, enter '@FILENAME' at the prompt</div><div>log line: NOTICE: testing notice</div><div>log line: </div><div>Log status is red</div><div><br /></div><div>&red NOTICE: testing notice</div><div><br /></div><div><br /></div><div>Thanks,</div><div><br /></div><div>Jason</div><div><br /></div></span></font></div> <br><hr><img src="http://www.bigstring.com/refer.php?img=68" width="1" height="1"><a
href='http://www.peoplestring.com/refer.php?ref=68'>Start making money with PeopleString!</a>