FastVPSEestiOu / storage-system-monitoring

Toolkit for checking health of different storage systems: linux software raids, hardware raids (Adaptec, LSI) and dmesg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gentoo support

stitrace opened this issue · comments

Please add gentoo support to this script.

Hello!

If you need only linux smart and soft raid monitoring, you can install script manually and it will work correctly. But you need install all script dependency manually: smartmontools perl-Crypt-SSLeay perl-libwww-perl perl-JSON

Installing without install script:

wget wget --no-check-certificate https://raw.githubusercontent.com/FastVPSEestiOu/storage-system-monitoring/master/storage_system_fastvps_monitoring.pl  -O /usr/local/bin/storage_system_fastvps_monitoring.pl
perl /usr/local/bin/storage_system_fastvps_monitoring.pl --detect

If you need any details, you could reopen this issue. Thank you for using Fast Monitoring!

Thank u!

emerge -atv dev-perl/JSON
emerge -atv dev-perl/libwww-perl
wget wget --no-check-certificate https://raw.githubusercontent.com/FastVPSEestiOu/storage-system-monitoring/master/storage_system_fastvps_monitoring.pl -O /usr/local/bin/storage_system_fastvps_monitoring.pl

/usr/bin/perl /usr/local/bin/storage_system_fastvps_monitoring.pl --detect
Device /dev/md1 with type: raid model: md in state: clean detected
Device /dev/md2 with type: raid model: md in state: clean detected
Device /dev/md3 with type: raid model: md in state: clean detected
Device /dev/sda with type: hard_disk model: ata st2000nm0033-9zm detected
Device /dev/sdb with type: hard_disk model: ata st2000nm0033-9zm detected

uname -a
Linux srv4 3.12.13-gentoo #1 SMP Fri Mar 21 12:05:56 MSK 2014 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux

Thank you so much! I added short Gentoo guide to main guide: 5517335