Processing Ajax...

View Message
Close Dialog

Forward Message
Close Dialog

Separate email addresses with commas or semicolons.

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Check Dell RAID Status

CheckCentral can parse anything you send to it, which means you can monitor more than just backups! With this script, you can send the status of your Dell RAID volumes to CheckCentral daily and get notified if anything is amiss.
This script requires Dell OpenManage to be installed on the server as it uses the omreport.exe CLI tool.
  1. Download the script: dell_omreport_raid_check.zip
  2. In CheckCentral, go to Organization > API.
  3. API Menu
  4. Click "Add Token."
  5. Add Token
  6. Give the token a name, e.g.
    SERVER01 Dell RAID Script
    .
  7. Select "createActivities Only" in the Access Level drop-down and click Save.
  8. Token Details
  9. Copy the token, and paste it in the $apiToken variable on line 11 of the script.
  10. Paste Token Into Script
  11. On line 14 of the script, set the RAID Controller ID. If there's only one in the machine, this will most likely be
    0
    .
  12. Run the script. You'll now see an unmatched activity in CheckCentral.
  13. In CheckCentral, go to Activities.
  14. Activities Menu
  15. Select "Unmatched" from the Matched dropdown selector and then click the "Filter" button.
  16. The results will show below.
    Unmatched Activity
  17. Click the "Create Check" link next to the relevant activity.
  18. Create Check
  19. Leave the Name as is.
  20. Select an existing Check Group or create a new one by clicking "
    Check Group icon
    Add Check Group
    ".
  21. Select an existing Label or create a new one by typing the name in the text field of the dropdown (optional).
  22. Add a description (optional).
  23. The Asset ID is used exclusively with certain ticketing systems and is not required for Checks. Asset ID details and ticketing systems are more fully covered by other documents (e.g. Halo Integration (asset ID).)
  24. Leave the Asset ID blank.
  25. Your Check so far will look something like this:
    Step 1: Identification
    Navigate to the next step in CheckCentral by clicking the "Next" button or the tab name.
  26. Leave "Scheduled" selected as we will be running the script regularly.
  27. Assuming you'll run the script daily, leave the Expected Interval on "1" "Day(s)." If you plan to run the script on another interval, adjust accordingly.
  28. The initial expectation time is set by the first email message that is received and processed by its Check. (For example, if a notification email arrives at noon and its Check is set for every half hour, it will expect another notification email at 12:30.)
  29. Leave the Set as Overdue setting at "After 30 Minutes." If the script notification email is not received after this amount of time has been exceeded, the Check will be marked as a failure.
  30. Leave Custom Schedule de-selected.
    Step 2: Schedule
    The Matching step is what matches a notification email to its specific Check. It's also where you'll set the notification's CheckCentral destination email. For email-based notifications, this email can be used for quick matching. Because this is an API-created activity, other Matching Rules are needed.
    A Matching Rule is created by default with the Subject of the message crafted by the earlier test run of the script. The "Subject" "Is Exactly" dropdowns and the text
    Dell RAID Status:
    are displayed, appended with the Computer Name of the computer running the script.
  31. Leave the "Dell RAID Status" Matching Rule as is. You can delete the other email address Matching Rule by clicking the trashcan icon, but it is not required.
  32. Leave Condense Whitespace and Combine Attachments enabled and the matching modifier set to "All."
  33. Step 3: Matching
    The email address will appear different based on your organization name and the name you specified for your check.
    The previous Matching step identifies the incoming message to the Check. The Status step looks for indicators of what type of notification you're receiving (e.g. The job was successfully run, it failed, or there were some issues.)
  34. Leave the Default Status on "Failure."
  35. The "Success Criteria" section is where you'll set the criteria that will mark an activity as successful.
  36. Click
    Add Success Rule
    .
  37. The output from omreport will show
    "Status : Ok"{#}
    (where # is the number of volumes reported).
  38. Set the rule to "Body Text" "Complex Match" and then type
    "Status : Ok"{#}
    (with quotes included) in the empty text field, replacing the
    #
    with the number of volumes. For omreports with only one volume, use
    "Status : Ok"
    instead (without
    {#}
    ).
  39. The "Warning Criteria" section is where you'll set the criteria that will mark an activity with a warning. Because there is no warning criteria for this Check, we do not add a rule.
  40. Leave the Condense Whitespace and Combine Attachments checkboxes enabled.
  41. Step 4: Status
    Notification Fields
    Notifications are simply how you want to be informed of Check Failures, Warnings, and some other Status changes.
    Email, push, chat and other software can be integrated as well as ticketing systems, allowing for automatic ticket creation and management.
    Further configuration is required for each to function and is done via the Notifications tab in the main menu. They can be configured before or after Check creation.
    For more understanding of Notification setup, see the CheckCentral Beginner's Guide (Notifications).
  42. Select the desired means of Notification. If in doubt of the selections here, leave the defaults.
  43. To confirm the activity now matches the check, click the Test button.
  44. Test
    Under "Recent Messages Now Matched" your previously unmatched activity will be displayed with a green Status indicator (assuming the full number of volumes returned an "OK").
    Test Results
  45. Close the Test window.
  46. Click the "Save Check" button.
For more detail on Check creation and best practices, see our Check Creation Guide.
For other guides and support contact information, see CheckCentral Support
Apr 1, 2022 (modified 5 days ago)  • #1
Was this helpful?  Login to Vote(1)  Login to Vote(-)