Thoughts about a custom plugin

Paulus, Jake jpaulus at sourceinterlink.com
Sun Jul 20 18:26:19 CEST 2008


Using NRPE, the check scripts (like check_ping, etc.) would be run on
"DUAL HOMES Machine" but kicked off by NAGIOS Host.


-----Original Message-----
From: Stan Brown [mailto:stanb at panix.com] 
Sent: Sunday, July 20, 2008 11:17 AM
To: Paulus, Jake
Cc: nagios List; Stewart Flood
Subject: Re: [Nagios-users] Thoughts about a custom plugin

On Sun, Jul 20, 2008 at 10:46:39AM -0400, Paulus, Jake wrote:
> You should really look into NRPE (Nagios Remote Plugin Execution)
> http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe
> 
> There are alternate versions of NRPE that run on Windows, etc. if you
> must do that. Check out NagiosExchange.org for those.
> 
> You should find that you can use normal plugins you already use
> elsewhere with NRPE to do what you need.
> 
I'm not certain this is intended for exactly the application I have.
perhaps
it is, and I am misunderstanding it. let me clarify my application a bit
with an ASCI diagram:

   ------------           -------------        --------------
   |          |          |            |        |            |
   | NAGIOS   |----------| DUAL       |        | TARGET     |
   | Host     |          | HOMED      |---+----|            |
   |          |          | Machine    |   |    |            |
   |          |          |            |   |    |            |
   ------------           -------------   |    --------------
                                          |
                                          |    --------------
                                          |    |            |
                                          |    | TARGET     |
                                          +----|            |
                                          |    |            |
                                          |    |            |
                                          |    --------------
                                          ~

The Nagios host can get to the dual homed machine, and I can use all the
standard plugins to get status from it. What I want to do is get status
from
the TARGETS. 

Are you suggesting using NAPE running on the dual homed machines? And
somehow
using this to query the targets? The web page you pointed out makes me
believe that NAPE is intended to allow me to execute checks on a
reachable
machine, by using local scripts there, rather than having the NAGIOS
machine
use the more traditional check_* plugins.

Am I confused?
-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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