comparison 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
comparison
equal deleted inserted replaced
23:f63737665ac5 24:7d431b779512
138 } 138 }
139 139
140 function check_server_state_loop() { 140 function check_server_state_loop() {
141 for (var i = 0; i < mon_tile_ips.length; i++) { 141 for (var i = 0; i < mon_tile_ips.length; i++) {
142 var state = check_server_state(mon_tile_ips[i]) 142 var state = check_server_state(mon_tile_ips[i])
143 if (state == "up") { 143 if (state == "UPALERT" || state == "UP") {
144 set_mon_tile_status(mon_tile_ips[i], "active") 144 set_mon_tile_status(mon_tile_ips[i], "active")
145 } else { 145 } else {
146 set_mon_tile_status(mon_tile_ips[i], "dead") 146 set_mon_tile_status(mon_tile_ips[i], "dead")
147 } 147 }
148 } 148 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)