Monitor Hard Disk or RAM Failure

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Monitor Hard Disk or RAM Failure

Post 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.
bolson

Re: Monitor Hard Disk or RAM Failure

Post 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!
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: Monitor Hard Disk or RAM Failure

Post 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
bolson

Re: Monitor Hard Disk or RAM Failure

Post 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!
Locked