You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2020/10/06 21:33:20 UTC

[GitHub] [trafficcontrol] rawlinp opened a new pull request #5112: In monitoring.json ignore non-ONLINE/REPORTED/ADMIN_DOWN caches

rawlinp opened a new pull request #5112:
URL: https://github.com/apache/trafficcontrol/pull/5112


   ## What does this PR (Pull Request) do?
   TM should only poll ONLINE/REPORTED/ADMIN_DOWN caches. This PR filters out caches that don't have one of those statuses from `monitoring.json`.
   
   ## Which Traffic Control components are affected by this PR?
   
   - Traffic Monitor
   - Traffic Ops
   
   ## What is the best way to verify this PR?
   With caches of status `REPORTED`, `ONLINE`, `ADMIN_DOWN`, and `OFFLINE` in TO, snapshot their CDN, then view `https://<your-TO-host>/api/3.0/cdns/<your-CDN-name>/configs/monitoring` and verify that it does not contain the `OFFLINE` servers.
   
   ## If this is a bug fix, what versions of Traffic Control are affected?
   - master
   - 4.x
   - 3.x
   
   ## The following criteria are ALL met by this PR
   
   - [x] This PR includes tests
   - [x] Docs not necessary
   - [x] This PR includes an update to CHANGELOG.md
   - [x] This PR includes any and all required license headers
   - [x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
   - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the Apache Software Foundation's security guidelines](https://www.apache.org/security/) for details)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficcontrol] ocket8888 merged pull request #5112: In monitoring.json ignore non-ONLINE/REPORTED/ADMIN_DOWN caches

Posted by GitBox <gi...@apache.org>.
ocket8888 merged pull request #5112:
URL: https://github.com/apache/trafficcontrol/pull/5112


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org