Bug #3324
URL (Notes) are not visible in monitoring page (e.g. p=202)
| Status: | Closed | Start date: | 05/16/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | 05/16/2012 | |
| Assignee: | % Done: | 100% | ||
| Category: | Centreon - Monitoring | Estimated time: | 0.50 hour | |
| Target version: | Centreon 2.3.9 | |||
| Resolution: | fixed |
Description
Solution:
- Changed SQL statement -> missing config_type
- Changed wrong cache assignment
File: www/include/monitoring/status/Services/xml/ndo/serviceXML.php
Lines: 267-269
$DBRESULT = $obj->DBNdo->query("SELECT ns.service_object_id as service_object_id, ns.notes as service_notes, n
s.notes_url as service_notes_url, ns.action_url as service_action_url, ns.max_check_attempts as service_max_check_attempts, ns
.icon_image as service_icon_image, ns.display_name as service_display_name, ns.config_type as config_type FROM " . $obj->ndoPr
efix . "services as ns WHERE ns.service_object_id IN (" . implode(",", array_keys($ar_service_object_id)) . ")");
while ($service = $DBRESULT->fetchRow()) {
$ar_service_cache[$service['service_object_id'] . ":" . $service['config_type']] = $service;
Greets,
Ira
History
#1
Updated by Ira Janßen about 1 year ago
- Status changed from New to Closed
#2
Updated by Quentin Garnier about 1 year ago
Thanks.
Applied in changeset r13053.
#3
Updated by Quentin Garnier about 1 year ago
Applied in changeset r13057.