Here is the general layout we use keepalived to make sure the application is accessible in case of a failure keepalived uses VRRP ( Virtual Router Redundancy Protocol) to advertise a virtual IP from either the primary server or the secondary. Both servers as you see from the diagram have their own IP but on top of that have a virtual IP they will use depending on their state. The user will connect to the virtual IP instead of the server IP so in the case of a failure, the user would not know they have switched servers. We use MariaDB replication to ensure that the databases are the same on both servers.
Hey Guys ! I am so sorry its been so long since I have posted life gets in the way sometimes. I hope to be back with a regular schedule soon!!. I have been asked before to create a video on how to use the Threshold plugin for Cacti I created this in depth video
Hey Guys If you run a website or blog and you are in charge of the server such as on a VPS you might not want to let everyone know what version of apache or Linux you are running on. this gives potential attackers information that can use to attack your site. For example, if
As of cacti, 1.x cacti support remote polling which allows you to have multiple servers act as pollers the remote pollers send the data to the main server that holds the graphs
this is a great solution for load balancing as well as the ability to have local pollers at remote locations to help with things like latency metrics.
Updating Cacti can be easy or tricky depending on your system size and design.
In this post, I show you how you can upgrade your cacti system properly and safely
I have been working a lot with Cacti lately I had a need to make a script to ensure Cacti graphs were working and alert if they were not So I whipped up this little script that uses the rrdtool last update command which compares the value between polls the expected behavior of the RRD
Hey Everyone Just wanted to share some of my latest work I have developed an interactive install wizard for Cacti written in BASH this script is currently written for Debian based systems but I am working on others Some of the main features are -download either chosen or latest version of cacti -autoconfigure database either
The Cacti installation outlines some recommendations for best performance while using Mysql or MariaDB
Hello everyone ! When installing some of the new versions of cacti you may come across these below 2 PHP errors related to a timezone which will prevent you from installation CACTI This is a simple fix that involves editing the php.ini for PHP and php.ini file for PHP CLI the PHP.ini files are
Hello Everyone, I have had some requests to make a video on the differences between TCP ( Transmission Control Protocol ) and UDP ( User Datagram Protocol). In this video, I show you the differences between these two protocols and go over some of their use cases. As I mention in the video Here are
As your blog gets bigger you may have more plugins and scripts running some of these scripts can be demanding when it comes to memory. The default memory limit in PHP is 128MB this means that each script can use up to 128MB of ram per script not in total, in other words, it’s not
Hey All just a quick post on WordPress authentication keys You may have noticed that in the newer versions of WordPress that in the WP-config.php file there is a block of code asking for key passphrases. That is to support encrypted cookies for your users when they login if you don’t generate the keys what
Hello everyone Sorry I have been away for a while life has been crazy I have a new addition to the family ! my son was born on Christmas day 2018 what an adventure it has been so far I plan to be back to my regular blogger/YouTuber self after some time to take it
Hey Everyone I wanted to share my newest work I am currently working on a bringing my online learning content to a Live learning setting my Goal is for a small monthly fee to bring my videos to you live as well as platform for you to view the content offline along with quizzes and