<div>Hello</div>
<div> </div>
<div>First nrpe only returns one line from output so if your restarting procedure returns multiple lines you wont see all the lines from the check_nrpe.</div>
<div>second i see you are passing arguments with -a did you enable nrpe with command arguments ?</div>
<div>and final you can call sudo before your script "/usr/bin/sudo /usr/local/nagios/libexec/check_disk ..." other then that seems you doing it perfectly fine</div>
<div> </div>
<div>Moshe Sharon</div>