際際滷

際際滷Share a Scribd company logo
TheEye
The Eye
monitoring sucks!
 lots of checks
 lots of noti鍖es
 lots of effort to set up
lots of redundant
      bullshit
The Eye
all I want to know is ...
is that beast working?
test driven monitoring
         FTW
 write tests for a project
 consistency and functionality and ...
 run those tests every n minutes
 track the outcome
 i am not interested if memory is up 1GB
 i am not interested if network traf鍖c is
  lower or higher

 i am not interested if CPU is maxed out
as long as ...

 the tests pass
 the response times are low enough
 the beast is working and can be used
and if things go wrong?
The Eye
_then_ we need

 host infos
 pretty pictures
 as much info we can get about everything
but _only_ then!
test driven monitoring?
TheEye
use Test::More tests => 4;
use Test::WWW::Mechanize;

my $mech = Test::WWW::Mechanize->new;
$mech->get_ok('http://github.com');
$mech->base_is('http://github.com');
$mech->title_is("Secure source...");
$mech->content_contains("git reposi...");
The Eye
easy!
the rest?
collectd!
links

   http://github.com/norbu09/
    TheEye
   http://collectd.org/
credits


   Lord of the Rings (鍖lm by Peter Jackson)

   http://www.鍖ickr.com/photos/pneumatic_transport/

   http://www.鍖ickr.com/photos/puppydogbites/

More Related Content

The Eye