Extreme long cgi queries for servicegroups with style summary.

Jelle Smet nagios at smetj.net
Fri Oct 8 12:03:21 CEST 2010


Jelle Smet <nagios <at> smetj.net> writes:

> 
> 
> Hi all,
> I'm running Nagios-3.2.0After upgrading to 3.2.2 and 3.2.3 I'm unable to 
create service group views.  All other views work without a problem.

Small update on this:
When executing the following on the commandline I get these results:

export REQUEST_METHOD=GET
export QUERY_STRING='servicegroup=database&style=summary'
export REMOTE_USER=smetj
strace /opt/nagios/sbin/status.cgi

Cache-Control: no-store
Pragma: no-cache
Refresh: 90
Last-Modified: Fri, 08 Oct 2010 09:31:31 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-type: text/html

<html>
<head>
<link rel="shortcut icon" href="/nagios/images/favicon.ico" type="image/ico">
<title>
Current Network Status
</title>

... snip .....
write(1, "<TABLE BORDER=1 CELLPADDING=0 CE"..., 61<TABLE BORDER=1 CELLPADDING=0 
CELLSPACING=0 CLASS='linkBox'>
) = 61
write(1, "<TR><TD CLASS=\'linkBox\'>\n", 25<TR><TD CLASS='linkBox'>
) = 25
write(1, "<a href=\'status.cgi?servicegroup"..., 114<a href='status.cgi?
servicegroup=database&style=detail'>View Service Status Detail For This Service 
Group</a><br>
) = 114
write(1, "<a href=\'status.cgi?servicegroup"..., 110<a href='status.cgi?
servicegroup=database&style=overview'>View Status Overview For This Service 
Group</a><br>
) = 110
write(1, "<a href=\'status.cgi?servicegroup"..., 110<a href='status.cgi?
servicegroup=database&style=grid'>View Service Status Grid For This Service 
Group</a><br>
) = 110
write(1, "<a href=\'status.cgi?servicegroup"..., 103<a href='status.cgi?
servicegroup=all&style=summary'>View Status Summary For All Service 
Groups</a><br>
) = 103
write(1, "</TD></TR>\n", 11</TD></TR>
)            = 11
write(1, "</TABLE>\n", 9</TABLE>
)               = 9
write(1, "</td>\n", 6</td>
)                  = 6
write(1, "<td align=center valign=top widt"..., 39<td align=center valign=top 
width=33%>
) = 39

******* HERE NOTHING HAPPENS FOR 5 MINUTES ***********

write(1, "<DIV CLASS=\'hostTotals\'>Host Sta"..., 49<DIV CLASS='hostTotals'>Host 
Status Totals</DIV>
) = 49
write(1, "<TABLE BORDER=0 CELLSPACING=0 CE"..., 45<TABLE BORDER=0 CELLSPACING=0 
CELLPADDING=0>
) = 45
write(1, "<TR><TD>\n", 9<TR><TD>
)               = 9
write(1, "<TABLE BORDER=1 CLASS=\'hostTotal"..., 36<TABLE BORDER=1 
CLASS='hostTotals'>
) = 36
write(1, "<TR>\n", 5<TR>
)                   = 5
write(1, "<TH CLASS=\'hostTotals\'><A CLASS="..., 115<TH CLASS='hostTotals'><A 
CLASS='hostTotals' HREF='status.cgi?
servicegroup=database&hoststatustypes=2'>Up</A></TH>
) = 115
write(1, "<TH CLASS=\'hostTotals\'><A CLASS="..., 117<TH CLASS='hostTotals'><A 
CLASS='hostTotals' HREF='status.cgi?
servicegroup=database&hoststatustypes=4'>Down</A></TH>
) = 117
write(1, "<TH CLASS=\'hostTotals\'><A CLASS="..., 124<TH CLASS='hostTotals'><A 
CLASS='hostTotals' HREF='status.cgi?
servicegroup=database&hoststatustypes=8'>Unreachable</A></TH>
) = 124
write(1, "<TH CLASS=\'hostTotals\'><A CLASS="..., 120<TH CLASS='hostTotals'><A 
CLASS='hostTotals' HREF='status.cgi?
servicegroup=database&hoststatustypes=1'>Pending</A></TH>
) = 120
write(1, "</TR>\n", 6</TR>
)                  = 6
write(1, "<TR>\n", 5<TR>
)                   = 5
write(1, "<TD CLASS=\'hostTotalsUP\'>129</TD"..., 34<TD 
CLASS='hostTotalsUP'>129</TD>
) = 34
write(1, "<TD CLASS=\'hostTotals\'>0</TD>\n", 30<TD CLASS='hostTotals'>0</TD>
) = 30
write(1, "<TD CLASS=\'hostTotals\'>0</TD>\n", 30<TD CLASS='hostTotals'>0</TD>
) = 30
write(1, "<TD CLASS=\'hostTotals\'>0</TD>\n", 30<TD CLASS='hostTotals'>0</TD>
) = 30

... snip ...




------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list