Showing posts from September, 2011


A very basic dashboard for monitoring cloud based services such as EC2 instances etc The open source status page for cloud services and APIs.

Simple But Neat FreeNATS

FreeNATS is an open source PHP and MySQL based network status testing, alerting and reporting package. FreeNATS allows you to test your network and generate reporting to give you a bird's eye view of what is happening. FreeNATS allows you to test nodes with Ping Test (ICMP) HTTP/HTTPs Test (Web) IMAP/IMAPs Test POP3/POP3s Test MySQL Connection Test MySQL Queries Test TCP Port Test Ideal for light weight use. Not as good as Nagios or Zenoss but for a basic LAMP configuration where basic reporting / alerting is required this is a nice fit. Check it out

Monitorix - Easy Server Monitoring

Monitorix allows you to monitor system CPU load, file usage, disk I/O, network port activity, mysql statistics, apache statistics, system demand and much more. # Install pre-reqs yum install httpd yum install rrdtool rrdtool-perl yum install perl-libwww-perl perl-MailTools perl-MIME-Lite perl-CGI # Download RPMs from monitorix # # Download the latest version for your arch e.g. CentOS wget # Install RPM rpm -ivh monitorix-2.3.0-1.noarch.rpm # Start the collection agent service monitorix start Happy monitoring!!


CoffeeScript is a new programming language that compiles to javascript you can download the latest version here from git you can find a quick introduction to the key features / syntax here

Make File Synch Easier

For anyone looking to replace rsynch unison is a very useful bi-directional file synch program

Test Remote MySQL from JAVA

import java.sql.*; public class MysqlConnect{   public static void main(String[] args) {   System.out.println("MySQL Connect Example.");   Connection conn = null;   String url = "jdbc:mysql://";   String dbName = "my_database";   String driver = "com.mysql.jdbc.Driver";   String userName = "my_user";   String password = "my_password";   try {   Class.forName(driver).newInstance();   conn = DriverManager.getConnection(url+dbName,userName,password);   System.out.println("Connected to the database");   conn.close();   System.out.println("Disconnected from database");   } catch (Exception e) {   e.printStackTrace();   }   } }