Hi all, I want to create a trigger to notify me when my filesystem goes read-only.
Basically I want to execute this command “grep "\srxo[\s,]" /proc/mounts” and if in the result I have more than one line I want to be notified by email.
How can I add this implementation?
Thank you
Basically I want to execute this command “grep "\srxo[\s,]" /proc/mounts” and if in the result I have more than one line I want to be notified by email.
How can I add this implementation?
Thank you