/docker-cacti

Docker image for Cacti

Primary LanguagePerl

docker-cacti

Docker container for cacti 1.1.38.

"Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices."

Install dependencies

To install docker in Ubuntu 18.04 use the commands:

$ sudo apt-get update
$ sudo wget -qO- https://get.docker.com/ | sh

To install docker in other operating systems check docker online documentation

Setup and run

$ cd docker-cacti/
$ cp web-variables.env .web-variables.env

Edit .web-variables.env to conform with MySQL and Apache configuration.
Copy existing rrd files to rra directory.

$ cp source_dir_rra/* rra/*

Run with:

$ docker-compose up -d

Access site on URL: http://{server-name|server-ip}/

Built-in plugin

Included three additional plugin:

scripts/http_response_time.pl: to check HTTP response time from a URL
scripts/http_status_code.pl: to check HTTP status code from a URL
scripts/postgresql.php: to count active query session on PGSQL DB

More Info

About Cacti www.cacti.net

Modified by: Didik Setiawan

Based on quantumobject/docker-cacti