Mysql status is return code 255 0ut of bounds issue

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?
santhosh kumarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.