Page 3 of 3

Re: Folder Watch Wizard

Posted: Fri Apr 01, 2016 1:52 am
by Bone8Head
lgroschen wrote:So you used something similar to this command on the page tgreip posted:

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H localhost -t 30 -c CHeckFiles -a path='/tmp' pattern=*.* filter=written < -2h' 'master-syntax={%total% Files Found}' MaxCrit=1
To change the last part you can see where the output {3 Files Found} matches where the curly brackets are above here 'master-syntax={%total% Files Found}'.

To change this you can do anything really, remove the brackets and just have %total% if needed. Let us know if you need more help with this.
Ok, I changed it.
Thank you.

Re: Folder Watch Wizard

Posted: Fri Apr 01, 2016 10:31 am
by hsmith
Is it working now?