On Tue, Feb 22, 2005 at 11:17:59AM +0100, LIMA David wrote:
> You are right Craig, the table was too large to feet in my mail so I cut it 
> off, I have attached my sql export to this mail.

I checked your match with the pcretest and it returns the right values:
re> /^(administrator)\[error\]\s*(\S+)\s*(\S.*)/
data> administrator[error] 1104 Fan sensor detected a failure value Sensor 
location: Front System Fan Chassis location: Main System Chassis Previous state 
was: Unknown Fan sensor value (in RPM): 0
 0: administrator[error] 1104 Fan sensor detected a failure value Sensor 
location: Front System Fan Chassis location: Main System Chassis Previous state 
was: Unknown Fan sensor value (in RPM): 0
 1: administrator
 2: 1104
 3: Fan sensor detected a failure value Sensor location: Front System Fan 
Chassis location: Main System Chassis Previous state was: Unknown Fan sensor 
value (in RPM): 0

> The message appears as "UNKNOWN" in JFFNMS events screen.  I don't understand 
> why because it has to be matched by the "Windows error" which is in position 
> 10 (after my new event which is in position 1)
Check the events table to find the entry and check the type field,
perhaps with
select type,info from events order by id desc limit 5;

That will tell you what the info is.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.enc.com.au/   MIEE         Debian developer
csmall at : enc.com.au                      ieee.org           debian.org


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to