I tried to search if anyone else have had same kind of problem that I have. I made my own plugin that checks size of one file... everything works fine on local computer but with nrpe it won't return any variables values.
plungin is basic shell script that echos values
echo "File OK - File size is $SIZE Mb"
this will return this: File OK - File size is Mb
does anyone have any ideas why variables values won't be passed to nagios sever?
May by I have to write the plugin again using c/c++