Enhancement #2490

Dashboard: show raid status

Added by Giacomo Sanchietti over 7 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.5-beta3
Resolution: NEEDINFO:No

Description

It would be nice to have a widget showing raid status.
Possible information:
  • md type (1, 5, etc)
  • disks/partitions involved in each md
  • number of spares
  • number of failed disks
  • general status: ok, failed or syncing

Here a simple perl implementation of /proc/mdstat parser:
http://www.logix.cz/michal/devel/nagios/nagios-linux-swraid.pl


Related issues

Related to NethServer 6 - Enhancement #1671: Dashboard: new widgets CLOSED

Associated revisions

Revision b4ce2778
Added by Davide Principi over 7 years ago

Use root@fqdn for X509 certificate email field. Refs #2490

The admin key in config DB will be moved to accounts DB.

Revision 353d66ae
Added by Giacomo Sanchietti over 7 years ago

Dashboard: add raid status widget. Refs #2490

Revision a1bdc51b
Added by Giacomo Sanchietti over 7 years ago

Dashboard: change raid labels. Refs #2490

Revision 685eb0aa
Added by Davide Principi over 7 years ago

Obsolete command. Refs #2490

History

#1 Updated by Davide Principi over 7 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

Giacomo Sanchietti wrote:

Here a simple perl implementation of /proc/mdstat parser:
http://www.logix.cz/michal/devel/nagios/nagios-linux-swraid.pl

We can adapt it to print out data in JSON format!

#2 Updated by Davide Principi over 7 years ago

I've found the /sbin/e-smith/mdevent perl script in nethserver-base. Who knows about it?

#3 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#4 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • nethserver-base-1.5.0-15.0git092ea5f9.ns6.noarch.rpm

Test case
Check RAID status widget on dashboard is consistent with /proc/mdstat content.

#6 Updated by Davide Principi over 7 years ago

  • Assignee set to Davide Principi

#7 Updated by Davide Principi over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

#8 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in nethserver/6.5/base repository.

Also available in: Atom PDF