Pages: [1]   Go Down
Author Topic: RAID 1 - How to monitor it?  (Read 561 times)
0 Members and 2 Guests are viewing this topic.
nydiow
Full Member
***

Karma: 0
Offline Offline

Posts: 36


View Profile
« on: February 21, 2011, 04:00:30 PM »

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!
Logged

aitor
Sr. Member
****

Karma: 2
Offline Offline

Posts: 129


View Profile
« Reply #1 on: February 22, 2011, 11:52:02 AM »

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

Logged

nydiow
Full Member
***

Karma: 0
Offline Offline

Posts: 36


View Profile
« Reply #2 on: February 24, 2011, 03:12:27 PM »

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!
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST