I have looked at the documentation and search online, but cannot find a way to create a rule that would alert me if a hard drive was removed. I have a server that had a hard drive that was not showing up in the OS. I was unaware this was happening and want to create a rule to monitor for this situation. I looked at the tables in the database, but cannot come up with something to test. Any suggestions?
The device OS has to be able to support this first before we can use a alert rule. What device is this?
pastebin the output of
./poller.php -h HOSTNAME -d
./discovery.php -h HOSTNAME -d
It is just a windows 7 machine.
Windows 7 SNMP doesn’t report back drive status.
Is there any thing additional (software) I can run on the device that LibreNMS would be able to pull the info from?
No, that would require somebody volunteering time and code for that.
You wouldn’t be able to alert on it anyway as we can only on data that exists in the DB. If a drive was removed then we wouldn’t have data for it then.
Ideally you’d want raid status monitoring at the hardware level, if the server supports drac or ilo then it might work.
Thanks, both of you for the information.