jaws_scripts.client.set_class
Set alarm registration class.
Note: bulk imports with --file expect alarm class records formatted in
AVRO JSON Encoding
See Example file.
set_class
set_class [OPTIONS] NAME
Options
- --file
Imports a file of key=value pairs (one per line) where the key is alarm name and value is JSON encoded AVRO formatted per the alarm-classes-value schema
- --unset
Remove the class
- --category <category>
The alarm category (Options queried on-demand from alarm-categories topic)
- Options
- --priority <priority>
The alarm priority
- Options
P1_CRITICAL | P2_MAJOR | P3_MINOR | P4_INCIDENTAL
- --filterable, --not-filterable
True if alarm can be filtered out of view
- --latching, --not-latching
Indicate that the alarm latches and requires acknowledgement to clear
- --pointofcontactusername <pointofcontactusername>
The point of contact user name
- --rationale <rationale>
The alarm rationale
- --correctiveaction <correctiveaction>
The corrective action
- --ondelayseconds <ondelayseconds>
Number of on delay seconds
- --offdelayseconds <offdelayseconds>
Number of off delay seconds
Arguments
- NAME
Required argument