aboutsummaryrefslogtreecommitdiffstats
path: root/miss_htbt_service/db_monitoring.py
diff options
context:
space:
mode:
authorPrakashH <pbhandar@techmahindra.com>2019-01-31 06:27:40 +0000
committerPrakashH <pbhandar@techmahindra.com>2019-01-31 14:34:57 +0000
commit9557b8d53b11519b5d014f78cdd6ad5e92757cfc (patch)
tree36c8b57b5b78a6fee32b8e90c5207d91648a4d5b /miss_htbt_service/db_monitoring.py
parent5e4ea155f6766e19d245173a10d15ebe3618c9d1 (diff)
Heartbeat Microservice Support
Heartbeat service monitors missing HB notification Issue-ID: DCAEGEN2-267 Change-Id: I40a928fbf56164ec5288a4d489ffa10eee28e113 Signed-off-by: PrakashH <pbhandar@techmahindra.com>
Diffstat (limited to 'miss_htbt_service/db_monitoring.py')
-rw-r--r--miss_htbt_service/db_monitoring.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miss_htbt_service/db_monitoring.py b/miss_htbt_service/db_monitoring.py
index b435f2a..3de43e3 100644
--- a/miss_htbt_service/db_monitoring.py
+++ b/miss_htbt_service/db_monitoring.py
@@ -147,6 +147,7 @@ def db_monitoring(current_pid,json_file,user_name,password,ip_address,port_num,d
except(Exception) as err:
msg='Json file process error : ', err
_logger.error(msg)
+ continue
hbc_pid, hbc_state, hbc_srcName, hbc_time = db.read_hb_common(user_name,password,ip_address,port_num,db_name)
source_name = socket.gethostname()