This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
[dev.icinga.com #2681] Confusing use of display_name in JSON and CSV output #1002
Labels
Milestone
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2681
Created by trehn on 2012-06-12 21:28:28 +00:00
Assignee: ricardo
Status: Resolved (closed on 2012-06-18 11:51:42 +00:00)
Target Version: 1.7.1
Last Update: 2014-12-08 09:42:46 +00:00 (in Redmine)
Currently the host and service names provided via JSON/CSV come from display_name (if it is defined) or the internal name (if display_name is not defined). This is bad because a client cannot be sure if they're seeing a display_name or a normal name. Furthermore, the display_name cannot be used to submit commands and does not appear in the JSON/CSV output for host and service groups.
I will attach a patch that removes the abiguous behavior and (in JSON) exposes the display_name explicitly in a separate attribute. This way clients using JSON can issue commands to the correct hostnames, link hosts to hostgroups and still display pretty names.
Attachments
Changesets
2012-06-12 23:12:59 +00:00 by (unknown) 985bd5a
2012-06-12 23:26:17 +00:00 by ricardo 9d21426
2012-06-15 15:17:25 +00:00 by mfriedrich 7ee849e
The text was updated successfully, but these errors were encountered: