Cacti authentication using Cisco ACS

The scenario is that we have a cacti install (0.8.7e) running on an Ubuntu box using only a single user/pass but would like users to authenticate individually to cacti. We  use a Cisco ACS server to authenticate access to all our…

Read More

Adding Smoketrace to a Smokeping install

Smokeping is a very good latency monitoring  tool that runs on Linux and is easy to install via “apt-get install smokeping”. With Ubuntu the addition tool, Smoketrace is currently not included in the 2.003006 version from the repository. It is quite…

Read More

Recursively chmod specific files

Every now and then I need to chmod all my media files to make sure they are accessible by various things. Usually its only one filetype at a time eg. mp3s. The normal chmod -R 744 *.mp3 wont acomplish this so I use the…

Read More

How to install and use snmpwalk

Snmpwalk is a great tool for Linux boxes. You can easily list all OIDs a SNMP host has to offer then filter the results to your needs and find OIDs to import into tools like Cacti. Snmpwalk is in most…

Read More

Vi display line number

Quite a few times its been useful to see the line number while editing a file. Easily done too :’) Heres our poor file without an line numbering….. Now we use the command :set number (the colon is needed too)…

Read More

Auto mount partition with fstab

To mount a partition on boot you can edit the /etc/fstab file. First create a mount point mkdir /mnt/DATA Then open /etc/fstab in vi and add something along the lines of the following at the end of the file vi…

Read More

Grub failing to boot Windows XP

The problem: I have a separate drive for windows and linux. Grub was struggling to boot windows i would get “file system type uknown, parition type 0x7” I got this error using a grub config of root (hd1,0)1 makeactive chainloader…

Read More

Redirect root’s email

The idea: Say to want to redirect all mail bound for root to another chosen account. Lots of things send mail to root by default so a good way to catch this easily. [user@somehost ~]# vi /etc/aliases Then PgDn to…

Read More

General Linux Commands

Just a small collection of commands that I will add to as I find them….. Getting around + File commands cd – changes to your home directory rm -rf – removes a directory without prompting. USE WITH CAUTION!!!!!! cd /home/someguy…

Read More