tom's blog logo

Backup cisco config with Rancid and an Unprivileged user

RANCID is a tool for backing up network devices configuration and versioning the backups. It was originally intended to backup Cisco configurations it does this by logging in to the devices using either telnet or ssh and then runs a series of commands. In a default set up it runs multiple commands and captures the …

WCF Services and Multiple Bindings in IIS

When you have mutlitple bindings in IIS and have a WCF Service defined you may get the bellow error: “This collection already containes an address with scheme http. There can be at most one address per scheme in this collection.” This happens when you have mutlitple bindings on the IIS Web Site i.e. HTTP and …

GHOST glibc Vulnerability CVE-2015-0235

GHOST A new dangerous and wide spread vulnerability has been found in the GNU C Library (glib) and has been nicknamed GHOST after the function that is affected, the real name for this is CVE-2015-0235. The work carried out by Qualys (https://community.qualys.com/blogs/laws-of-vulnerabilities/2015/01/27/the-ghost-vulnerability) has found that certain functions in the library are vulnerable to a buffer overflow …

Zenithink ZT280 C71 update problem

I recently purchased a Zenithing C71 tablet and was surprised at how good it was for the price. The main seeling point for me was the capacitive touch screen as most tablets at the same price only have resistive touch screen which just doesnt cut it, I just can’t do with out multi touch anymore. …

Learning Nagios 4 – Review

Packt Publishing    Learning Nagios 4 by Wojciech Kocjan is a one stop shop for Nagios. It covers a multitude of areas from building Nagios from source to developing your own plugins. Synopsis “The book is a practical guide to setting up Nagios 4, an open source network monitoring tool. It is a system that …

Recent Blogs

GHOST glibc Vulnerability CVE-2015-0235

GHOST A new dangerous and wide spread vulnerability has been found in the GNU C Library (glib) and has been nicknamed GHOST after the function that is affected, the real name for this is CVE-2015-0235. The work carried out by Qualys (https://community.qualys.com/blogs/laws-of-vulnerabilities/2015/01/27/the-ghost-vulnerability) has found that certain functions in the library are vulnerable to a buffer overflow …

Learning Nagios 4 – Review

Packt Publishing    Learning Nagios 4 by Wojciech Kocjan is a one stop shop for Nagios. It covers a multitude of areas from building Nagios from source to developing your own plugins. Synopsis “The book is a practical guide to setting up Nagios 4, an open source network monitoring tool. It is a system that …

Alienvault LVM Partitioning

Alienvault by default installs just one partition and in some cases errors on some installations, by editing the preseed file you can split the partitioning up with LVM  and avoid any errors. Best practice is to split up the filesystem in to separate sections so filling up /var does not corrupt the main root partition, …

Nagios – Check a Process CPU and Memory

A check plugin for Nagios to monitor processes and their utilization of system resources. check_cpu_proc.zip This plugin takes in a process name and then uses the command ps to work out how much memory and cpu all the processes of that name are taking up in percentage. It will output performance data for CPU Usage …

Create RRD of Requests Per Second from W3c Log

Analysing your Web Server logs be it apache or IIS can be a big task and one well suited for tool such as awstats. Awstats gives you a good overall view of traffic and stats for your site but a stat I always want to look at is requests per second as it has a …

C++ Eclipse and CURL Libraries

I’ve been working on a new C++ project with Eclipse and the CURL libraries and have been getting an undefined reference error. I use Eclipse for all my IDE needs and combined with Eclipse CDT it is great for C++ projects. Whilst testing out the CURL libraries for my new project I encounter a problem with …

Varnish Nagios Performance Plugin

Varnish is a web application accelerator and sits in front of your web server. It speeds up your application by caching some, if not all of the content meaning it reduces the load on your web server and can reduce the load on you backend as less lookups will be needed by the frontend. As varnish is the first …

WCF Services and Multiple Bindings in IIS

When you have mutlitple bindings in IIS and have a WCF Service defined you may get the bellow error: “This collection already containes an address with scheme http. There can be at most one address per scheme in this collection.” This happens when you have mutlitple bindings on the IIS Web Site i.e. HTTP and …

Backup cisco config with Rancid and an Unprivileged user

RANCID is a tool for backing up network devices configuration and versioning the backups. It was originally intended to backup Cisco configurations it does this by logging in to the devices using either telnet or ssh and then runs a series of commands. In a default set up it runs multiple commands and captures the …

F5 LTM Virtual Server Health and Performance Check Nagios Plugin

A plugin for nagios to check the state of virtual servers on an LTM as well as creating Performance Data output on the amount of connections to each Virtual Server.  The plugin is written in PHP and uses SNMP to gather the statuses of each Virtual Server. The plugin currently only supports SNMPv2 and has …