minor bug in status.cgi
Ethan Galstad
nagios at nagios.org
Tue Mar 21 17:57:36 CET 2006
On 14 Mar 2006 at 20:48, Rejo Zenger wrote:
> Hi,
>
> Please, be aware that I'm not a coder, just a user. I believe I have
> found a minor bug in the status.cgi file, causing an error message
> while browsing the webinterface.
>
> To reproduce: from the sidebar choose "Servicegroup Summary", then
> choose one of the servicegroups, then click "View Status Overview For
> All Service Groups". As the variable in the linked url isn't set, the
> interface doesn't know what to show. I believe the fix is:
>
> ford:/usr/src# diff nagios2-2.0/cgi/status.c
> patch/nagios2-2.0/cgi/status.c 316c316 <
> printf("<a href='%s?servicegroup&style=overview'>View Status
> Overview For All Service Groups</a><br>\n",STATUS_CGI); --- >
> printf("<a
> href='%s?servicegroup=all&style=overview'>View Status Overview For
> All Service Groups</a><br>\n",STATUS_CGI);
Good catch! A patch will be in CVS shortly.
>
> The version of Nagios I'm running is:
>
> ford:/usr/src# nagios2 --version
>
> Nagios 2.0
> Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
> Last Modified: 02-07-2006
> [...]
>
> Another small thing I have noticed, but for which I don't have to
> little decent description: the p1.pl that was delivered with previous
> Nagios releases ("Revision 1.5 2005/01/20 02:12:12") has apparently
> been updated in the Nagios 2 release ("p1.pl for Nagios 2.0"). This
> new version breaks scripts that are usefull for SMTP checks that can
> be downloaded from <http://www.manubulon.com/nagios>.
Perhaps Stanley can chime in on this one. I'm not that familiar with
the guts of the embedded Perl interpreter. It seems to cause grief
for a lot of people, so I'm not even sure its worth including it in
future releases of Nagios.
>
>
> --
> Rejo Zenger <rejo at zenger.nl> https://rejo.zenger.nl
>
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
More information about the Developers
mailing list