diff --git a/config/settings/base.py b/config/settings/base.py index 539c3179a2111928dfdc9315af2436c61f7ba91f..21f5029c947a7a545c56e1bf9626133c43cb4cad 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -186,9 +186,6 @@ LATENCY_REPORT_DEST_DIR = PROJECT_DATA_DIR LATENCY_MAXIMUM_CHARTED = 1800 LATENCY_REPORT_WEB_PAGE_FILE_PATH = join(PROJECT_DATA_DIR, "latency.inc") -# Uptime reporting -UPTIME_REPORT_DIR = PROJECT_DATA_DIR - # Rate file location RATE_INFO_FILE = join(PROJECT_DATA_DIR, "rate_info.json") diff --git a/gracedb/events/reports.py b/gracedb/events/reports.py index 8f3c81d74b8e1ccef4082302ff473d47340e0c1a..aeaa82f0fec37c04b715b6355f63c478ca03cf6e 100644 --- a/gracedb/events/reports.py +++ b/gracedb/events/reports.py @@ -40,20 +40,6 @@ def histo(request): except IOError: table = None - # XXX The old nagios scraping code no longer works. It scrapes sentry anyway, instead - # of dashboard.ligo.org. Anyway, the reports page here isn't really the place for this - # kind of information. - #try: - # uptime = open(settings.UPTIME_REPORT_DIR + "/ytd.html", "r").read() - #except IOError: - # uptime = None - - # Rate information - #try: - # rate_info = open(settings.RATE_INFO_FILE).read() - #except IOError: - # rate_info = None - # For the binned counts, read in the contents of the file. try: f = open(settings.BINNED_COUNT_FILE, 'r')