Its now possible to install latest Nagios CORE version on Raspbian by following the steps in this article. Before writing this article I Googled for the same but couldn't find a single article covering install of latest version of Nagios on RasberryPi hence this guide. It has been fully tested and working on my personal RasPi.

This guide was originally written for Ubuntu but will work for Raspbian (Debian Jessie) flavour for RasberryPi as well. It might work for all debian distros but not guranteed, you can try it out yourself.

Add a comment

Its possible to use awk in Alias command. I did that by simply just modifying some parenthesis and there you go, had a working awk command.

All that it required was closing awk in double quotes as opposed to single quotes and forward slash before the "$" variable. This alias command is for printing the default Gateway for an interface.

 alias eth0-gw='route -n | grep eth0 | awk "NR==1{ print \$2 }"'
Add a comment

It's very easy to create a Kickstart tree in Spacewalk and that to in a Automated fashion for provisioning hosts. All you have to do is create a Base Channel for CentOS and then create a Repo and then marry both and then at the time of Repo sync choose the option of "Creating a kickstartable tree".

Add a comment

Its possible to configure Puppetdb with PostgreSQL as its much more manageable as compared to the in-built DB that comes with Puppetdb i.e. HSQLDB. Plus its much easier to query and troubleshoot any issues you comes across especially when using Puppet Hiera and exported resources. Follow this easy to follow guide and you should be up and running with a basic config of Puppetdb in no time.

Add a comment

Its possible to run a script via Alias command. All you need is to modify the .bashrc and then source the script in the required user profile. Alias commands are very useful when it comes to running shortened versions of commands or a complex script to be run using just a single line of command. Currently I use this to run 2 of my custom scripts for waking up a ESXi server via WOL (Wake-ON-LAN).

Add a comment