Collectd Installation

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
Line 16: Line 16:
 
     </Server>
 
     </Server>
 
</Plugin></nowiki>
 
</Plugin></nowiki>
 +
===Update influx db conf===
 +
Enable influx db to ingest collectd data
 +
<nowiki>~$ sudo vi /etc/influxdb/influxdb.conf
 +
 +
[[collectd]]
 +
  enabled = true
 +
  bind-address = "127.0.0.1"
 +
  port = "25826"
 +
  database = "collectd"
 +
  typesdb = "/usr/share/collectd/types.db"
 +
</nowiki>
 +
<nowiki>~$ sudo service influxdb restart</nowiki>

Revision as of 00:15, 1 July 2016

Ubuntu 14.04 Installation

~$ sudo apt-get update && sudo apt-get install collectd collectd-utils -y

Configuration

Backup the conf

~$ sudo cp /etc/collectd/collectd.conf /etc/collectd/collectd.conf_backup

Edit the conf

~$ sudo vi /etc/collectd/collectd.conf

Uncomment the network plugin to feed influxdb

LoadPlugin network

Configure the network plugin

<Plugin network>
     <Server "localhost" "25826">
          Username "influx"
          Password "influxdb"
          Interface "eth0"
     </Server>
</Plugin>

Update influx db conf

Enable influx db to ingest collectd data

~$ sudo vi /etc/influxdb/influxdb.conf

[[collectd]]
  enabled = true
  bind-address = "127.0.0.1"
  port = "25826"
  database = "collectd"
  typesdb = "/usr/share/collectd/types.db"

~$ sudo service influxdb restart
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox