On Fri, Sep 4, 2009 at 12:55, Leandro Quibem Magnabosco <
[email protected]> wrote:

>  Very interesting idea, Allan.
>
> I might implement something similar.
> If you don't mind, could you share more about this implementation?
>
>
What, stealing bits form autotest and nagios to implement a quick
services-check?

It's more trivial than you think; I don't have extotest anymore (the
original implementation) but I quickly assembled a bonehead example to
illustrate:

grab:     http://r.chickenandporn.com/nagtest-0.1.tar.bz2

or:
   wget -O - http://r.chickenandporn.com/nagtest-0.1.tar.bz2 | tar xjf - &&
\
   cd nagtest-0.1 && \
   ./configure && \
   make check


Edit tests-autotest/check*.at.in, autoconf finds the check_* plugins (with a
"helped" CHECK_PROG() ) and the testsuite iterates the hosts to check each.
 The configure.ac is just enough to get the programs.

Allan
-- 
[email protected]  "金鱼" http://linkedin.com/in/goldfish
http://tech.chickenandporn.com/tags/nagios
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to