Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support RAID 1 – How to monitor it?

  • RAID 1 – How to monitor it?

    Posted by nydiow on February 21, 2011 at 19:00

    Hello guys, its me again!

    We need to monitor with pandora one server with 2 disks in RAID 1 (http://en.wikipedia.org/wiki/Standard_RAID_levels).

    The idea is to know with the both disks are running ok or not (one ok, other fail and vice-versa)

    Is that possibile with Pandora? we’ll use some Linux OS

    Thanks!

    Best regards!

    nydiow replied 14 years ago 2 Members · 2 Replies
  • 2 Replies
  • aitor

    Member
    February 22, 2011 at 14:52
    7 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Which model are the servers? DELL, HP, Fujistu Siemens?

    You can do it using SNMP OIDs.

    HP                                1.3.6.1.4.1.232.3.1.3.0  (this return a number: 2=ok, 3=degradate, 4=failure)

    DELL                              1.3.6.1.4.1.674.10893.1.20.130.4.1.4.1 (3=ok, if is diferent, something is wrong)

    Fujitsu Siemens                1.3.6.1.4.1.231.2.10.2.11.2.1.0 (This OID indicates the Global state, not only RAID disk failure. 1=OK, 2=Degradate,3=Error, 4= Failure)

    You have to install provideer administrative tools (DELL Open Manager, HP insight Manager …) Look for them in the official web page.

    Good luck

  • nydiow

    Member
    February 24, 2011 at 18:12
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I doing by SW Raid1 on Debian 6.0

    My solution!

    # Module for RAID1
    module_begin
    module_name hds_raid1
    module_type generic_data
    module_exec mdadm –detail /dev/md0 | grep “Active Devices” | cut -d: -f2 | sed ‘s/ //’
    module_description Numero de dispositivos em Raid1
    module_end

    I have 2 disks in Raid1, if the value is different of 2 = PROBLEM!