--- /dev/null
+#!/bin/bash
+
+set -e
+
+cat config/definitions/map_namespace_to_query |\
+while read url namespace;
+do
+ echo "$url ::: $namespace";
+ bz_count=$(curl 2>/dev/null -XGET -L "$url" 3>/dev/null | sed 1d | tr "," " " | awk '{print $1}' | sort -n | wc -l);
+ echo "$namespace $bz_count $(date +%s)";
+ echo "$namespace $bz_count $(date +%s)" | nc grafana.ceph.com 2003
+done
+#we'll eventually want to just iterate a list of BZ query URLs
+#url=http://red.ht/2paAywM
+#TODO auth against BZ so we get counts of hidden BZs
+
+#namespace="bz.gmeno.ceph.any.needinfo.24hrs"
--- /dev/null
+#!/bin/bash
+# There has to be a better way to do this than this script which just looks
+# for every Vagrantfile in scenarios and then just destroys whatever is left.
+
+cd $WORKSPACE/ceph-ansible/tests/functional
+
+scenarios=$(find . | grep Vagrantfile | xargs dirname)
+
+for scenario in $scenarios; do
+ cd $scenario
+ vagrant destroy -f
+ cd -
+done