I'm running opsview (nagios) and 1 slave server doesn't execute some plugins correctly
Return code of 127 is out of bounds - plugin may be missing
when I execute the plugin manually it says
./check_icmp
bash: ./check_icmp: No such file or directory
on the master and other slaves it's working when executing the plugins
I have been googling and trying stuff for days now but can't get it working
edit:solved by Kyle Brandt (see comments)
My first guess would be that the file doesn't have executable permissions. What user are you running it as? If the file is owned by the user or a group the user is in, if there are no executable permissions for the user, then even if 'all' has executable permissions, the user still won't be able to run it.
So for instance, if it is owned by the user Nagios, but there the file doesn't have executable permission for user, then you will get that error, even if file is executable by all / others:
The same goes for groups. If a file were owned by the user 'Joe' and the group 'Nagios', and user kbrandt who is a member of group Nagios tried to run it, if the group column doesn't have executable permission, kbrandt won't be able to run it.
Update after long Comment Thread:
Have you tried Recompiling the plug-ins on that machine?