Skip to content

Instantly share code, notes, and snippets.

@johnDorian
Last active April 10, 2021 14:06
Show Gist options
  • Save johnDorian/7667df17976d28912ec3ca56930dd23a to your computer and use it in GitHub Desktop.
Save johnDorian/7667df17976d28912ec3ca56930dd23a to your computer and use it in GitHub Desktop.
Node exporter on roborock v1

Running node-exporter on the roborock v1 vacuum.

  1. Save the nodeexporter.conf upstart script to /etc/init/nodeexporter.conf
  2. Grab the armv7 node exporter binary from https://github.com/prometheus/node_exporter/releases
  3. Add the node_exporter binary to /usr/local/bin/node_exporter
  4. Reboot or start the service service nodeexporter start.
description "node-exporter from prometheus/soundcloud"
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
respawn
umask 022
chdir /
setuid root
setgid root
console none
exec /usr/local/bin/node_exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment