Run Cacti 1.2.20 @ Weathermap on Docker

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
deandeng
Posts: 7
Joined: Wed Sep 14, 2016 5:12 am

Run Cacti 1.2.20 @ Weathermap on Docker

Post by deandeng »

https://hub.docker.com/r/admindean/cacti

Runtime environment:

CentOS 7.9, MariaDB 10.1.48, PHP 7.3.30
Cacti v1.2.19
Thold v1.6
Monitor v2.5
Weathermap v0.98a - Updated
How to use:

Pull image

docker pull admindean/cacti

Create backup directory

mkdir -p /usr/share/cacti/rra && chmod 777 -R /usr/share/cacti/rra

mkdir -p /usr/share/cacti/weathermap && chmod 777 -R /usr/share/cacti/weathermap

mkdir -p /usr/share/cacti/mysql_backup && chmod 777 -R /usr/share/cacti/mysql_backup

Run docker instance

docker run -d --restart=always --name cacti --hostname cacti -p 80:80 -p 443:443 --privileged=true -v /usr/share/cacti/rra:/usr/share/cacti/rra -v /usr/share/cacti/weathermap:/usr/share/cacti/weathermap -v /usr/share/cacti/mysql_backup:/usr/share/cacti/mysql_backup admindean/cacti:latest

Update timezone

docker exec -it cacti /bin/bash

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

Web Access

http://your_ip/cacti

https://your_ip/cacti

username: admin

password: admin

MariaDB Password

root / root

cactiuser / cactiuser
Last edited by deandeng on Mon Mar 11, 2024 1:33 am, edited 7 times in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Run Cacti 1.2.15 @ Weathermap on Docker

Post by Howie »

This is neat, but no volume for the data?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
deandeng
Posts: 7
Joined: Wed Sep 14, 2016 5:12 am

Re: Run Cacti 1.2.15 @ Weathermap on Docker

Post by deandeng »

Howie wrote: Thu Sep 16, 2021 2:25 am This is neat, but no volume for the data?
Updated.

Thanks Howie.
dallenk
Posts: 11
Joined: Sat Nov 26, 2011 3:21 am

Re: Run Cacti 1.2.15 @ Weathermap on Docker

Post by dallenk »

I installed this, but the language appears to be Chinese and I'm not sure how to change it.

edit: i can force the browser to translate.. but not everything does. I'll keep an eye on this one for updates.
deandeng
Posts: 7
Joined: Wed Sep 14, 2016 5:12 am

Re: Run Cacti 1.2.15 @ Weathermap on Docker

Post by deandeng »

dallenk wrote: Fri Oct 01, 2021 10:41 pm I installed this, but the language appears to be Chinese and I'm not sure how to change it.

edit: i can force the browser to translate.. but not everything does. I'll keep an eye on this one for updates.
FriFra
Posts: 8
Joined: Sat Jan 06, 2024 12:39 pm

Re: Run Cacti 1.2.20 @ Weathermap on Docker

Post by FriFra »

I installed it in my docker environment on my synologs and i get the following error:
[[1;31m!!!!!![0m] Failed to mount API filesystems, freezing.

I guess i need to map a volume, but i only found:
/usr/share/cacti/rra
/usr/share/cacti/weathermap
/usr/share/cacti/mysql_backup
which i already mapped to the container
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests