Skip to content
Sean Mancini. Get in touch

Blog

Browse by topic

Working with Gunicorn WSGI server

Learn how to use Gunicorn, a web server for Python applications, to host Flask-based APIs. Discover how Gunicorn uses pre-forking to handle requests faster and how to customize server configurations using command line flags. Follow this step-by-step guide to set up Gunicorn with Nginx and deploy a simple Flask app. Don’t forget to check out the example config file for Gunicorn to fine-tune performance and logging settings.

Intropage for Cacti is a nice dashboarding plugin

The Intropage dashboard for cacti  bring the ability to add a nice dashboard for user and admins alike You can have a dashboard setup for  different  audiences i.e. the NOC or Support desk   Panels are added based on the permissions the user has, and the dashboard can be shared with other users If a […]

SNMPTT to Syslog connector for Cacti

If you want to leverage the cacti syslog plugin to process SNMP traps you will need to use SNMPTT to translate the trap for you and then forward it over to syslog the issue with this is the syslog messages will always look like they are coming from local host I have created a simple […]

Cacti Master Poller Redundancy setup

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.

In depth tutorial on the Threshold Plugin for Cacti

Hey Guys ! I am so sorry it’s 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 […]

Protecting Apache by removing version signatures and Server info

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 […]

Cacti Remote Poller Setup

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.

Cacti System upgrade procedure

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

RRD Graphing Monitoring Script | Cacti

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 […]

Webtool to help you with making strong passwords | safetydetective.com

Sometimes the passwords we think may be secure are not always the best choice that where I was told about the password meter tool @ .
This tool allows you to enter a password and with the click of a button make it more secure by entering characters based on best practices.

New Cacti install wizard Bash script on my GITHUB

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 […]

Fixing cacti php timezone installation error

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 […]

TCP vs UDP In Depth

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 […]

Quick and Easy way to increase your PHP Memory limit for WordPress

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 […]