My company develops a product that gets monitoring information from XtremIO. I've been asked by our QA department to trigger a Major and Critical event on the XtremIO. I could pull a power cable or yank a hard drive, but obviously I do not want to do this.
Does anyone know of anything less invasive I could do to trigger both types of events?
One way I can think of is --
Run the show-alert-definitions command. NB Keep a copy of this as changes are being made.
Choose an invasive alert (of your choice) and edit it to be a 'critical' or 'major' alert, as opposed to a 'minor' alert, by running the modify-alert-definitions command.
Possibly I suggest adding/removing/modifying an initiator might be a good option for you?
initiator_add_pending Initiator Add Pending enabled auto_clear minor 2400102 yes No 90 tech
initiator_modify_pending Initiator Modify Pending enabled auto_clear minor 2400103 yes No 90 tech
initiator_remove_pending Initiator Remove Pending enabled auto_clear minor 2400104 yes
xmcli (tech)> modify-alert-definition
Description: Modifies alert definition properties for a specified alert type.
Usage: modify-alert-definition property=value list
PROPERTY |MANDATORY |DESCRIPTION |VALUE
================= |================ |================= |====================================================
activity-mode |One from Group 1 |Activity Mode |'disabled', 'enabled'
alert-type |Yes |Alert Type |Alert Type
clearance-mode |One from Group 1 |Clearance Mode |'auto_clear', 'ack_required'
send-to-call-home |One from Group 1 |Send to Call Home |Send SYR notification upon raise
severity |One from Group 1 |Severity |'information', 'clear', 'critical', 'major', 'minor'
threshold |One from Group 1 |Threshold value |range 0-100
Note: When your testing is complete be sure to revert the alert(s) back to their original definition.
I finally got a chance to try your idea. I went in and set the alerts for adding and removing initiators as 'major' and 'critical'. I see this now when I check alert definitions.
initiator_add_pending Initiator Add Pending enabled auto_clear major 2400102 yes Yes N/A tech
initiator_modify_pending Initiator Modify Pending enabled auto_clear minor 2400103 yes No N/A tech
initiator_remove_pending Initiator Remove Pending enabled auto_clear critical 2400104 yes Yes N/A tech
I went to review the events and I see the add and removal as an "Information" alert. I've tried this both through the GUI and the command line.
Is there something else I need to do? Or maybe I'm doing the wrong thing?