Plugin check filesize dir doesn't work



I’m using the check_filesize_dir plugin, it works when I execute the script locally on the machine (linu:evil: but when I configure it on a remote server (linu:evil: via Nagios I got this output : OK no file too big (or something like that)

It means that there are no files exceeding the warning and critical size limit I set but in the directory I want to check there are files that exceed this limit.

When I execute the script locally the output shows the list of the files exceeding this limit.

Here is the link to the plugin : … nagext_pi1[p_view]=741

Is anyone here who know how to solve that problem ?

Thanks !lol