Integrating Nagios with Test Driven Development
ranjib dey
dey.ranjib at gmail.com
Thu Jun 9 06:23:50 CEST 2011
Well, monitoring tools like nagios are more used against in production or
mission critical infrastructure/apps. While unit tests are a part of
development practices and there are dedicated tools (called as Continuous
Integration tools) used for checking unit tests outputs. Jenkin/Hudson,
crucise control, goldberg, Go etc are few of them. These tools can monitor a
code repository (git/svn/hg etc) and pull in new commits and then run the
unit/functional test automatically and then notify/alert accordingly.
If your unit tests are failing, then it means they are not going via a CI
tool. To me testing and monitoring are pretty different.
Never the less, i like the idea :-). We do use nagios-cucumber for work flow
monitoring against some of our apps.
On Thu, Jun 9, 2011 at 3:55 AM, Vonnahme, Nathan <
nathan.vonnahme at bannerhealth.com> wrote:
> Hello Nagios devs,
>
>
>
> I’ve been pretty dormant on these lists for a while, partly because our
> Nagios installation is humming along so merrily, and partly because my job
> has changed to be more development-oriented and less sysadmin-oriented. But
> I had a great idea (imho) last week and I’ve implemented and wrote about it
> and I want to share it with you and solicit feedback.
>
>
>
> In a nutshell, I’ve written a plugin to integrate Nagios with any software
> testing tool that emits TAP (Test Anything Protocol), such as Perl test
> scripts and unit and functional tests written in a bunch of different
> languages.
>
>
>
> I’ve described it in detail in a blog post:
>
>
> http://n8v.enteuxis.org/2011/06/integrating-nagios-with-test-driven-development/
>
>
>
> And the code is on GitHub:
>
> https://gist.github.com/1005409
>
>
>
> I’ve been pretty excited about the idea and have already been using it in
> production to improve several parts of our Nagios monitoring.
>
>
>
> Please take a look at it and let me know your thoughts via these lists or
> comments on the blog or Gist.
>
>
>
> Thanks,
>
> nathan
>
>
>
> --
>
> Nathan.Vonnahme at BannerHealth.com
>
> Software Engineer Sr at Fairbanks Memorial Hospital 1650 Cowles St,
> Fairbanks, Alaska 99701 907-458-5464
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20110609/166b948c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list