Our unix team has recently had a problem with local filesystems getting mounted as R/O. The only solution they have at this time is to reboot the node. They know what the problem is and are implementing a solution.
They have asked me for alerts when a filesystem is mounted R/O.
I created a custom table poller based on the hrFsAccess mib entries and can alert when a the following conditions exist
This is a node based poller.
The problem is I cannot write an alert based on the custom poller, the node and the volume to generate an informative alert like the following:
"Filesystem xxxx on node nnnn.example.com is mounted R/O"
I also need to qualify the alert condition to exclude some types of filesystems (no nfs, no mem, etc).
Chris, do they have APM? It might be easier to just write a simple Linux script to report and alert on this. Is that an option here?