zulip/puppet/zulip_ops/files/munin-plugins/humbug_send_receive

8 lines
243 B
Bash
Executable File

#!/bin/sh
if [ "$(hostname)" = "staging.zulip.net" ]; then
site="https://staging.zulip.com"
else
site="https://api.zulip.com"
fi
/home/zulip/deployments/current/api/integrations/zephyr/check_send_receive.py --munin "$1" --site="$site"