Categories
Linux OpenSUSE Sys Admin

OpenSUSE AutoYast/AutoInstall Howto Part 2

OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.

In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.

Part 2 – Creating and Customizing the AutoInstall file

In this part we will look at creating an AutoInstall file for use with AutoYast.

Categories
Cacti Sys Admin

Cacti Error XML hash version does not exist

I thought I would write a quick post on this error, it is very simple to fix. If you receive the following error when importing a Cacti Template:

Error: XML: Hash version does not exist

This simply means the template was generated on a version of Cacti newer than the one you are importing to. Don’t despair, there are simple upgrade instructions on the cacti website.

Just make sure you make a full backup of your database and Cacti webfiles before attempting the upgrade (As a cautionary tale, if you installed cacti from a package you should first check to see if an updated package is available. Package installs can sometimes put the different files required in different places)

Categories
Linux OpenSUSE Sys Admin

OpenSUSE AutoYast/AutoInstall Howto Part 1

OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.

In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.

Part 1 – Creating a repository for use with multiple systems

In this part we will look at creating a local install repository for use with installing OpenSUSE. This can be done in several ways, one from the CD/DVD or with an RSync’ed copy of the repository.

Categories
Cacti Linux Sys Admin

Monitoring Linux Disk Statistics with Cacti

I firstly want to acknowledge the work of Mark Round and Linux iostat monitoring with Cacti. The following work was inspired and based on the ideas found in Mark’s post.

My main objective when I started looking into disk monitoring was to get some similar stats into Cacti for Linux that can be found with the Windows PerfMon utility. I found Mark’s post and didn’t quite like the way it used cron to collect its statistics, and wanted something that I could easily add to snmpd.conf without needing to change much more. I was also keen on obtaining the mount point data for each partition as looking at “cciss/c0d0p3” doesn’t mean as much to management (and sometimes to me) and hopefully “/home” does.

Categories
Sys Admin Windows

Shortcut to hosts file on Windows

This one was shown to me a while back but I needed to use it today and remembered how much easier it is.

To quickly access the hosts file go Start -> Run -> Type drivers -> Ok.

This will bring up the folder before the hosts file, just double click into the etc directory from there.

The other method is to create a new shortcut on your Start Menu or Desktop with the following as the target

%windir%system32notepad.exe "c:WINDOWSsystem32driversetchosts"

Two easy methods to access your hosts file.