From a2bce7aa66e986af48aa64c803f10f75df9d206b Mon Sep 17 00:00:00 2001 From: Silvie Chlupova Date: Wed, 6 Apr 2022 10:06:17 +0200 Subject: [PATCH] copr: don't set time in nagios url, set timeperiod to last 31 days --- roles/copr/frontend/files/monitoring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/copr/frontend/files/monitoring.py b/roles/copr/frontend/files/monitoring.py index 5c264bddf2..27c43a8d20 100644 --- a/roles/copr/frontend/files/monitoring.py +++ b/roles/copr/frontend/files/monitoring.py @@ -35,11 +35,11 @@ def collect(url, name, documentation, css_selector, filename): if __name__ == '__main__': - copr_cdn_url = "?t1=1641301793&t2=1641388193&show_log_entries=&full_log_entries=&" \ + copr_cdn_url = "?show_log_entries=&full_log_entries=&" \ "host=copr-fe.aws.fedoraproject.org&service=The+copr+cdn+status&assumeinitialstates=yes&" \ "assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&" \ "initialassumedhoststate=0&initialassumedservicestate=0&timeperiod=last31days&backtrack=4" - copr_ping_url = "?t1=1628506451&t2=1629111251&show_log_entries=&host=copr-be.aws.fedoraproject.org&" \ + copr_ping_url = "?show_log_entries=&host=copr-be.aws.fedoraproject.org&" \ "service=The+copr-ping+package+builds&assumeinitialstates=yes&assumestateretention=yes&" \ "assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0&" \ "initialassumedservicestate=0&timeperiod=last31days&backtrack=4"