aboutsummaryrefslogtreecommitdiffstats
path: root/build/test
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-11-11 15:39:26 +0100
committerKristian Lyngstol <kristian@bohemians.org>2016-11-11 15:39:26 +0100
commit179ee8ee548e9eac057a02dc6f626b5c27803fd3 (patch)
tree6ac44c56249debdc36251b490e63ac42a393246f /build/test
parenta611aeff3cf50c3cdd56d76a66e7795df57b375e (diff)
Various build-tweaks and cache tweaks
- mibs are moved to data/, update gitignore - Adjust cache for switches and switches-management to improve responsiveness when adding new content. - Ensure mibs are correctly loaded if the data directory doesn't exist - Add a small timer to the startup of ping collector/snmp to avoid starting before graphite.
Diffstat (limited to 'build/test')
-rwxr-xr-xbuild/test/snmpfetch-misc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/test/snmpfetch-misc.sh b/build/test/snmpfetch-misc.sh
index 0453c59..973e932 100755
--- a/build/test/snmpfetch-misc.sh
+++ b/build/test/snmpfetch-misc.sh
@@ -1,5 +1,6 @@
#!/bin/bash
service snmpd start
+mkdir -p /opt/gondul/data
cd /opt/gondul/data
if [ ! -d mibs ]; then
../extras/tools/get_mibs.sh