09-28-2011 06:13 AM
Lets say that if filesystem /abc doesn't pose a severe risk to my environment if it becomes unmounted but if all other filesystems become unmounted I need to be alerted with a critical event. What I would like to do is set the filesystem /abc at a minor severity level if it becomes unmounted while all other filesystems remain at a critical level if they become unmounted.
The UNIX OSSPI-Mount policy informs me if any filesystem becomes unmounted. How can I exclude only my minor /abc filessystem from the OSSPI-Mount policy and assign it a minor severity level?. How can that be accomplished?
Solved! Go to Solution.
09-28-2011 06:29 AM
a) changing the regexp in the instance filter condition from the default 'mountability: <*.MP>' to whatever is required to exclude
b) copying the filter and creating a special condition for mountpoints that require lower severity
The problem with this setup is that you cannot filter on nodes if you need to. This would require updating the script to send not just 'mountability: <mountpoint>' as object but something like 'mountability: <node> : <mountpoint>' so you can do filtering on node in the regexp too
09-28-2011 06:51 AM - edited 09-28-2011 06:52 AM
So how would that condition be scripted for mountpoints with a lower severity?
09-30-2011 12:22 AM