Posts

Showing posts from September, 2011

Stashboard

A very basic dashboard for monitoring cloud based services such as EC2 instances etc The open source status page for cloud services and APIs. http://www.stashboard.org/

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 http://www.purplepixie.org/freenats/

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 # http://www.monitorix.org/downloads.html # Download the latest version for your arch e.g. CentOS wget http://www.monitorix.org/monitorix-2.3.0-1.noarch.rpm # Install RPM rpm -ivh monitorix-2.3.0-1.noarch.rpm # Start the collection agent service monitorix start Happy monitoring!!

Coffescript

CoffeeScript is a new programming language that compiles to javascript you can download the latest version here from git http://jashkenas.github.com/coffee-script/ you can find a quick introduction to the key features / syntax here http://coffeescript-seattlejs.heroku.com/#36 http://www.codeproject.com/Articles/240308/A-brief-introduction-to-CoffeeScript

Make File Synch Easier

For anyone looking to replace rsynch unison is a very useful bi-directional file synch program http://www.cis.upenn.edu/~bcpierce/unison/

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://mysql.myserver.com:3306/";   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();   }   } }