update monitor url

This commit is contained in:
Usman Nasir
2021-04-13 13:56:36 +05:00
parent a76bdb790c
commit aa7337e32e

View File

@@ -401,7 +401,7 @@ password=%s""" % (rootdbpassword, rootdbpassword)
def Uptime(self):
try:
finalData = {'name': self.config['name'], 'token': self.config['token']}
resp = requests.post(ClusterManager.LogURL, data=json.dumps(finalData), verify=False)
resp = requests.post(ClusterManager.UptimeURL, data=json.dumps(finalData), verify=False)
if os.path.exists(ProcessUtilities.debugPath):
logging.writeToFile(resp.text + '[Uptime:info]')
except BaseException as msg: