|
|
@ -359,9 +359,11 @@ class Monitor extends BeanModel {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
bean.status = UP;
|
|
|
|
bean.status = UP;
|
|
|
|
} catch (error) {
|
|
|
|
} catch (error) {
|
|
|
|
|
|
|
|
if (error.message !== "Timeout") {
|
|
|
|
bean.status = DOWN;
|
|
|
|
bean.status = DOWN;
|
|
|
|
bean.msg = error.message;
|
|
|
|
bean.msg = error.message;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
bean.msg = "Unknown Monitor Type";
|
|
|
|
bean.msg = "Unknown Monitor Type";
|
|
|
|
bean.status = PENDING;
|
|
|
|
bean.status = PENDING;
|
|
|
|