SNMPWalk 101

SNMP (Simple Network Management Protocol) is a protocol that can be used for monitoring and managing network connected devices. Personally I use it primarily for monitoring, it is a useful way to interrogate network connected devices for information about their status. For example querying to identify if a power supply has failed on a switch, … Read more

NagiosXI – REST API to Manipulate Objects

NagiosXI has a REST API that can be used to add, edit and remove objects from the configuration. Full details of the configuration and use of this can be found on your installation at: http://nagiosserver.domain.com/nagiosxi/help/?xiwindow=api.php (or you can find it through the Advanced Configuration menu). Each user has an APIKey which can also be found via … Read more

Linux Screen Basics

The “Screen” command is a very useful utility that allows you to create a session (or sessions) which you can run programs in, but in such a way that you can detach from the session (screen) if you needed to logoff your terminal or reboot your client machine, but without loosing what you were doing … Read more

Installing a Specific Ruby Version

We needed to install Ruby 2.7 instead of what normally comes with Ubuntu 20.04 LTS, if we installed a later than 2.7 Ruby version, the particular application (i.e. Staytus in this case) would barf. The nice people at BrightBox have created some packaged installs of Ruby at various versions.https://www.brightbox.com/docs/ruby/ubuntu/#adding-the-repositoryhttps://launchpad.net/~brightbox/+archive/ruby-ng (Latest version supported 20.04) We first … Read more

Tunnel Web Traffic via SSH Tunnel

Just a quick one, let’s say you need to tunnel some traffic over an SSH tunnel, its pretty simple to setup, in this example I’m wanting a local port 3128 on my local machine to be tunnelled over the SSH session to a remote server via another server (i.e. an SSH gateway). Okay, let’s break … Read more