File system monitoring

Hi,

I want to configure to check the file system free space available everyday and send mail if it is more than 80% . I tried with the below YAML code, but didn’t work.

Hi,

I want to configure to check the file system free space available everyday and send mail if it is more than 80% . I tried with the below YAML code, but didn’t work.

“Didn’t work” is very little information.
But, even with the right amount of information I think it would be best to not (ab)use ansible for this task and instead use a dedicated monitoring system