Nagios 2.9 and SIGHUP
Ethan Galstad
nagios at nagios.org
Mon Apr 30 23:14:32 CEST 2007
Andrea Gabellini wrote:
> Hi,
>
> I just upgraded from 2.8 to 2.9 on Solaris 10 and gcc 4.1.2.
>
> I noticed that if I send a reload (SIGHUP) to the 2.9, Nagios gets always SIGEXIT. With 2.8 Nagios
> gets the right value.
>
> I performed some tests, and finally moving the definition of sigs[x] from base/nagios.c to
> base/utils.c solve this problem. I don't know why, and I don't know if it's a Solaris or GCC problem.
>
> Attached there is the patch.
>
> Andrea
Thanks for the note Andrea. I found the same problem occurring under
OSX and it turned out to be a problem with defining the character array
as "char **sigs", instead of "char *sigs[35]". A patch will be in CVS
shortly.
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
More information about the Developers
mailing list