Kontrollbase gets a new default theme

I couldn’t take staring at the default theme anymore so I enabled the Slate CSS. Unless I get sick of this one, it will be the default from here on out. Maybe I’ll make a theme chooser at some point as well. Here’s a screenshot of the Slate theme enabled.  If you’re inclined to enable this on your older version it’s very simple. There are two files to touch: system/application/views/header.php and header_host.php

Add the following to line 41 on header.php and line 44 on header_host.php
<link rel="stylesheet" type="text/css" href="$nroot/includes/extjs/resources/css/xtheme-slate.css" />

If your line numbers are different, basically you just want that css file include to be directly below the “ext-all.css” css include file. If you break it then you probably did something wrong. I recommend making a backup of the files before editing just to be sure. Of course you’ll want to make sure that the “includes/extjs/resources/css/xtheme-slate.css” file exists before trying to include it.

Slate theme

Read More

Kontrollbase screenshots are posted

It’s taken a while – for no good reason – but the Kontrollbase screenshots are online for viewing pleasure. There are a couple of the overall environment as well as several of the host-specific pages. Check them out here: http://kontrollsoft.com/screenshots

Read More

Kontrollbase gets Memcache support

After working with Memcache on another application I figured that Kontrollbase could benefit from it as well. Expect in the next release (coming this week), easily configurable support for memcache. This makes use of the memcache library for CodeIgniter talked about here: http://codeigniter.com/forums/viewthread/72538/

In the config.php file you just enable it and set the proper connection parameters.

$config['memcache_enabled'] = TRUE;
$config['memcache_ip'] = '127.0.0.1';
$config['memcache_port'] = '11211';

In the main controller I added the following code to the index and host functions.

$this->load->library('cache');
// memcache library information
$memcache = $this->config->item('memcache_enabled');
if($memcache == TRUE) {
$memcache_ip = $this->config->item('memcache_ip');
$memcache_port = $this->config->item('memcache_port');
$memcache = $this->cache->useMemcache($memcache_ip, $memcache_port);
if(!$memcache) {
log_message('debug', "Memcache connection failure.");
show_error("Memcache library not enabled correctly.");
}
else {
log_message('debug', "Memcache enabled!");
}
}
else {
log_message('debug', "Memcache not enabled in config.");
}
//end memcache

And then to load the view into the cache we see this later on…

$this->cache->save('cachedMain',$this->load->view('main/main', $g, TRUE),NULL,3600);

Read More

Kontrollbase gets new tabs for server cnf/stats/vars

Added some new code to Kontrollbase to allow you to view the cnf file on each host, as well as all of the global variables and global status information that was collected from the most recent polling period. Here are some screencaps.

cnf file display

global statistics display

global variables display

Read More

NPR helps out with Kontrollbase

Shain Miley from NPR has recently become a contributor to the Kontrollbase project. He’s been knocking out some of the bugs in the last release and adding good features as well – socket support for the client, server state checks, and many other nice additions. His code will be included with the next release, but if you’re impatient you can grab the latest release from subversion here: http://code.google.com/p/kontrollbase/source/checkout

Read More

Kontrollbase 2.0.1-beta revision 21 is available

You can see the change list here: https://fedorahosted.org/kontrollbase/timeline
You can download the new version here: http://kontrollsoft.com/software-downloads

Read More

Kontrollbase 2.0.1 Beta is Available – Download Now!

Today is a big day! The beta code is out and ready for downloading. This release does not have the branding or css changes that will be coming out soon – so for the time being you’ll be looking at the default css styling from the extjs library. Regardless, all of the features are working and the installer will hopefully make your experience painless.

Read about the release here: http://kontrollsoft.com/software-kontrollbase
Download the release here: http://kontrollsoft.com/software-downloads
Read the documentation here: http://kontrollsoft.com/kontrollbase/userguide/toc.php

As usual, please let me know your feedback so we can all make this a better product. If you have an issue, please submit a ticket here: https://fedorahosted.org/kontrollbase/newticket ( you will need to register for an account if you want to submit a bug: https://admin.fedoraproject.org/accounts/user/new ). If you don’t want to create an account, just email me directly with the issue.

Read More

Daily growth expectations for Kontrollbase

Data storage requirements for Kontrollbase [monolith] server_statistics + server_report tables. These are the tables that accept incoming data from the polling processes. They hold the historical data for each server that’s being monitored.

AVG Per Server
Assuming stats every 10 minutes = 144/day
Assuming reports every hour = 24/day
10K for one row of server_statistics: 1.44 mb
16K for one row of server_report every hour: 390K
TOTAL: 1.82M/day of data collected per server

Read More

On the reporting engine, and a new name – Kontrollbase

Update for all of those that are following the progress of Monolith. I’ve been busy this week coding the reporting engine – the code that analyses the hundreds of variables that are being collected – and I’m pleased to say that Perl was the correct choice for this application.Installation on the client servers will be a breeze, and relatively few non-standard modules are required for the server application.

I’ve been silently wondering for some time if the reporting engine equations should be part of a pluggable system (stored in the database) or if they should be hard coded. After writing up all of the equations, I’ve come to the conclusion that, for a quicker release, the equations and reporting engine will be hard-coded this time around for the default system alerts. Howeve -> user-defined alerts will be pluggable. Revisions ahead of 2.0 might feature pluggable main equations but I want v2.0 out asap.

Second bit of news on the application is that any users that were requesting a simple web-based install with a single config file have now gotten their wish. It’s a much streamlined process this time around.

And the final news is that I have decided to change the name of Monolith. There’s an app on the MySQL site that is from the Monolith company and it does monitoring along the lines of Zenoss – as in site wide monitoring that isn’t MySQL specific like my software. As such, to keep the projects easier to differentiate – my Monolith app will be released under the name of Kontrollbase. Kontroll is Swedish for control, and seeing as MySQL is originally Swedish and that the app helps you control the performance of MySQL… there it is. So, from now on Monolith will be referred to as Kontrollbase.

Things are looking up for release 2 and it’s coming along with good speed. More later… back to coding.

Read More