Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-233

Add sensors for monitoring array drive and controller failures

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None
    • None

    Description

      This implements a new agent hdarray that will detect if you have installed the array configuration utilities and then push the results back as a sensor. Supports Dell perc 6/i, LSI and adaptec controllers.

      Attachments

        1. hdarray
          3 kB
        2. overview.PNG
          overview.PNG
          6 kB
        3. status-130521.patch
          10 kB

        Issue Links

          Activity

            [OBS-233] Add sensors for monitoring array drive and controller failures

            Changed to status and updated to head

            dmckeehan Daniel McKeehan added a comment - Changed to status and updated to head

            I think "health" should be just "status". Boolean would sound too clinical, and health is confusing, as it's used elsewhere.

            Cisco has a lot of boolean sensors too. I will need to put those here.

            adama Adam Armstrong added a comment - I think "health" should be just "status". Boolean would sound too clinical, and health is confusing, as it's used elsewhere. Cisco has a lot of boolean sensors too. I will need to put those here.

            I am really looking forward to this feature. "Double the thanks, and double the kudos"

            strefli3 Paul Strefling added a comment - I am really looking forward to this feature. "Double the thanks, and double the kudos"

            For right now I was thinking of creating multiple states but as I wrote it I found that part useless. I didn't see a non graphing object. Be nice to make a nagios cacti replacement. Check mk made it so easy I couldn't resist.

            dmckeehan Daniel McKeehan added a comment - For right now I was thinking of creating multiple states but as I wrote it I found that part useless. I didn't see a non graphing object. Be nice to make a nagios cacti replacement. Check mk made it so easy I couldn't resist.

            What do these 'sensors' return? Just boolean?

            adama Adam Armstrong added a comment - What do these 'sensors' return? Just boolean?

            I originally thought it could be a landing place for all sorts of sensors without having to build more infrastructure for it but if you prefer I can just make it more unique.

            dmckeehan Daniel McKeehan added a comment - I originally thought it could be a landing place for all sorts of sensors without having to build more infrastructure for it but if you prefer I can just make it more unique.

            Why did you chose "health" as the sensor type? It's quite confusing :>

            adama Adam Armstrong added a comment - Why did you chose "health" as the sensor type? It's quite confusing :>
            dmckeehan Daniel McKeehan added a comment - - edited

            Docs:
            Sensors/HD Array
             
            Description
            Provides a way to report back current array status as sensors.  Uses a bash script and connects to the installed array utilties.
             
            Instructions 
            You must have one of these applications installed.
            Dell Open Manage: /opt/dell/srvadmin/bin/omreport
            LSI: /opt/MegaRAID/MegaCli/MegaCli64
            Adaptec: /usr/StorMan/arcconf
             
            Copy the hdarray script from the scripts/agent-local directory to the server and place under check_mk local/ folder.
             
            The sensors will automatically be added and you can view them in the overview, under the health menu (System Health) and under settings sensors.
             
             
            Note for the LSI controller you must disable to STDIO redirect in the check_mk_agent script
            In file: /usr/bin/check_mk_agent
            Comment out these lines:
            #if [ "$1" = -d ]
            #then
            #    set -xv
            #else
            #    exec <&- 2>/dev/null
            #fi
            
            

            dmckeehan Daniel McKeehan added a comment - - edited Docs: Sensors/HD Array   Description Provides a way to report back current array status as sensors. Uses a bash script and connects to the installed array utilties.   Instructions You must have one of these applications installed. Dell Open Manage: /opt/dell/srvadmin/bin/omreport LSI: /opt/MegaRAID/MegaCli/MegaCli64 Adaptec: /usr/StorMan/arcconf   Copy the hdarray script from the scripts/agent-local directory to the server and place under check_mk local/ folder.   The sensors will automatically be added and you can view them in the overview, under the health menu (System Health) and under settings sensors.     Note for the LSI controller you must disable to STDIO redirect in the check_mk_agent script In file: /usr/bin/check_mk_agent Comment out these lines: #if [ "$1" = -d ] #then # set -xv #else # exec <&- 2>/dev/null #fi

            Also in html/images/icons/
            Copy sensors.png to hdarray.png and health.png

            dmckeehan Daniel McKeehan added a comment - Also in html/images/icons/ Copy sensors.png to hdarray.png and health.png

            People

              sid3windr Tom Laermans
              dmckeehan Daniel McKeehan
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: