Quality of nagios packages in Sarge
Hi,
I want to raise some concern about the quality of the nagios-text
package in testing. There are a number of bug reports (at least
#239174, #257702, and #265467) that are fixed with the suggestion
mentioned in #239174. I also see that Madarasz Gergely has made
a suggestion about this bug in the changelog of #257702.
I've contacted Guido Trotter informally about this bug, as I
had noticed that he had done some NMUs for some nagios packages
recently. Apparently, this bug will not be fixed in time for
the Sarge release.
I just want to ask around on this list if there is absolutely no
way around this ? None of those reported bugs are filed as
grave, but maybe they should have been: eg. if state retention
doesn't work, it is impossible to make any change to Nagios
and even kill -HUP the main process (as is done via /etc/init.d/nagios
reload) without Nagios losing all its state data. Surely this
qualifies as a grave bug ?
I've compiled my own nagios-text package with this suggested
fix, and can confirm that it does indeed solve the problems
reported. However, I have not tested the nagios-pgsql package.
If there is any change of getting this bug fixed before the
Sarge release, I'd be willing to test things.
I am more interested in Sarge shipping with a workable nagios
package than filing a grave bug about this, so this is why I am
asking around on this list what could be done ...
Thanks in advance for any feedback...
While I am at it, I am also running with this /etc/init.d/nagios
script extra:
--- /home/sneppef/nagios-orig-package/nagios-1.2/debian/init.d
2004-08-30 22:59:45.000000000 +0200
+++ /etc/init.d/nagios 2004-08-31 02:06:40.000000000 +0200
@@ -42,10 +42,14 @@
fi
else
# Try discovering if nagios is alive checking its pid
- if kill -CHLD $( cat /var/run/nagios/$NAME.pid ) ; then
- return 1 # Isn't started
+ if [ -f /var/run/nagios/$NAME.pid ]; then
+ if kill -CHLD $( cat /var/run/nagios/$NAME.pid ) ; then
+ return 1 # Isn't started
+ else
+ return 0 # Is started
+ fi
else
- return 0 # Is started
+ return 1 # Isn't started
fi
fi
}
Regards,
Filip
Reply to: