/etc/prelude-lml/ruleset/apc-emu.rules is in prelude-lml-rules 4.1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | #FULLNAME: APC EMU
#VERSION: 1.0
#DESCRIPTION: The APC Environmental Monitoring Unit is a rack-mountable product that monitors and controls the essential functions needed to ensure the availability of the racks in a room. The rules included here were developed using an unknown version of the APC EMU.
#####
#
# 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; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
#####
#DESCRIPTION:Environmental Monitoring - high humidity violation
#CATEGORY:Environmental
#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
#DESCRIPTION:Environmental Monitoring - high humidity violation cleared
#CATEGORY:Environmental
#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
#DESCRIPTION:Environmental Monitoring - Device Contact Opened
#CATEGORY:Environmental
#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
#DESCRIPTION:Environmental Monitoring - Device Contact Closed
#CATEGORY:Environmental
#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?
|