Skip to content

SeshaSusmitha/CPU-monitor

Repository files navigation

Monitor cpu usage with influx, kapacitor and grafana

Starting dockers

$ docker-compose up -d

docker-compose builds the entire Grafana and Influx stack.

The Grafana Dashboard is now accessible via: http://Host-IP-Address>:3000 for example http://localhost:3000

For grafana user name and password are admin/admin

Sample dashboard

Grafana Dashboard for System Usage stats

Checking logs

docker logs -f influxdb
docker logs -f telegraf
docker logs -f kapacitor

Creating Config file

InfluxDB

docker run --rm influxdb incluxd config > influxdb.conf

Kapacitor

docker run --rm kapacitor kapacitord config > kapacitor.conf

Telegraf

docker run --rm telegraf -sample-config -input-filter cpu:mem -output-filter influxdb > telegraf.conf

References

1.Kapacitor geting startedguide

2.Kapacitpor API Documentation

3.Kapacitor Templating Documentation

Releases

No releases published

Packages

No packages published