zulip/scripts/lib
Alex Vandiver a9337e7641 nagios: Change the cron jobs to exit 0 for all ok/warning/critical.
The cron jobs are potentially wrapped by Sentry, which logs "cron
failures" and sends emails.  We would like those failures to only be
when the cron job itself failed to run successfully -- not when the
underlying metric is outside of its normal range.  We would like to
differentiate a failure of the monitoring infrastructure from a
failure of what it is monitoring.

Swap to return 0 on everything except "unknown" results.
2025-03-05 09:49:36 -08:00
..
__init__.py Factor out venv-creating code from provision.py. 2016-06-21 11:25:41 -07:00
build-groonga provision: Add provision support for Fedora 38. 2023-08-22 11:26:29 -07:00
build-pgroonga build-pgroonga: Upgrade PGroonga from 3.1.0 to 3.1.8. 2024-03-01 17:38:08 -08:00
check_rabbitmq_queue.py deliver_scheduled_emails: Use a queue, instead of infinite retries. 2025-03-04 16:09:25 -08:00
check-database-compatibility check-database-compatibility: Refactor a STALE_MIGRATIONS. 2025-01-24 17:08:37 -08:00
clean_emoji_cache.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
clean_unused_caches.py clean_node_cache: Remove. 2025-02-19 16:44:02 -08:00
clean_venv_cache.py requirements: Migrate to uv. 2025-02-24 22:29:24 -08:00
create-production-venv requirements: Migrate to uv. 2025-02-24 22:29:24 -08:00
email-mirror-postfix typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
fix-standalone-certbot puppet: Fix standalone certbot configurations. 2022-01-24 12:13:44 -08:00
hash_reqs.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
install install: Remove --cacert and CUSTOM_CA_CERTIFICATES. 2025-02-24 22:29:24 -08:00
install-node install-node: Upgrade Node.js from 22.12.0 to 22.14.0. 2025-02-26 16:20:47 -08:00
install-uv requirements: Migrate to uv. 2025-02-24 22:29:24 -08:00
node_cache.py install-node: Upgrade Node.js from 22.12.0 to 22.14.0. 2025-02-26 16:20:47 -08:00
puppet_cache.py Remove support for Ubuntu 20.04 and Debian 11. 2024-04-01 13:27:39 -07:00
pythonrc.py pythonrc: Add various frequently handy imports. 2024-03-27 12:49:24 -07:00
queue_workers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
run_hooks.py run_hooks: Pass down, and respect, --from-git argument. 2025-03-04 13:18:50 -08:00
setup_path.py requirements: Migrate to uv. 2025-02-24 22:29:24 -08:00
setup_venv.py requirements: Migrate to uv. 2025-02-24 22:29:24 -08:00
setup-apt-repo apt-repos: Temporarily work around Ubuntu 24.04 non-installable gnupg. 2024-03-31 13:51:31 -07:00
setup-yum-repo provision: Add support for Fedora 34. 2021-07-20 12:10:41 -07:00
sharding.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
supervisor.py python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
supported-os install: Check for a supported version of the OS in shell. 2024-04-16 11:13:33 -07:00
unpack-zulip ruff: Fix UP032 Use f-string instead of format call. 2023-08-02 15:58:55 -07:00
update-git-upstream upgrade-zulip-from-git: Extract code to set zulip upstream remote. 2023-04-19 16:56:14 -07:00
upgrade-zulip typos: Fix typos caught by mwic. 2024-05-20 13:55:00 -07:00
upgrade-zulip-from-git python: Simplify with str.removeprefix, str.removesuffix. 2024-09-03 12:30:16 -07:00
upgrade-zulip-stage-2 upgrade-zulip-stage-2: Be more specific about OS upgrade steps. 2024-07-26 11:14:11 -07:00
upgrade-zulip-stage-3 run_hooks: Pass down, and respect, --from-git argument. 2025-03-04 13:18:50 -08:00
warn-rabbitmq-nodename-change puppet: Always set the RabbitMQ nodename to zulip@localhost. 2022-01-25 01:48:02 +00:00
zulip_tools.py nagios: Change the cron jobs to exit 0 for all ok/warning/critical. 2025-03-05 09:49:36 -08:00