Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > da2a89686a81980bc1060d2b1d9fea2f > files > 5

prelude-lml-1.0.1-1.x86_64.rpm

#####
#
# Copyright (C) 2003 G Ramon Gomez <gene at gomezbrothers dot com>
# Tyco Fire and Security GTS (www.tycofireandsecurity.com)
# All Rights Reserved
#
# This file is part of the Prelude-LML program.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#
#####

#####
#
# The rules included here were developed using an unknown version of the
# APC EMU.  Please report any inconsistencies on other versions to G 
# Ramon Gomez at the address provided above
#
#####

#LOG:Mar 28 04:22:18 enviro1 12.34.56.78 EMU: Probe 2 'Loc Env Probe 2' high  humidity violation, '40%RH'. 0x101C
regex=EMU: Probe (\d+) (\'.+\') high  humidity violation, \'(\d+%); \
 classification.text=High Environmental Humidity; \
 id=2800; \
 revision=2; \
 analyzer(0).name=Environmental Monitoring Unit; \
 analyzer(0).manufacturer=APC; \
 analyzer(0).class=Power; \
 assessment.impact.severity=high; \
 assessment.impact.completion=succeeded; \
 assessment.impact.type=other; \
 assessment.impact.description=Environmental probe $2 has reported a high humidity: $3; \
 additional_data(0).type=integer; \
 additional_data(0).meaning=Probe; \
 additional_data(0).data=$1; \
 additional_data(1).type=string; \
 additional_data(1).meaning=Probe name; \
 additional_data(1).data=$2; \
 additional_data(2).type=string; \
 additional_data(2).meaning=Humidity; \
 additional_data(2).data=$3; \
 last

#LOG:Mar 28 04:06:27 enviro1 12.34.56.78 EMU: Probe 2 'Loc Env Probe 2' high  humidity violation cleared, '39%RH'. 0x101D
regex=EMU: Probe (\d+) (\'.+\') high  humidity violation cleared, \'(\d+%); \
 classification.text=Environmental Humidity Normal; \
 id=2801; \
 revision=2; \
 analyzer(0).name=Environmental Monitoring Unit; \
 analyzer(0).manufacturer=APC; \
 analyzer(0).class=Power; \
 assessment.impact.severity=low; \
 assessment.impact.completion=succeeded; \
 assessment.impact.type=other; \
 assessment.impact.description=Environmental probe $2 has reported humidity has returned to normal: $3; \
 additional_data(0).type=integer; \
 additional_data(0).meaning=Probe; \
 additional_data(0).data=$1; \
 additional_data(1).type=string; \
 additional_data(1).meaning=Probe name; \
 additional_data(1).data=$2; \
 additional_data(2).type=string; \
 additional_data(2).meaning=Humidity; \
 additional_data(2).data=$3; \
 last

#LOG:Mar 22 16:27:50 enviro1 12.34.56.78 EMU: Input Contact 4 'Rack 4 Front Door' opened, abnormal condition. 0x1013
regex=EMU: Input Contact (\d+) (\'.+\') opened, abnormal condition; \
 classification.text=Device Contact Opened; \
 id=2802; \
 revision=2; \
 analyzer(0).name=Environmental Monitoring Unit; \
 analyzer(0).manufacturer=APC; \
 analyzer(0).class=Power; \
 assessment.impact.severity=high; \
 assessment.impact.completion=succeeded; \
 assessment.impact.type=other; \
 assessment.impact.description=Contact $2 has reported an open condition; \
 additional_data(0).type=integer; \
 additional_data(0).meaning=Contact; \
 additional_data(0).data=$1; \
 additional_data(1).type=string; \
 additional_data(1).meaning=Contact name; \
 additional_data(1).data=$2; \
 last

#LOG:Mar 22 16:28:51 enviro1 10.100.17.252 EMU: Input Contact 4 'Rack 4 Front Door' closed, abnormal condition cleared. 0x1014
regex=EMU: Input Contact (\d+) (\'.+\') closed, abnormal condition cleared; \
 classification.text=Device Contact Closed; \
 id=2803; \
 revision=2; \
 analyzer(0).name=Environmental Monitoring Unit; \
 analyzer(0).manufacturer=APC; \
 analyzer(0).class=Power; \
 assessment.impact.severity=low; \
 assessment.impact.completion=succeeded; \
 assessment.impact.type=other; \
 assessment.impact.description=Contact $2 has reported a closed condition; \
 additional_data(0).type=integer; \
 additional_data(0).meaning=Contact; \
 additional_data(0).data=$1; \
 additional_data(1).type=string; \
 additional_data(1).meaning=Contact name; \
 additional_data(1).data=$2; \
 last

# Still needed:
# * Low humidity?
# * Low/High temperature?