Thoughts about a custom plugin

dave stern - e-mail.pluribus.unum dit.dash at gmail.com
Mon Jul 21 14:15:40 CEST 2008


This can be done without NRPE. We have a cluster on a private net.
The head node is visible from nagios so I wrote a plugin that lives
on the head node (The dual homed machine, in your case). On the nagios
side, a plugin ssh'es to the head node, runs the script which talks to
hosts on the private net and returns the output/status.

On Sun, Jul 20, 2008 at 11:17 AM, stan <stanb at panix.com> wrote:
> 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
>

-------------------------------------------------------------------------
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