Nagios error


#1

How can I fix the error:

(Return code of 126 is out of bounds - plugin may be missing)

I checked the permissions of the check_by_ssh and check_mem plugins (which is what I’m checking).

Please help me fix this!

Marnus Snyman


#2

I fixed it…

The first command in the perl script needs to be changed to usr/bin/perl (do “which perl” to check the path)


#3

[quote=“Stopwatch”]I fixed it…

The first command in the perl script needs to be changed to usr/bin/perl (do “which perl” to check the path)[/quote]

Thanks for sharing the solution with us. I am sure you won’t be the last who runs into this little problem! 8)