Operating System - Linux
1751957 Members
5294 Online
108783 Solutions
New Discussion юеВ

Re: Monitoring DL120G5 Sata Raid Harddisks

 
wobbe
Respected Contributor

Monitoring DL120G5 Sata Raid Harddisks

Hi,

I have this DL120G5 running RHEL 5.1. It has an onboard Sata Raid controller that I use to create a raid one set of two disks. I installed the HP drivers and the HP Storage Manager but the Storage manager doesn't see the Sata controller and I supect that it just doesn't support this kind of controller.
But I really would like to know the status of my harddisks and preferably get an email when things go wrong. How do I realize such a sollution?

Kind regards

WB
7 REPLIES 7
Goran┬аKoruga
Honored Contributor

Re: Monitoring DL120G5 Sata Raid Harddisks

Hello.

If you want S.M.A.R.T. monitoring then use smartmontools.

Regards,
Goran
wobbe
Respected Contributor

Re: Monitoring DL120G5 Sata Raid Harddisks

I installed the smartmon tools.
And looking at the smartd.conf file I see that an email will be sent to root if something is wrong.
Is there some way I can test if this is working?
wobbe
Respected Contributor

Re: Monitoring DL120G5 Sata Raid Harddisks

I've configured smartd.conf to sent a test mail but it will only work if I run smartd on my console it won't sent a mail when it runs at the background. Any though on that?
Goran┬аKoruga
Honored Contributor

Re: Monitoring DL120G5 Sata Raid Harddisks

Hi.

How did you specify reporting in the config file?

By default it only sends mail once for each problem type. You can alter this using "-M type" option.

Regards,
Goran
wobbe
Respected Contributor

Re: Monitoring DL120G5 Sata Raid Harddisks

Below is my config.

/dev/sda -d ata -H -m root -M test -M exec /bin/mail

I get a mail when I run: smartd -d
But I dont get a mail when I restart the service: /etc/init.d/smartd restart
wobbe
Respected Contributor

Re: Monitoring DL120G5 Sata Raid Harddisks

Mmmm, looks like smartd.conf is overwritten everytime you restart the service??? Stange??
wobbe
Respected Contributor

Re: Monitoring DL120G5 Sata Raid Harddisks

Case of RTFM.
You need to remove the first line of the smartd.conf