[Xymon] raid check at xymon mdadm based

Enzo Arroyo enzo at arroyof.com
Wed May 10 09:30:10 CEST 2017


Hello guys,

Just a question, i was using xymon v. 4.3.5 as server with clients v. 
4.3.5 too, in this time for monitoring the raid devices some with 
adaptec controller and mdadm (software raid) ever I created my own 
scripts to check the devices, now I update the server to v. 4.3.28 
because need to check certificates by SNI, my problem appear here, now 
my raid check work as well by i reach to see in the case of mdadm check 
is replace by other that not show the result begin my own script, by 
example:

My own script result:
==========================================>
Personalities : [raid1]
md4 : active raid1 sda4[0] sdb4[1]
       2902359040 blocks super 1.2 [2/2] [UU]
       bitmap: 5/22 pages [20KB], 65536KB chunk

md5 : active raid1 sdd1[1] sdc1[0]
       976629760 blocks super 1.2 [2/2] [UU]
       bitmap: 0/8 pages [0KB], 65536KB chunk

md1 : active raid1 sdb1[2] sda1[0]
       511936 blocks super 1.0 [2/2] [UU]

md3 : active raid1 sda3[0] sdb3[1]
       10477568 blocks super 1.1 [2/2] [UU]
       bitmap: 1/1 pages [4KB], 65536KB chunk

md2 : active raid1 sda2[0] sdb2[2]
       16760832 blocks super 1.1 [2/2] [UU]

All is okay
==========================================>


The phantom result result:
==========================================>
  Wed May 10 09:19:14 CEST 2017 - RAID OK


green md4 : 2 devices of 2 active
green md5 : 2 devices of 2 active
green md1 : 2 devices of 2 active
green md3 : 2 devices of 2 active
green md2 : 2 devices of 2 active


============================ /proc/mdstat ===========================

Personalities : [raid1]
md4 : active raid1 sda4[0] sdb4[1]
       2902359040 blocks super 1.2 [2/2] [UU]
       bitmap: 5/22 pages [20KB], 65536KB chunk

md5 : active raid1 sdd1[1] sdc1[0]
       976629760 blocks super 1.2 [2/2] [UU]
       bitmap: 0/8 pages [0KB], 65536KB chunk

md1 : active raid1 sdb1[2] sda1[0]
       511936 blocks super 1.0 [2/2] [UU]

md3 : active raid1 sda3[0] sdb3[1]
       10477568 blocks super 1.1 [2/2] [UU]
       bitmap: 1/1 pages [4KB], 65536KB chunk

md2 : active raid1 sda2[0] sdb2[2]
       16760832 blocks super 1.1 [2/2] [UU]

unused devices:

==========================================>

Is possible that in this xymon server version include a script from the 
to check raid mdadm based?, thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170510/a03b7c3f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3302 bytes
Desc: Firma criptográfica S/MIME
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170510/a03b7c3f/attachment.bin>


More information about the Xymon mailing list