Mysql status is return code 255 0ut of bounds issue

santhosh kumar
santhosh kumar used Ask the Experts™
Mysql is showing a status on nagios server (return code 255 out of bounds).

How can i resolve this issue.

please suggest me if you know?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
i believe this is a nagios error unrelated with mysql.

nagios expects standard return codes : 0 -> happy , 1 -> warning condition , 2 -> the script failed to check , ... ( actually not exactly those but along those lines )

255 is probably a shell error code that notifies you that your mysql test returned an exit code greater than 255 which is not allowed by the OS. maybe you are returning something like the number of seconds of lateness of a replication or whatever may have a value gt 255.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial