Specifications
5
Managing Alarms and Events
90
Configuration file structure and contents
The/etc/shmgralarm.conffileusesthisstructureforitscontents:
FRUidentification
Sensoridentification,state‐to‐severityassignment,state‐to‐severityassignment
Sensoridentification,state‐to‐severityassignment
FRUidentification
Sensoridentification,state‐to‐severityassignment
Sensoridentification,state‐to‐severityassignment
Sensoridentification,state‐to‐severityassignment,state‐to‐severityassignment
Example severity configuration
Theconfigurationsyntaxisdefinedandexemplifiedinthedefaultconfigurationfile.Table 12
showsanexampleofinformationcollectedforaFRUandtwoofitssensors.The
correspondingconfigurationfilecontentsareshownbelowthetable.
Exampleconfigurationfi lecontents:
fru=SCM,0x010F1,0x0B98,5.86,0x00
sensor=0x7, 0002:1 #‐48VFuseFault
sensor=0x16,0001:3,0002:1#PIMAlarm
Rules for configuration file contents
•TheFRUmustbeassignedauser‐definedFRUname(“SCM”intheexampleabove).For
readability,itisrecommendedthatyouassignanameassociatedwiththeFRU’sactual
name;however,youcanuseanythingaslongasthenameisuniquewithinthefile.
•ThesensorindexmustbeuniquewithinthesectionfortheFRU.Therefore,multiple
severityassignmentsforthesamesensormustappearinthesameentry.(Seethe
multipleassignmentsforsensor0x16intheexampleabove.)
•Anyhexnumbermustbeprecededby“0x”.
•Blanklinesareignored.
•Apound(#)signindicatesacommentthatcontinuestotheendoftheline.
•Thecomma(,)andcolon(:)charactersarereservedforuseinseparatingfieldsas
shownabove.Theymustnotbeusedinuser‐definedFRUnames.
Table 12. Example FRU and sensor information
FRU information Sensor information
Manufacturer ID 0x010F1 Sensor index 0x7 0x16
Product ID 0x0B98 Event state 0002 0001 0002
Firmware revision 5.86 Severity to assign 1 3 1
Site type 0x00