Tuesday, November 22, 2011

Bugzilla

Installing bugzilla vi apt-get didn't wind up with a working bugzilla. Not completely surprising, as maybe it works but just not as I expect it to. So I look at various installation instructions, Buzilla's own and Crazy Squirrel (how could I resist) I'm still sifting through the issues. Setting up a web site from the /usr/share/doc/bugzilla3/examples/ it now looks like

    DocumentRoot /usr/share/bugzilla3/web

    # Read /usr/share/doc/bugzilla3/README.Debian
    SetEnv X_BUGZILLA_SITE "custom"
    SetEnv X_BUGZILLA_WEBPATH "/"

   
        AddHandler cgi-script cgi
        DirectoryIndex index.cgi
        Options +Indexes +ExecCGI -MultiViews +SymLinksIfOwnerMatch +FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    

    
        Options +FollowSymLinks -Indexes
        AllowOverride None
        Order allow,deny
        Allow from all
    

    
        Options +FollowSymLinks -Indexes
        AllowOverride None
        Order allow,deny
        Allow from all
    

    
        Options +FollowSymLinks -Indexes
        AllowOverride None
        Order allow,deny
        Allow from all
    

Added bugs.pombi.com to /etc/hosts. Added 'custom' in the /etc/bugzilla3/sites directory, copying the localsettings and params files into it. Set the user & group to www-data (the user for httpd). Should be better now... But not.
Software error:

mkdir /var/lib/bugzilla3/custom: Permission denied at /usr/lib/perl5/Template/Provider.pm line 388
For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.
Looks like it's more permissions/configuration stuff. So I create directory and set the owner &c. Victory! I can file bugs on my own bugzilla. Woot!

Friday, November 18, 2011

Monitoring

I've been looking for an SNMP connection to JMX. I got the Java SNMP port working for Tomcat, but it's only exposes JVM properties. Java SNMP Got that bit working, installed snmp and checked it out a little. It works, but isn't impressive. The thing is, what I really want is nice graphs of my JMX properties. In ganglia, if it's not too much to ask. Seems there's jmxetric - an agent that answers the purpose. Connect the two. There's the Java MIB, much good it does me. Also jmxsh - a 'shell' for exploring and operating on JMX beans. Makes scripting a little more real.

Wednesday, November 16, 2011

Graphing

GEF? I love graphs. It seems I should therefore know what library I'd use. I'm not sure. jquery flot. Interactive graphs, but have to ship raw data. Might still be better (generation and bandwidth may be higher for an image generated on the server, particularly if someone can re-size or otherwise alter the image easily.)

Why is Java slow on linux

http://www.spec.org/jbb2005/ results look like typical Windows Server deploys are faster than linux deploys? Or am I reading something wrong?

Also, it's pretty clear that some vendors are better at tweaking than others: a bunch seem to top out before the 'theoretical' limit. HP and maybe Hitachi seem to tweak well...

Tuesday, November 15, 2011