From 770b6f7ef286d4de8a16af31b32b4396923ae098 Mon Sep 17 00:00:00 2001 From: Manoj Naik Date: Fri, 22 May 2015 15:09:23 +0530 Subject: [PATCH] Related-Bug: #1457610 - Changes to ignore the config data missing for config and db nodes. Conflicts: webroot/monitor/infra/common/ui/js/monitor_infra_utils.js Change-Id: I2e0cfb994a09b4752bb55212088c60604cc5ad67 --- .../infra/common/ui/js/monitor_infra_utils.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/webroot/monitor/infra/common/ui/js/monitor_infra_utils.js b/webroot/monitor/infra/common/ui/js/monitor_infra_utils.js index ab1854af4..e6cddf984 100644 --- a/webroot/monitor/infra/common/ui/js/monitor_infra_utils.js +++ b/webroot/monitor/infra/common/ui/js/monitor_infra_utils.js @@ -258,8 +258,8 @@ var infraMonitorAlertUtils = { alertsList.push($.extend({},{sevLevel:sevLevels['ERROR'],msg:infraAlertMsgs['NTP_UNSYNCED_ERROR']},infoObj)); if(obj['isUveMissing'] == true) alertsList.push($.extend({},{sevLevel:sevLevels['ERROR'],msg:infraAlertMsgs['UVE_MISSING']},infoObj)); - if(obj['isConfigMissing'] == true) - alertsList.push($.extend({},{sevLevel:sevLevels['ERROR'],msg:infraAlertMsgs['CONFIG_MISSING']},infoObj)); +// if(obj['isConfigMissing'] == true) +// alertsList.push($.extend({},{sevLevel:sevLevels['ERROR'],msg:infraAlertMsgs['CONFIG_MISSING']},infoObj)); if(obj['isUveMissing'] == false){ if(obj['isPartialUveMissing'] == true) alertsList.push($.extend({},{sevLevel:sevLevels['INFO'],msg:infraAlertMsgs['PARTIAL_UVE_MISSING']},infoObj)); @@ -297,11 +297,10 @@ var infraMonitorAlertUtils = { if(obj['isUveMissing'] == true){ alertsList.push($.extend({},{sevLevel:sevLevels['ERROR'],msg:infraAlertMsgs['UVE_MISSING']},infoObj)); } - if(obj['isConfigMissing'] == true){ - alertsList.push($.extend({},{sevLevel:sevLevels['ERROR'],msg:infraAlertMsgs['CONFIG_MISSING']},infoObj)); - } - - if(obj['isUveMissing'] == false && obj['isPartialUveMissing'] == true){ +// if(obj['isConfigMissing'] == true){ +// alertsList.push($.extend({},{sevLevel:sevLevels['ERROR'],msg:infraAlertMsgs['CONFIG_MISSING']},infoObj)); +// } + if(obj['isUveMissing'] == false && obj['isPartialUveMissing'] == true){ alertsList.push($.extend({},{sevLevel:sevLevels['INFO'],msg:infraAlertMsgs['PARTIAL_UVE_MISSING']},infoObj)); } if(obj['usedPercentage'] >= 70 && obj['usedPercentage'] < 90){