Ok, I changed it.lgroschen wrote:So you used something similar to this command on the page tgreip posted: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}'.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 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.
Thank you.