Ad Widget

Collapse

Execute remote command and be notified by email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fsousa
    Member
    • Aug 2017
    • 99

    #1

    Execute remote command and be notified by email

    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
Working...