Re: [Nagios-devel] Re: [netsaint] Grrr. Embedded Perl argument processing breaks Perl service handlers.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Re: [netsaint] Grrr. Embedded Perl argument processing breaks Perl service handlers.

Post by Guest »

Dear Sir,

On Tue, Oct 22, 2002 at 12:54:30PM -0400, Subhendu Ghosh wrote:
>
> I have been meaning to look at p1.pl.

Yep, this is the best - minimum impact place to do it.

Despite what I said before, it should only require quoting arguments
that can contain spaces - as people probably do now anyway - in
command.cfg and then having p1.pl split $ar allowing for quotes.

> One of the sugestions was to use
> Text::ParseWords module in p1.pl and go through @ARGV to allow spaces.
>

I'll have a look. I think a low tech solution would provide quite a lot
of benefit without too much work.

> Sorry I haven't had a lot of time to get into it.
>
> -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.





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: Stanley.Hopcroft@IPAustralia.Gov.AU
Locked