Patches for embedded Perl support in 2.0 tarball ..

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Nov 5 02:56:23 CET 2004


Dear Folks,

Please find enclosed patches against the 2.0alpha tar ball on Nagios.ORG 
for the embedded Perl support.

(This tends to be a non volatile area so I hope the patches are Ok 
against the CVS; otherwise I will redo them).

The intent is

1 remove support for reallocating Perl interp after user specified 
number of checks

2 better support threaded Perls (make sure there is a PerlInterpreter 
*my_perl in scope when the API or macros are called).

3 move the Perl version specific code - the xsinit() protos and defs 
into their own headers and autogenned files (and out of utils.c)

Unfortunately not tested yet, and in any case at present can only be 
properly checked against 1.x Nag and non threaded Perls (although with 
Mr Jason Martins generous offer of a GenToo environment this should 
improve).

I think the changes are basically packaging; the functional changes in 
2.0 to this stuff (those in checks.c and p1.pl) seem to work ok in a 
back patched/unthreaded production 1.2 Nag.

Feedback welcome.

Yours sincerely.

-- 
Stanley Hopcroft

Network specialist, IT Infrastructure
IP Australia
Ph: (02) 6283 3189  Fax: (02) 6281 1353
PO Box 200 Woden  ACT 2606
http://www.ipaustralia.gov.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.in.pat
Type: application/patch
Size: 883 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041105/4272bbff/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checks.c.pat
Type: application/patch
Size: 1165 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041105/4272bbff/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.c.pat
Type: application/patch
Size: 862 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041105/4272bbff/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: epn_nagios.h
Type: application/patch
Size: 696 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041105/4272bbff/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios.c.pat
Type: application/patch
Size: 340 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041105/4272bbff/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utils.c.pat
Type: application/patch
Size: 5156 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041105/4272bbff/attachment-0005.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041105/4272bbff/attachment.txt>


More information about the Developers mailing list