Maintain Rule Sets for Displaying and Sending Alerts

Previous  Top  Next

This function allows you to customize events that will trigger or suppress alerts. Every time data is returned by polling devices, it is filtered through the rule sets. If the rule sets allow the error to pass, then the message is forwarded to reporting logic. Messages can go to a screen pop-up, the E-MAIL engine, or both. A copy of the message will always be recorded in the HISTORY.TXT file provided you did not define a rule which suppresses reporting of that message.
maintainalertrulesets
Rules are evaluated in the order that they are shown on the display with the one at the top being evaluated first.

Device Settings
The Adapter, ID, and LUN fields correspond to the SCSI disk drive that will be polled. The Sense Key, Sense Code, and Sense Qualifier correspond to the Sense Data that is returned by the poll. If all fields are zero, which indicates no error or warning, then pages will never be generated, regardless of the rule sets. Comments are not reported in alerts, but are there to describe the rule set only.

If the device is an IDE device, then place the IDE acronym in the Adapter field. The rule will correspond to all of your IDE disk devices.

Usage
Each column may have data in one of the following formats:
Scalar value
: A single number i.e, 5
Range
: A range of numbers i.e., 2-5. The "-" is required, and no spaces are allowed before or after the "-". Both fields must be numeric, and neither can be the wild card "*".
Wild card
: * All values accepted.
Action
: Select up to three message actions. E sends the message to the E-Mail engine, S suppresses it (no reporting and no log file entry will be recorded), and P displays a pop-up message. W traps for warning conditions within an enclosure (see Enclosure Services), and C traps critical conditions for an enclosure. Note: SMARTMon will display a maximum of 5 pop-up messages. After the fifth message, no more will be displayed.

Modifying Fields
To modify a field, select it with the mouse, then left-click. Make changes and press the RETURN key.

Add Rules
Click the Add Rule button, and an empty row will appear. Add information as required.

Delete Rules Fields
Clicking the Delete Rule button will remove the rule set selected by the cursor.

Cancel
Clicking this button exits the window, and all changes you have made will be discarded.

OK
Clicking this button writes these rule sets to disk, and commits them. Next time an alert is detected, S.M.A.R.T. Disk Monitor will pass it to the new rule set.

Examples

·* * * 1 5d * Let SMART Predictive failure warnings to create alarm  
·* * * * * * This lets all alerts and warnings go through.  
·1 * * 1 * * Generate alert if any disk on controller #0 goes off line.  
·1 2-3 * 7 * * Let me know if I get a write protect error on (tape) devices at ID 2 a ID3, on controller #1.  
·3 * 4 3 11 b Report unrecovered read errors on device at controller #3, at ID #4.  

Notes:
1.The key/code/qualifier columns are going to be device-specific. Check the Mode Sense Tables by Drive function to see which messages are appropriate for your drives.  
2.By default, all messages are passed through because there is only one rule set entry (all *).  
3. SES Devices will ignore the sense information, but you must have a rule set with an action E, S, and/or P, associated with a C or W to generate an alert.