munin: run the humbug_send_receive plugin against the current site.

(imported from commit 594e77dd32b9ab0db0002e7dc357ebe93b3ca9cd)
This commit is contained in:
Tim Abbott 2013-04-16 11:06:49 -04:00
parent 5b1b2257bd
commit 99ce1ce9ac
1 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,7 @@
#!/bin/sh
/home/humbug/humbug/bots/check_send_receive.py --munin $1
if [ "$(hostname)" = "staging.humbughq.com" ]; then
site="https://staging.humbughq.com"
else
site="https://humbughq.com"
fi
/home/humbug/humbug/bots/check_send_receive.py --munin $1 --site="$site"