Skip to content

Instantly share code, notes, and snippets.

Created September 25, 2017 22:53
Show Gist options
  • Save anonymous/e490d40ef208d8ef89396f04eed44fc2 to your computer and use it in GitHub Desktop.
Save anonymous/e490d40ef208d8ef89396f04eed44fc2 to your computer and use it in GitHub Desktop.
Trying out wohali's couchdb netdata plugin

Installing

  1. Install couchdb per http://docs.couchdb.org/en/2.1.0/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages
  2. $ sudo apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl
  3. $ cd ~ && git clone https://github.com/wohali/netdata
  4. $ cd netdata && git checkout couchdb
  5. $ sudo ./netdata-installer.sh
  6. $ sudo vi /etc/netdata/python.d/couchdb.conf and set admin username/password
  7. $ sudo service netdata restart
  8. Browse to http://localhost:19999/

Updating after wohali does a force push

$ cd ~/netdata
$ git fetch && git reset origin/couchdb --hard
$ make distclean && sudo ./netdata-installer.sh --dont-wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment