I was adding a few checks for oracle processes using check_snmp_runningproc and noticed a few problems. It seems that when the check returns a list of processes from a remote host it lowercases them all and attempts to strips out .e .ex and .exe extensions. The extensions used in the regular expression weren’t escaping...
Read more »
Tags: nagios, opsview
Posted in linux, perl | No Comments »
If you miss the notification that used to be in the 8.10 notification area telling you new updates are available you can get it back by quite easily by issuing the following command. gconftool -s --type bool /apps/update-notifier/auto_launch false Then you just kill and restart update-notifier and you will have your icon for update-notifier...
Read more »
Tags: linux, ubuntu
Posted in linux | No Comments »
This is just a quick look at cleaning up an Ubuntu system. This is all documented elsewhere by an abundance of people, some of whom I no doubt took this off in the past and have forgotten where now (If you’re that person, then thanks very much, this stff has been coming in handy...
Read more »
Tags: cleanup, linux, maintenance, space, ubuntu
Posted in linux | No Comments »
“GNS3 is a graphical network simulator that allows simulation of complex networks.” I was recently pointed in the direction of this app as a pretty nice graphical interface to the Dynamips / Dynagen router simulation. It still uses Dynamips / Dynagen underneath, along with Pemu (a Cisco PIX firewall emulator based on Qemu), but...
Read more »
Tags: cisco, dynagen, dynamips, ios, linux, networking, ubuntu
Posted in linux, networking | No Comments »
This is a slimmed down version of a combination of the Dynamips / Dynagen Tutorial and a few other Ubuntu specific sources. In fact, you could call it a quick and dirty guide to get you up and running. I reccommend using the Dynamips / Dynagen Tutorial once you have finished here picking up...
Read more »
Tags: cisco, dynagen, dynamips, ios, linux, networking, ubuntu
Posted in linux, networking | No Comments »
I’ve often found that I can’t delete items I’ve copied from a CD or DVD using the GUI Trash folder. In fact, this can happen with a variety of files from a variety of places but, to be honest, I have a habit of not correcting the permissions on these files before blindly hitting...
Read more »
Tags: bin, linux, terminal, trash, ubuntu
Posted in linux | No Comments »
Vim is what is known as a modal editor. While using it becomes very easy over time, learning it initially can be confusing and pretty irritating. This tutorial aims to give a basic run through of the most commonly used commands in Vim, Opening A File And Inserting Text The first step in vim...
Read more »
Tags: commands, editors, linux, text, tutorial, vim
Posted in linux | No Comments »
This script uses the Unix mailx program to send a pre-scripted email to someone. It will take in an email address on the command line as an argument and send the mail to this address. Just copy and paste this into a file named mailerscript and change the file permissions to 755 and then...
Read more »
Tags: bash, mail, mailer, script, shell
Posted in linux | No Comments »
In Linux is extremely easy to change your MAC address. All you need is a couple of commands. To start off you will need to take down the interface to make the change. To do so just type the following into your terminal: $ ifconfig eth0 down Now we can get to changing the...
Read more »
Tags: eth, interface, linux, mac, networking
Posted in linux, networking | No Comments »
The basis for this particular article (and most of the info) came from one of the guys I work with, Gavin McCullagh, who I’m pretty sure knows more stuff than is good for him. It’s all pretty handy stuff, but can be irritating to get working Forwarding X Server If you want to forward...
Read more »
Tags: linux, ssh, tunnel, tunneling
Posted in linux | No Comments »