Distributed monitoring: central collector doesn't seem to be able to run active checks

C. Bensend benny at bennyvision.com
Wed Aug 28 14:43:28 CEST 2013


> On 8/22/13 13:51, C. Bensend wrote:
>> CRITICAL: Return code of 127 is out of bounds. Make sure the plugin
>> youre trying to run actually exists. (worker: collector.domain.org)
>
> Hi,
>
> if this is the collector host, why does it have a mod-gearman worker
> installed? If nagios would have
> run the check by itself, there would be no hint about the worker in the
> error. So it seems like there
> is a worker started on your collector host which then grabs some checks
> but isn't able to execute them.

Oh ho!  I have multiple *gearman* processes running:

ps axuwwwwww | grep gearman
gearmand  5662  0.7  0.1 404672  2496 ?        Ssl  Aug17 118:29
/usr/sbin/gearmand -d -l /var/log/gearmand/gearmand.log
nagios    5712  0.0  0.0  38024   640 ?        Ss   Aug17   1:03
/usr/bin/mod_gearman_worker -d
--config=/etc/mod_gearman/mod_gearman_worker.conf
--pidfile=/var/mod_gearman/mod_gearman_worker.pid
nagios   25919  0.0  0.1 137492  3016 ?        S    07:38   0:00
/usr/bin/mod_gearman_worker -d
--config=/etc/mod_gearman/mod_gearman_worker.conf
--pidfile=/var/mod_gearman/mod_gearman_worker.pid

.. etc ..

Are you saying I just need gearmand running on the collector?  I'm
quite new to gearman, so I might have misunderstood which parts are
necessary where.  I can easily shut down the mod_gearman_worker
service, I just need to understand the consequences.

I assumed that this was a Nagios error - perhaps I just have my
gearman setup configured wrong.

Benny


-- 
"No matter how tempted I am with the prospect of unlimited power, I
will not consume any energy field bigger than my head."
                                  -- #22 on Peter Anspach's Evil
                                     Overlord list


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list