Mercurial > bottledash
diff views/bottledash_view.tpl @ 24:7d431b779512
working connection with MON
author | sean |
---|---|
date | Thu, 13 Aug 2015 16:34:46 +0200 |
parents | f63737665ac5 |
children | 05e5441c5160 |
line wrap: on
line diff
--- a/views/bottledash_view.tpl Thu Aug 13 13:14:00 2015 +0200 +++ b/views/bottledash_view.tpl Thu Aug 13 16:34:46 2015 +0200 @@ -140,7 +140,7 @@ function check_server_state_loop() { for (var i = 0; i < mon_tile_ips.length; i++) { var state = check_server_state(mon_tile_ips[i]) - if (state == "up") { + if (state == "UPALERT" || state == "UP") { set_mon_tile_status(mon_tile_ips[i], "active") } else { set_mon_tile_status(mon_tile_ips[i], "dead")