Page 1 of 1

Monitor Hard Disk or RAM Failure

Posted: Fri Aug 18, 2017 6:22 am
by sarfarosh
Hi Team,
How to monitor HDD and RAM Failure for Windows and Linux.
I have had gone through smartctl & hdsentinel but it seems like that only works in linux environment. Can we monitor HDD & RAM failure on Ubuntu and Windows.

Re: Monitor Hard Disk or RAM Failure

Posted: Fri Aug 18, 2017 9:30 am
by bolson
Hello sarfarosh,

There is a multitude of plugins available for NagiosXI to monitor memory and hard drive usage. A few of these are included in the NagiosXI installation. NagiosXI can also monitor SMART attributes of your hard drive(s) Please see this document:

https://www.nagios.com/solutions/smart-monitoring/

And visit the Nagios exchange and browse the available plugins for NagiosXI

https://exchange.nagios.org/

Thank you!

Re: Monitor Hard Disk or RAM Failure

Posted: Tue Aug 22, 2017 2:58 am
by sarfarosh
Hi bolson,
I have tried with the below mentioned plugin, but unfortunately i am getting the CRITICAL for everything. Please correct me if i am doing something wrong here.

https://www.nagios.com/solutions/smart-monitoring/

[root@nagios-xi libexec]# ./check_smart.py --device=/dev/sda2
CRITICAL: device does not pass health status
[root@nagios-xi libexec]# ./check_smart.py --device=/dev/sda3
CRITICAL: device does not pass health status
[root@nagios-xi libexec]# ./check_smart.py --device=/dev/sda3 -w 80 -c 90
CRITICAL: device does not pass health status

Re: Monitor Hard Disk or RAM Failure

Posted: Tue Aug 22, 2017 11:16 am
by bolson
Please try running the command against a device rather than a partition. ie:

Code: Select all

./check_smart.py --device=/dev/sda
And post the result.

Thank you!