If you have Nginx reverse Proxy you need to Forward requests to subfolder cacti
location = / {
return 301 /cacti;
}
Greetings
If you have Nginx reverse Proxy you need to Forward requests to subfolder cacti
location = / {
return 301 /cacti;
}
Greetings
For help visit me at http://forum.its-egner.de
At first clone Repo and change Directory
git clone https://github.com/Its-egner/Cacti.git
cd Cacti
Edit docker-compose File, change Passwords! and bring Container up.
docker compose up -d
Container will build and start
Chown the Files to
chown 33:33 cacti_log/ cacti_plugins/ cacti_rra/
Do Database initialisation with
docker exec -ti cacti_app bash /var/www/html/init-db.sh
visit cacti <your_IP>:7070/cacti
If prompt for Login use admin admin
If you want to use Spine, enter config Path
/usr/local/spine/etc/spine.conf
Hi everyone,
I start building my own cacti Container from scratch, because there is no good one out there, wich is easy upgradable.
leckeres Japan. Curry und hausgemachte Limonade
Mannheim Innenstadt
Hi,
first we need the check in nodebb/.docker/config
vi healtcheck.js
const http = require('http');
const options = {
host: '127.0.0.1',
port: 4567,
timeout: 2000
};
const healthCheck = http.request(options, (res) => {
console.log(`HEALTHCHECK STATUS: ${res.statusCode}`);
if (res.statusCode == 200) {
process.exit(0);
}
else {
process.exit(1);
}
});
healthCheck.on('error', function (err) {
console.error('ERROR');
process.exit(1);
});
healthCheck.end();
Then we can add the check in our yml File
healthcheck:
test: ["CMD", "node", "/opt/config/healthcheck.js"]
interval: 5s
timeout: 3s
retries: 5
start_period: 15s
To check if everything is Working we can watch docker ps, it should be healthy there or use docker inspeckt
docker inspect --format='{{json .State.Health}}' <container-id>
Greetings
Willkommen beim IT-Support! Wir sind hier, um Ihnen bei allen technischen Fragen und Problemen schnell und zuverlässig zu helfen. Egal, ob Sie Unterstützung bei Software, Hardware oder Netzwerken benötigen – unser Team steht Ihnen mit Rat und Tat zur Seite. Zögern Sie nicht, uns zu kontaktieren – wir sorgen dafür, dass Ihre IT reibungslos läuft!
Welcome to our IT Support! We are here to assist you with all your technical questions and issues quickly and reliably. Whether you need help with software, hardware, or networks – our team is ready to support you. Don't hesitate to contact us – we ensure your IT runs smoothly!