Skip to main content

Posts

Snavs - Anarchist (Mix)

AOL Pagetest Graphs

I am setting up a google code repository for a little tool I wrote to graph the response time of websites. Here is a screenshot:

Parking lot tree

This is the only tree available to park under in the north parking lot at my work.  I aim to park here, but have to leave by 5 or risk getting a tow away warning sticker on my window.

San Francisco

Here is a plate on the sidewalk in San Fran.  

Graphing Tomcat JVM Memory usage with munin

This plugin for Munin will show you the memory usage of your JVM that Tomcat is running in. This requires JDK 5+ and you must be starting your Tomcat with the jsvc command. This has been really useful in tuning the JVM memory settings for our Tomcat sites. You can click on the title to download the jstat__heap munin plugin. Place in in your /usr/share/munin/plugins directory then set a link in your /etc/munin/plugins/ directory with the name of jstat_www.domain.com_heap. You probably will have to also edit the /etc/munin/plugin-conf.d/munin-node file and add a jstat stanza for user root to execute the script.

The tao of pooh

I just started reading this book. This is a must read.

BackupPC - offsite host backups

I have been working with BackupPC for some time, and have created a script that will run through all the hosts and create a tar from the latest backup of that host, then compress is with pbzip2. Under the target directory, the script creates a directory for each host, then a dump file in that directory. There are 3 variables to this script that need to be set. $TARGETDIR = Directory to dump the tar files to. $DATADIR = Your BackupPC data/pc directory. $BACKUPPCBIN = Your BackupPC bin directory. Install pbzip2 and set -7 to the number of processors you want to use for compression, or change pbzip2 -7 to bzip2. Get the script here

Picking flowers

Zenoss + Munin plugins

Using Zenoss with Munin plugins I have started using Zenoss as a possible network/server monitoring alternative to using Nagios / Munin to monitor our network. I have started the Zenoss implementation but I am looking to extend what Zenoss can monitor. Munin has worked well for producing graphs of the systems, but it would be nice to integrate the functionality that Munin has into Zenoss and create a Zenpack that will monitor and graph all available Munin plugins running on a munin -client host. This would be really nice as our hosts already have the munin-node setup. I'm going to start with the Admin Guide to writing a ZenCommand and seeing if I can put together a script for Zenmodeler that will fetch the available plugins , the the info it needs about the plugin and start monitoring/graphing the service. I found a great Nagios plugin check_ munin to use to fetch the data from the host as a good example of getting the data from the node. I may rewrite i...

Using Smokeping

I use SmokePing quite a bit for measuring HTTP latency, so I thought I should put this page together.  Here are some Links for reading. Installing SmokePing Running Distributed Instances Probe Information Downloads

What have I been up to lately?

Two things.... Work and Hanging out with my favorite guy in the whole wide world.