I'm having issues where everything seems to work except for seeing actual data
in the main window. The Status Map works, and I can see all the dashboard
details at the top, and typing in search boxes produces results as well, but
clicking them results in the same blank window.
For testing purposes I'm debugging with 'HostStatus'.
It does a post to: /icinga-web/cronks/viewproc/icinga-host-template/json
sending the form encoded data "page_start=0&page_limit=30", and the response is:
object(IcingaApiSearchIdo)#186 (22) {
["substitutedColumns:private"]=>
array(0) {
}
["tableMap"]=>
array(19) {
["host"]=>
array(11) {
[0]=>
string(1) "h"
[1]=>
string(2) "oh"
[2]=>
string(1) "i"
[3]=>
[SNIP 2k lines]
}
["icingaType:protected"]=>
NULL
["columns:protected"]=>
bool(false)
["searchObject:private"]=>
bool(false)
}
Which looks like a really large object graph dump (of IcignaApiSearchIdo I
presume).
Part of that dump has:
["queryString"]=>
string(940) "select distinct h.icon_image AS
HOST_ICON_IMAGE,i.instance_name AS INSTANCE_NAME,oh.object_id AS
HOST_OBJECT_ID,oh.name1 AS HOST_NAME,h.alias AS HOST_ALIAS,h.display_name AS
HOST_DISPLAY_NAME,hs.current_state AS HOST_CURRENT_STATE,hs.last_check AS
HOST_LAST_CHECK,hs.last_state_change AS
HOST_LAST_STATE_CHANGE,hs.current_check_attempt AS
HOST_CURRENT_CHECK_ATTEMPT,hs.output AS HOST_OUTPUT,hs.max_check_attempts AS
HOST_MAX_CHECK_ATTEMPTS,h.instance_id AS
HOST_INSTANCE_ID,(hs.has_been_checked-hs.should_be_scheduled)*-1>0 AS
HOST_IS_PENDING from icinga_objects oh inner join icinga_hosts h on
h.host_object_id = oh.object_id inner join icinga_hoststatus hs on
hs.host_object_id = oh.object_id inner join icinga_instances i on
i.instance_id = h.instance_id where
oh.objecttype_id = 1 and h.config_type=1 order by oh.name1
ASC,hs.last_check DESC limit 0,30 "
}
Which when I manually query the DB results in 30 happy records.
When I go to the demo site, the exact same action thing results in:
{"resultRows":[{"host_icon":"","instance_name":
[SNIP lots of real data]
This basically sounds like: https://dev.icinga.org/issues/772 but I have the
latest of everything on 7/18/11.
Note that I don't get any errors in icinga-web/icinga/apache logs at all.
I'm happy to start adding trace statements, but I'm not too sure where to begin.
Thanks,
Jason
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users