Menu

#4102 MySQL monitor always up

1.540
closed-fixed
5
2012-06-25
2012-06-25
Anonymous
No

The MySQL query monitor will always have a status of "Up" if the "Expected Result" is set to 0.

Try the following queries with Expected Result = 0:
SELECT 0; -- Should be "Up"
SELECT 111; -- Should be "Down", but will be "Up"

Discussion

  • Anonymous

    Anonymous - 2012-06-25

    My current workaround in my situation is to SELECT count(*)+1, with Expected Result 1.

     

    Last edit: Anonymous 2013-11-26
  • Jamie Cameron

    Jamie Cameron - 2012-06-25

    Thanks for pointing this out - I will fix this bug in the next Webmin release.

     
  • Jamie Cameron

    Jamie Cameron - 2012-06-25
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB