Oct 012012


Due to some server outages I was looking for a tool that monitors internal and external web application on servers. The outtages were random, ping worked, web access to the installed applications didn’t work. The applications reported no interruptions, so it must be a network related issue. To report something more specific than ‘flaky access’ I wanted to get some more detailed records from my local machine. I looked around, didn’t find a tool at all, looked closer, found nagios, javamelody and other overkills, none of them really fit the purpose. The tool I have chosen is uptime.

The Tool: Uptime

Perfect little tool, after installation it requires to be started and then it works. I just added the sites I wanted to monitor. The best description of how to install and use it is this video: http://vimeo.com/39302164 If you run into issues, see below.


I ran into a couple of issues during installation:

  • I hadn’t npm installed
  • I had a version boost installed too new for mongodb. I had to downgrade it first, details here.
  • Mac Ports fails to compile if the port shall be installed from a volume that contains spaces (Macintosh HD 2 fails as install resource, Macintosh HD doesn’t)

Finally I installed it to my mac environment, below the (cleaned up) commands:


#downgrade boost

 cd /tmp

svn co  -r 93341 http://svn.macports.org/repository/macports/trunk/dports/devel/boost/’

cd boost

sudo port install

sudo port activate boost @1.49.0_0


#install and start mongodb

sudo port install mongodb

sudo port load mongodb


#install npm

sudo port install npm


#get uptime

cd ~/repo/github

git clone git://github.com/fzaninotto/uptime.git

npm install

node app.js


So far I added all desired machines for monitoring, interval is set to 15s.

    As reference I also added google to exclude events if my line isn’t working.

      Popularity: 10% [?]

      Tags: , , , ,