remove default bmc_health_config.json
Remove default bmc_health_config.json as default config is in code now
in health_metric_config.cpp.
Change-Id: Ie3dd21a77f84a5417e1cfef7ddde1a1eaf0fad3c
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/bmc_health_config.json b/bmc_health_config.json
deleted file mode 100644
index f7a8ae3..0000000
--- a/bmc_health_config.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "CPU": {
- "Frequency": 1,
- "Window_size": 120,
- "Threshold": {
- "Critical": {
- "Value": 90.0,
- "Log": true,
- "Target": ""
- },
- "Warning": {
- "Value": 80.0,
- "Log": false,
- "Target": ""
- }
- }
- },
- "CPU_User": {
- "Frequency": 1,
- "Window_size": 120,
- "Threshold": {
- "Critical": {
- "Value": 90.0,
- "Log": true,
- "Target": ""
- },
- "Warning": {
- "Value": 80.0,
- "Log": false,
- "Target": ""
- }
- }
- },
- "CPU_Kernel": {
- "Frequency": 1,
- "Window_size": 120,
- "Threshold": {
- "Critical": {
- "Value": 90.0,
- "Log": true,
- "Target": ""
- },
- "Warning": {
- "Value": 80.0,
- "Log": false,
- "Target": ""
- }
- }
- },
- "Memory": {
- "Frequency": 1,
- "Window_size": 120,
- "Threshold": {
- "Critical": {
- "Value": 85.0,
- "Log": true,
- "Target": ""
- }
- }
- },
- "Storage_RW": {
- "Path": "/run/initramfs/rw",
- "Frequency": 1,
- "Window_size": 120,
- "Threshold": {
- "Critical": {
- "Value": 85.0,
- "Log": true,
- "Target": ""
- }
- }
- },
- "Storage_TMP": {
- "Path": "/tmp",
- "Frequency": 1,
- "Window_size": 120,
- "Threshold": {
- "Critical": {
- "Value": 85.0,
- "Log": true,
- "Target": ""
- }
- }
- }
-}
diff --git a/meson.build b/meson.build
index f56e3f5..5f9b276 100644
--- a/meson.build
+++ b/meson.build
@@ -37,8 +37,6 @@
install_dir: get_option('bindir')
)
-install_data(sources : 'bmc_health_config.json', install_dir : '/etc/healthMon')
-
conf_data = configuration_data()
conf_data.set('HEALTH_CONFIG_FILE', '"/etc/healthMon/bmc_health_config.json"')
conf_data.set('HEALTH_BUS_NAME', '"xyz.openbmc_project.HealthMon"')