Commit 98db9ee6 authored by jithu.tagore's avatar jithu.tagore

Update infra_as_service_monitor.py

parent ede74353
......@@ -401,7 +401,7 @@ def mail_send():
telegram_bot_sendtext(
f"<b>{env} {config['user_info']['subject']} </b>\nLast Restarted at : {restart_time}({count_of_restart})\nIP:{ip_address}\nEnvironment:{env}\n\n<b>Disk Usage</b>\n<pre>{Disk_usage_table}</pre>\n<b>Ram Usage</b>\n<pre>{Ram_usage_table}</pre>")
elif len(service_table) > 0 and and len(container_restart)>0:
elif len(service_table) > 0 and len(container_restart)>0:
if mqtt == "True":
client1.publish(mqtt_topic, "{}")
if telegram == "True":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment