Plugin works interactively but not in Nagios
Stanley Hopcroft
Stanley.Hopcroft at ipaustralia.gov.au
Tue May 13 02:37:32 CEST 2003
Dear Sir,
I am writing to thank you for your letter and congratulate on you a very
useful and helpful suggestion in dealing with the FAQ of 'No output!'
from plugin (often a Perl plugin although not here).
On Mon, May 12, 2003 at 12:53:25PM -0400, Patrick LeBoutillier wrote:
> Jeff,
>
> Create your own plugin, just shell script that does something like:
>
> echo `date` >> /tmp/toto
> echo $* >> /tmp/toto
> /usr/local/nagios/libexec/check_http $*
>
> and place it instead of check_http (either on the file system or in the
> command config file.).
>
Would you like to submit an FAQ entry about this ?
See ttp://www.nagios.org/faqs/addfaq.php
I think it would be helpful and worthwhile.
> Then you will be able to see what args are passed and what's going on.
>
>
> Patrick
>
Thank you very much,
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.
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
_______________________________________________
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