| by TheIneptOne | 1 comment

Backing Up Nagios to Github Automagically

I wanted to backup my Nagios config files without having to backup the whole system as well as keep a revision history. So, I setup a repo on github and created a bash script to automatically push changes to the repo once a day. Git Setup First thing, before we can run the script, we […]

Read More
| by TheIneptOne | No comments

How to Setup a SmokePing Server

SmokePing is a latency measurement tool that will test, store, and display (with pretty graphs) latency and packet lost between your server and another (or external service). Prerequisites More info can be found here: https://oss.oetiker.ch/smokeping/ A base install of Ubuntu 20.04 LTS with a static IP address When editing a file with Nano, to save your changes to do the […]

Read More
| by TheIneptOne | 1 comment

Nagios Web Interface AD Authentication

By default Nagios Core’s web interface only authenticates locally using a .htpasswd file. Each user would have to be manually added to this file along with a few other places within the Nagios configuration files to be able to login and view host/service statuses. When editing a file with Nano, to save your changes to do the […]

Read More
| by TheIneptOne | 1 comment

Nagios NCPA Agent Installation

Before a server can be monitored the Nagios NCPA Agent must be installed. This article will go over installing the agent on both Windows and Ubuntu Linux based machine. NCPA agents are available other flavors or Linux as well as MacOS at https://www.nagios.org/ncpa/#downloads  Windows Servers Begin by logging into the server. Once logged in, download the […]

Read More
| by TheIneptOne | 1 comment

Adding Hosts to Nagios

Hosts or Servers are added to Nagios with text based cfg files and for my setup, are stored in /opt/nagios/servers. Prior to adding a server, it is a good idea to have the Nagios NCPA Agent installed on each server that will be monitored. When editing a file with Nano, to save your changes to do the […]

Read More
| by TheIneptOne | 1 comment

Adding Contacts to Nagios

Contacts are created in Nagios for email alerts. They can be setup for individual users or a distribution list. They can also be setup to alert at different times of the day and can send alerts based on severity of the issue. If you don’t already have a Nagios server setup, you can follow my […]

Read More
| by TheIneptOne | 1 comment

Nagios 4.4.6 on Ubuntu 20.04

I use Nagios a lot for work to monitor our Linux and Windows servers as well as Ubiquiti equipment. I put together a walkthrough of how I setup Nagios. This is mainly for my documentation, but if you find it useful as well or have any recommendations to make my steps better, please let me […]

Read More
| by TheIneptOne | No comments

Ubiquiti Syslog Server

Ubiquiti’s Unifi line doesn’t really provide any logging and sometimes I need to see a little more to diagnose an issue. Here’s my setup for a quick an dirty Syslog server. Syslog Installation Syslog is available in the default Ubuntu repositories sudo apt install rsyslog Once installed, edit the conf file sudo nano /etc/rsyslog.conf Uncomment […]

Read More