Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#4102 MySQL monitor always up

1.540
closed-fixed
Jamie Cameron
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
    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