Skip to content

Instantly share code, notes, and snippets.

View okoye's full-sized avatar
🇳🇬
I may be slow to respond.

Chuka Okoye okoye

🇳🇬
I may be slow to respond.
View GitHub Profile
========================================
== HAOSCAR Installation Wizard Running
========================================
========================================
== System Sanity Checks
========================================
--> checking to make sure system environment is sane
--> yup, system is sane
--> sanity check completed, proceeding to next step
========================================
Dependencies needed so far
sqlite3
python-sqlite3 bindings
lsb_release
linux_ha heartbeat
csync
Todo:
When implementing hardware monitoring plugins, make use of lm_sensors
[root@chuka binaries]# python haoscar_wizard.py
========================================
== HAOSCAR Installation Wizard Running
========================================
========================================
== System Sanity Checks
========================================
--> checking to make sure system environment is sane
--> yup, system is sane
--> sanity check completed, proceeding to next step
#! /usr/bin/env python
#A sample module used to test the functionality of the gathering system
import os
def open():
values = dict()
values["COMPONENT"] = "MySQL"
values["NAME"] = "Database_Monitor_Test"
@okoye
okoye / log
Created February 7, 2010 00:06
[root@develop binaries]# ./haoscar_configure -m primary
========================================
== HAOSCAR Installation Wizard Running
========================================
========================================
== System Sanity Checks
========================================
--> checking to make sure system environment is sane
--> yup, system is sane
--> sanity check completed, proceeding to next step
import java.util.ArrayList;
/**
* @author Chuka Okoye
*
*/
public class TrieStructure
{
import java.util.ArrayList;
/**
* @author Chuka Okoye
*
*/
public class TrieNode
{
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class TrieStructureTest
@okoye
okoye / foo
Created February 6, 2011 05:24
source ~/projects/virtualenv/python26/bin/activate
@okoye
okoye / knife.rb
Created October 31, 2012 07:19 — forked from jtimberman/knife.rb
Commented knife.rb for all the things
# Knife Configuration File.
#
# This is a Ruby DSL to set configuration parameters for Knife's
# general options. The default location for this file is
# ~/.chef/knife.rb. If multiple Chef repositories are used,
# per-repository configuration files can be created. A per repository
# configuration file must be .chef/knife.rb in the base directory of
# the Chef repository. For example,
#
# ~/Development/chef-repo/.chef/knife.rb