Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
revert ping metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaz492 committed Feb 6, 2017
1 parent 04f0780 commit 776307a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/cachetMonitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def checkSites(self):
if isEnabled:
if request_method.lower() == "get":
r = requests.get(url, verify=True)
self.utils.postMetricsPointsByID(1, r.elapsed.total_seconds() * 1000)
# self.utils.postMetricsPointsByID(1, r.elapsed.total_seconds() * 1000)
if r.status_code not in status_codes and r.status_code not in self.httpErrors:
error_code = '%s check **failed** - %s \n\n`%s %s HTTP Error: %s`' % (url, localtime, request_method, url, httplib.responses[r.status_code])
if not incident_id:
Expand Down

0 comments on commit 776307a

Please sign in to comment.