Plugin source?? et-al
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Feb 27 05:45:05 CET 2004
Dear Folks,
I am writing to thank you for your letter and say,
> From: Subhendu Ghosh <sghosh at sghosh.org>
> To: Cal Lidderdale <cal.lidderdale at mci.com>
> Subject: Re: [Nagios-users] Plugin source?? et-al
>
> On Thu, 26 Feb 2004, Cal Lidderdale wrote:
>
> > What I'm really looing for is how, say check_ping, commuicates with Nagios.
> > Argv?
>
> Nagios (daemon) ->fork (Nagios) -> child (plugin)
>
> data is returned by reading the child's stdout/stderr via anon pipe
>
or if using ePN and the plugin is Perl
(v1.x Nagios) /tmp file
(v2.x Nagios) in core from the result of Perl_call_argv().
See base/checks.c.
> --
> -sg
>
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
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