Page 1 of 1

Re: [Nagios-devel] RFC embedded Perl Nagios changes: usability and performance.

Posted: Sun Jan 25, 2004 5:12 pm
by Guest
--+pHx0qQiF2pBVqBT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Dear Sir,

I am writing to thank you for your letter and congratulate you on the
heroic work that you have put into the HEAD branch.

It seems to me that you are in the midst of a massive undertaking.

Please accept my respect for your work and sincere good wishes for your
projects and your future. No work is wasted. There is bound to be a
great deal of pain in a work of creation like this but I hope that you
are satisfied and that

On Sun, Jan 04, 2004 at 07:09:49PM -0600, Ethan Galstad wrote:
> Hi Stanley -
>
> Your suggestions certainly sound worth pursuing. I try to stay as
> far away as possible from the epn code, but if you submit patches
> against CVS HEAD (2.x), I'll include them in 2.0. The one change I
> did make in 2.0 is add a config file option to unload/reload the epn
> after a certain number of uses to possibly help cut down on memory
> leaks (not sure if it will help though).
>

Patches are against HEAD (default) branch/revision of CVS on 26-Jan-2004
(Sydney/Aust time).

The patch files are

1 cand_checks.c.pat
2 can_utils.c.pat

bash-2.04$ md5 cand_utils.c.pat
MD5 (cand_utils.c.pat) = 3f55eb749053adbae74bbdcfbe8e31b8
bash-2.04$ md5 cand_checks.c.pat
MD5 (cand_checks.c.pat) = 34438f484d920889ef27a2b343594ae5
bash-2.04$

bash-2.04$ date
Mon Jan 26 11:23:22 EST 2004

bash-2.04$ head -10 ../Changelog
###################
Nagios Change Log
###################


2.0a1 - ??/??/????
------------------
* Added triggered downtime
* Basic adaptive monitoring features
* Added ability to retain scheduling information
bash-2.04$


bash-2.04$ patch < cand_checks.c.pat
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- checks.c.orig Mon Jan 26 11:08:57 2004
|+++ checks.c Mon Jan 26 11:13:53 2004
--------------------------
Patching file checks.c using Plan A...
Hunk #1 succeeded at 117.
Hunk #2 succeeded at 275.
Hunk #3 succeeded at 336.
Hunk #4 succeeded at 351.
Hunk #5 succeeded at 373.
done
bash-2.04$ patch < cand_utils.c.pat
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- utils.c.orig Mon Jan 26 11:09:03 2004
|+++ utils.c Mon Jan 26 11:14:11 2004
--------------------------
Patching file utils.c using Plan A...
Hunk #1 succeeded at 1828.
Hunk #2 succeeded at 1870.
Hunk #3 succeeded at 1947.
Hunk #4 succeeded at 1962.
Hunk #5 succeeded at 1986.
done

bash-2.04$ head -10 config.status
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host xena.aipo.gov.au:
#
# ./configure --with-perlcache --enable-embedded-perl
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
bash-2.04$

bash-2.04$ make nagios
cd ./base && make
gcc -g -O2
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing
-I/usr/local/include -I/usr/local/lib/perl5/5.6.1/mach/CORE
-DHAVE_CONFIG_H -DNSCORE -c broker.c
gcc -g -O2
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing
-I/usr/local/include -I/usr/local/lib/perl5/5.6.1/mach/CORE
-DHAVE_CONFIG_H -DNSCORE -c nebmods.c
nebmods.c: In function `neb_add_module':
nebmods.c:100: warning: assignment makes pointer from integer without a
cast
gcc -g -O2
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing
-I/usr/local/include -I/usr/local/lib/perl5/5.6.1/mach/CORE
-DHAVE_CONFIG_H -DNSCORE -c checks.c
gcc -g -O2
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing
-I/usr/local/include -I/usr/local/lib/perl5/5.6.1/mach/CORE
-DHAVE_CONFIG_H -DNSCORE -c config.c
gcc -g -O2
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing
-I/usr/local/include -I/usr/local/lib/perl5/5.6.1/mach/CORE
-DHAVE_CONFIG_H -DNSCORE -c commands.c
gcc -g -O2
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing
-I/usr/local/include -I/usr/local/lib/perl

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]