There isn't a module for that. There would be a module for
that if there was a standard way of checking the health.
But there isn't - for different boxes, different things can
go wrong. Doesn't the box come with monitoring software, that
will display the health?
Inside a NAS, there is a command that I could run to check for harddrive health.
Well, then run that command! Since you don't tell us anything
what kind of box it is, and how it's connected, don't
expect us to tell you how to run that command. Besides,
that's more a systems issue than a Perl issue.
Note however that just the status of the individual disks
doesn't mean much. Withing a RAID system, at least one disk
may fail anyway. Furthermore, SCSI or FC controllers, cables
or FC switches may fail too.
Abigail | [reply] |
does the vendor of your NAS supply a snmp/mib interface with the module? | [reply] |
I would imagine, and in my experience most of the SAN/NAS stuff exsposes SMB for remote monitoring. As it is the defacto standard.
you should look @ the docs or website for the NAS for info on what it exsposes via SNMP.
who manufactures the NAS ?
An intellectual is someone whose mind watches itself. - Albert Camus
| [reply] |
I agree with the SNMP route. Most vendors support it. I've used NET::SNMP to gather statistics from a NetApp and import them into a Big Brother display. It wasn't easy for me, as I'm new to perl, but I learned a lot in the process.May the Schwartz be with you!
Whip me, Beat me, Make me use Y-ModemG. | [reply] [d/l] |