Permalink
Browse files

Stand-alone monitoring (without web server and socket.io)

  • Loading branch information...
1 parent cf57d32 commit ea3ae3aecfce10403ecdd2b268c2e9c6e748ebc5 @dshaw committed Jun 30, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 monitor.js
View
@@ -0,0 +1,19 @@
+/*!
+ * redis-monitor
+ * Copyright(c) 2012 Daniel D. Shaw <dshaw@dshaw.com>
+ * MIT Licensed
+ */
+
+/**
+ * Module dependencies.
+ */
+
+var optimist = require('optimist')
+ , RedisMonitor = require('./redis-monitor')
+
+/**
+ * Configuration.
+ */
+
+var options = optimist.argv
+ , redisMonitor = RedisMonitor(options)

0 comments on commit ea3ae3a

Please sign in to comment.