Category: Linux

How-to: installing Ubiquiti Unifi controller on Raspberry Pi

How-to: installing Ubiquiti Unifi controller on Raspberry Pi

Install Raspbian as per other post Install pre-requisites Install Java Install the rng-tools to speed up startup and make a minor modification by uncommenting the following line and saving with Ctrl+X, Y, <ENTER> Restart the rng-tools to reload the changed config Install the Unifi Controller Add, validate and update the repositories Install the unifi software …

+ Read More

How-to: Nagios MQTT notifications

How-to: Nagios MQTT notifications

Introduction Having got email notifications working from Nagios and being inundated with emails that I will no doubt ignore I got to thinking about how I could automate various other tasks depending on the state of the network. Nagios “knows” what’s up and what’s not. I have various devices on my network that can switch …

+ Read More

How-to: Nagios email notifications

How-to: Nagios email notifications

This post is based on an article I read at https://www.unixmen.com/send-alerts-nagios-core-using-gmail-yahoo/ and assumes a working Nagios installation with at least a basic configuration as described here. However, I found that my configuration required some amendments to get it working. I found them by trial and error so decided to record my steps here for future …

+ Read More

Basic Nagios Core config

Basic Nagios Core config

This post describes the steps and principles involved in updating the default Nagios configuration to add a network host with a single service. It assumes a running Nagios system has already been setup as described here. Nagios Core is configured by editing text files which reside in one of the following directories: To direct Nagios …

+ Read More

How-to: Nagios on Raspberry Pi

How-to: Nagios on Raspberry Pi

What is Nagios? Nagios is a network monitoring and alerting system. Nagios Core is free and open-source. 1. Install OS and configure basic setup This is a topic worthy of an article that applies to a wider audience so I’ve written it separately – drop this entire article in here if you need these instructions …

+ Read More

Linux Commands – top ten or thereabouts

Linux Commands – top ten or thereabouts

Commands I’m forever Googling… Command Does what? Example history Prints previously executed commands history !!!n!-n Re-executes a previous command:!! – last command (inc sudo !!)!n – command at history line n!-n – n commands ago !!sudo !!!702!-1 pwd Print Working Directory pwd rmdir Remove empty Directory rmdir rm Remove any Director rm locate find file …

+ Read More