Bug #3324

URL (Notes) are not visible in monitoring page (e.g. p=202)

Added by Ira Janßen almost 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:05/16/2012
Priority:NormalDue date:05/16/2012
Assignee:Ira Janßen% Done:

100%

Category:Centreon - MonitoringEstimated 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 almost 2 years ago

  • Status changed from New to Closed

#2 Updated by Quentin Garnier almost 2 years ago

Thanks.

Applied in changeset r13053.

#3 Updated by Quentin Garnier almost 2 years ago

Applied in changeset r13057.

Also available in: Atom PDF