mostly profanity and fixes
[distro-setup] / filesystem / usr / local / bin / myupgrade
index 32dd7fffddb13b2c1d9c38a63bfad22cdf90e5c3..b86e418c64b259a0423754ea8d25c6416c4bdf01 100755 (executable)
@@ -48,6 +48,20 @@ myreboot() {
 }
 
 
+case $HOSTNAME in
+  kd)
+    /c/roles/prom/files/simple/usr/local/bin/fsf-install-prometheus
+    /c/roles/prom_export/files/simple/usr/local/bin/fsf-install-node-exporter -l 127.0.0.1
+    ;;
+  li|bk|je)
+    /c/roles/prom_export/files/simple/usr/local/bin/fsf-install-node-exporter -l 127.0.0.1
+    ;;
+  *)
+    /c/roles/prom_export/files/simple/usr/local/bin/fsf-install-node-exporter
+    ;;
+esac
+
+
 # TODO: executed from cron, this doesnt sent an email when we reboot,
 # because rebooting from the script stops the ability to send email.
 # We should figure some workaround.