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
#! /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"
[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
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
========================================
== 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
========================================