Files
zulip/puppet/zulip-internal/files/munin-plugins/humbug_send_receive
Zev Benjamin dd678465ae [manual] Move puppet modules to the top level
The new puppet.conf file has to be moved into place manually.

(imported from commit 253d9a95386dae8c803a998ce2dc7e8be40c880a)
2013-10-30 15:42:26 -04:00

8 lines
222 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/bots/check_send_receive.py --munin $1 --site="$site"