NetXMS Support Forum

English Support => General Support => Topic started by: tivanni on May 07, 2014, 12:52:50 PM

Title: Monitor RAID & use agent's parameter "PhisycalDisk.SmartStatus"
Post by: tivanni on May 07, 2014, 12:52:50 PM
Hi to all!

I'd like to check the status of a disk, used individually or in raid.

I see that there is a agent parameter called PhisycalDisk.SmartStatus but i don't understand how to use it. I see that netxms agent is able to retrieve data only if i pass to the function the 0 argument (PhisycalDisk.SmartStatus(0) ), also in the case in wich the server have 2 or more disk(if i pass 1 or 2 to the function, no value is returned).

Can someone please explain me how can i use this parameter?Thank you!

Another thing i see is that if a check the status of the disk with the netxms agent's parameter on a perfectly working disk, the value returned from the agent is 0; but if i check the status of a raid5 array with 1 disk damaged, the  status returned in anyway 0! Which value means that the disk is damaged?


Thank you!
Title: Re: Monitor RAID & use agent's parameter "PhisycalDisk.SmartStatus"
Post by: Victor Kirhenshtein on May 07, 2014, 01:30:39 PM
Hi!

PhysicalDisk parameters are deprecated and may not work. They most likely will not work with RAID controllers. I think you should try to wrap call to smartmontools into external parameter(s) to monitor disks behind RAID controller.

Best regards,
Victor