Installing collectd with the usual command on an Ubuntu 14.04 server:
sudo apt-get install collectd
results in a ton of packages being installed:
acl at-spi2-core ca-certificates-java collectd collectd-core colord dconf-gsettings-backend dconf-service default-jre-headless fontconfig fontconfig-config fonts-dejavu fonts-dejavu-core fonts-dejavu-extra hicolor-icon-theme java-common libasound2 libasound2-data libasyncns0 libatk-bridge2.0-0 libatk1.0-0 libatk1.0-data libatspi2.0-0 libavahi-client3 libavahi-common-data libavahi-common3 libcairo-gobject2 libcairo2 libcanberra-gtk3-0 libcanberra-gtk3-module libcanberra0 libcolord1 libcolorhug1 libcups2 libdatrie1 libdbi1 libdconf1 libdevmapper-event1.02.1 libesmtp6 libexif12 libflac8 libfontconfig1 libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgphoto2-6 libgphoto2-l10n libgphoto2-port10 libgraphite2-3 libgtk-3-0 libgtk-3-bin libgtk-3-common libgudev-1.0-0 libgusb2 libharfbuzz0b libieee1284-3 libjasper1 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libltdl7 liblvm2app2.2 libmemcached10 libmnl0 libmodbus5 libnotify4 libnspr4 libnss3 libnss3-nssdb libogg0 libopenipmi0 liboping0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libperl5.18 libpixman-1-0 libpq5 libprotobuf-c0 libpulse0 librabbitmq1 librrd4 libsane libsane-common libsctp1 libsensors4 libsndfile1 libsnmp-base libsnmp30 libtdb1 libthai-data libthai0 libtiff5 libtokyocabinet9 libtokyotyrant3 libupsclient3 libv4l-0 libv4lconvert0 libvarnishapi1 libvirt0 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx1 libwayland-client0 libwayland-cursor0 libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbcommon0 libxpm4 libxrandr2 libxrender1 libxtst6 libyajl2 lksctp-tools notification-daemon openjdk-7-jre-headless rrdtool sound-theme-freedesktop ttf-dejavu ttf-dejavu-core ttf-dejavu-extra tzdata-java x11-commoni
Most likely this is overkill. To install with minimal dependencies:
sudo apt-get --no-install-recommends install collectd
which results far fewer dependency packages being installed:
collectd collectd-core fontconfig fontconfig-config fonts-dejavu-core libcairo2 libdatrie1 libdbi1 libfontconfig1 libgraphite2-3 libharfbuzz0b libltdl7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 librrd4 libthai-data libthai0 libxcb-render0 libxcb-shm0 libxrender1
Much better.
Bonus: Saltstack state example:
Install collectd: pkg.installed: - name: collectd - install_recommends: False
Just wanted to say thanks for this! Worked on Rasbian Jessie and saved a couple hundred megs of space on my SD card.
Awesome!