I have a few linux server that i am tyring to setup some alerts for. There is one main Linux server that is connected to a fibre channel SAN that is mounted on the box. these drives are then shared via NFS to the other servers.
Recently we had a few problems where there were some file system errors and the drives changed to read only.
My question is how I can monitor and create an alert if this were to happen again? I am using Opmanager to monitor my network devices and servers, and have configured it to monitor some processes on the Linux serversm, but I cant seem to get it to monitor the status of the mounts.
How can this be accomplished? Do I need to setup a log server or can this be scripted?