The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Wednesday, May 13, 2009

The good news is, I've got the source code! The bad news is, I'm debugging someone else's PHP application!

I finally got cacti installed on one of our client's firewalls (we're now managing their network, and they've been having “issues” with their network). It only required installing four packages from source, and troubleshooting pkg-config (hmm, it seems that on that particular system pkg-config, which the configure script for rrdtool requires, doesn't bother looking in /usr/local for stuff by default; I suppose I could file a bug with the OS vendor, but the answer from them would be “OH MY GOD, MAGNUM! YOU'RE USING WHAT VERSION? THAT'S FROM BEFORE THE DINOSAURS ROAMED THE EARTH! DON'T EVEN LOOK AT US UNTIL YOU'VE INSTALLED THE LATEST UNTESTED VERSION OF OUR DISTRIBUTION AND EVEN THEN, YOU'LL BE TWENTY MINUTES OBSOLETE SO WE STILL WON'T TALK TO YOU!” because we're using a distribution that's what? A year old? Two? Well before the Earth roamed the Earth, so to speak <eyeroll/>—not that I'm bitter or anything) only to find cacti not working.

Well, it did work. cacti was gathering statistics, it just wasn't bothering to graph the results, which is rather important.

Great! I get to debug 71,000 lines of PHP! O frabjous day! Callooh! Callay! (I think I'm bitter because I had to write a C program to determine if the error was coming from PHP or rrdtool—sheesh!)

But I found the issue (an errant == instead of !=), and now it's drawing pretty graphs and we get to show the client that the network is working smoothly, it's Microshaftsoft Windows that's the problem …

Obligatory Picture

[The future's so bright, I gotta wear shades]

Obligatory Contact Info

Obligatory Feeds

Obligatory Links

Obligatory Miscellaneous

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site: https://boston.conman.org/, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

https://boston.conman.org/2000/08/01

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2024 by Sean Conner. All Rights Reserved.