Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name Just for fun, let’s take a look at netstat to see what we ARE serving: netstat -avpntĪctive Internet connections (servers and established) If you try, you’ll get an error:ĭon’t despair! We’re making progress. Don’t worry–cacti is running, but the default security doesn’t allow access to the cacti page. It outlines how the available/enabled file structure is set up in the new apache version. Take note of the grey block in the middle of the page. You should get the apache default screen: Once the Raspberry finishes rebooting, try to reach it on your web browser. At this point, I like to reboot and see where we are. The installer should finish up and unceremoniously drop you back at the command prompt.
There’s some notes, below, on how to configure your existing server to be used by cacti.
Otherwise, answer “yes” and the installer will install a small local database and configure cacti to use it. If you have an external database server to use, choose “no” here. Next, the cacti install will want to know about the database in which you intend to store the piles of data that cacti collects every 5 minutes. It’s less resource-intensive than apache2, so is probably better suited to running on a raspberry pi. You can arrow down to lighttpd and use that. I’m choosing apache2 because I’m more familiar with that one. When it finally comes to rest, the first question that it has is regarding what web server you want to install. apt will download quite a few prerequisites–Thank God for apt! Answer “y” when prompted and apt will install things for a while. cacti InstallationĪnother bonus: cacti is available in the repos! So, just run “apt install cacti” while logged in as root. I do all of this through my saltstack management software. Boot it up, change the passwords and timezone, set the date, and run “apt update” and “apt upgrade”. To make a cacti raspberry, start in the usual fashion: format an SD card with your favorite Raspberry OS (and remember to create the /boot/ssh file). There are so many people running cacti that if you have something that you need to monitor, somebody has probably already written a plugin to support it! Awesome! Pre-Install Steps Assume that everything is running but put some monitoring in place to ensure it! Cacti does a fabulous job of watching everything that you throw at it AND graphs out all of the values every 5 minutes.Īnother great feature of cacti is its support. When you have a lot of devices on your network and you need to make sure that they’re performing to their best ability.