nagios has no interest in knowing if the plugin is perl or compiled or what else as long as the nagios user can execute the plugin you shouldn’t have problems… try su - nagios and try running the plugin from command line, possibly it’s a permission issue.
I did the reverse - ran nagios logged in as root (not as a daemon). Wouldn’t that give nagios root permissions - same as me running the check command line ?
The command line works as root - but not from inside Nagios.
I did check permissions on the check - everyone has read and is marked executable.
I am just about to leave for the day - will try su as nagios tomorrow.