nagios_check_command issue
Dmitry Sivachenko
mitya at cavia.pp.ru
Thu Jun 9 11:40:03 CEST 2005
On Thu, Jun 09, 2005 at 10:36:07AM +0200, Andreas Ericsson wrote:
> Dmitry Sivachenko wrote:
> >Hello!
> >
> >The usage of check_nagios_command was removed in rev. 1.31 of cgiutils.c.
> >
> >Now we have the situation when 'check_nagios_command' variable is
> >documented, it's value is read by CGIs but it is not used at all.
> >
> >And we have no chance to notice via web interface that nagios process
> >received
> >SIGSEGV and died! We continue to monitor services and are happy that they
> >are working properly (in fact, they are just not monitored).
> >
> >Why this was done?
> >
>
> Because the check was broken.
>
> >Are there any plans to restore functionality that was present in
> >nagios-1.x?
> >
>
> Not that I know of. It should be fairly simple to add a check for mtime
> on the status.dat file and warn if it's higher than some predetermined
> value though.
>
I agree it is simple to fix check_nagios plugin.
But we should add back the code to cgiutils.c to execute this plugin and
diplay error in the generated web page if necessary.
Please do not remove the check for nagios presence from CGIs!
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
More information about the Developers
mailing list