zulip/tools/travis
Tim Abbott 88a123d5e0 Fix excessive CPU usage by rabbitmq-numconsumers Nagios checks.
The previous model for these Nagios checks was kinda crazy -- every
minute, we'd run a full `rabbitmctl list_consumers` for each of the
dozen+ consumers that we have, and then do the exact same parsing
logic for each to determine whether the target queue has a running
consumer to write out a state file.

Because `rabbitmctl list_consumers` takes a small amount of resources,
on systems where CPU is very limited (e.g. t2 style AWS instances),
this minor CPU wastage could be problematic.

Now we just do that `rabbitmqctl list_consumers` once per minute, and
output all the state files from a single command.

Further TODO items on this front include removing the hardcoded list
of queues.
2016-08-12 14:09:36 -07:00
..
activate-venv Run tools/lint-all on Travis in python 3. 2016-07-08 10:43:48 -07:00
backend travis: re-disable test-queue-worker-reload. 2016-08-10 16:43:00 -07:00
frontend Use tools/travis/activate-venv in test suites. 2016-07-19 14:15:35 -07:00
production Expand testing done via Travis CI to cover production pipeline. 2015-11-01 18:11:39 -08:00
production-helper Fix excessive CPU usage by rabbitmq-numconsumers Nagios checks. 2016-08-12 14:09:36 -07:00
setup-backend check_send_receive_time: Support being run in a cron job. 2016-08-11 14:48:21 -07:00
setup-frontend Expand testing done via Travis CI to cover production pipeline. 2015-11-01 18:11:39 -08:00
setup-production setup-production: Remove more postgres packages. 2016-08-11 22:19:57 -07:00
setup-static-analysis Merge mypy and py3k test suites in Travis. 2016-07-11 21:28:01 -07:00
static-analysis Run mypy on extensionless python scripts in Travis. 2016-07-22 11:16:29 -07:00
success-http-headers.txt travis: Update success-http-headers to match current certs. 2016-08-12 09:35:41 -07:00