-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #13233] Missing "display_name" field in Service tab #608
Comments
Updated by tobiasvdk on 2016-12-02 10:52:43 +00:00 As discussed with @tgelf this is a feature. You can have any character in your service object name so it's not necessary to have an extra property. What do you think? Do you have an use case? |
Updated by plarivee on 2016-12-02 11:18:29 +00:00 Only use case I cold see right now is being able to have "display_name" that are not unique. Not that big of a deal. example: I have a service with "apply for" that loops vhost MetaArray in Director. the service name is "VHOST: for the momment I inject directly in the database my service templates for director, so I can already set display_name like that. I manage them with puppet. |
Updated by tobiasvdk on 2016-12-02 13:08:42 +00:00 plarivee wrote:
|
Updated by geotek on 2016-12-04 10:07:01 +00:00 I would not miss the display name if obsoleted. As it is now, it does more harm than good. For example when manually cloning an object it happened more than once that the new object kept the display name of thr original object which was not intended. If the displayed names are not unique this ambiguity is calling for trouble in real world scenarios IMO. |
Updated by plarivee on 2016-12-04 13:43:08 +00:00 I disagree, Having the option to set display name is way simpler and less confusing when using apply rules for our end user. the configuration can then contain a { display_name: "google.com check port 80 blablabla" } That way we don't need our end users to enter the Name is for internal working of icinga and display_name is the friendly name, that is not neccessarly unique. geotek wrote:
|
it would be nice to have the display_name argument as a optional field 👍 |
I'm trying to create the Cluster Zone check(s) as described here. Is there another way to do this with a dynamically generated name without display name?
|
I would really appreciate this feature in the Icinga2 director. |
for anyone wondering, like @bahrpatrick. You can get the id of the service apply (look at your browser's address bar for it when looking at the apply in director, eg: http://172.17.0.2/icingaweb2/director/service?id=88). With that reference you can POST to the API like (forgive my pseudo-curl) My use case involves having different apply rules (where the custom fields are different) where I want the same display name among them all. I do agree this would be pretty cool to have in place. I'm not very familiar with Director's codebase, so I don't know how hard it would be to add the field to the Apply Rule view (assuming that's the only thing required). I might spare a couple of hours one of these days (no guarantee's, though) and try to add this. Would be a fun 😬. |
Currently, display_name in service is usefull for me. An example of my use. In a switch, I monitor each port with name "port--". Instead showing as service "port--" , I use display_name to set a meaninful name like "Port : Link to router X" This works without Director with manual configuration. I'm migrating to Director to make life easier with configuration. |
Please see here. And please do not hijack other peoples issues, this one is about the |
This is badly needed. Not every passive result sender can handle umlauts or specialchars in service names correctly. Any change we see the ability to set display_names in director in the near future? |
I'm migrating to the director and in my old config I use conventions to apply service groups depending on service names.
Also now I have the problem that I need a way to create URLs from service names, that are icingaweb2 compatible for use in notification scripts. Maybe a missing DSL convenience function? |
I'd really appreciate |
We are also finding more and more use cases where we need to change the name or the display_name through the director to accommodate requirements. Is there a roadmap to get this added? |
Same with the Grafana plugin. Since I switched to the director, graphs can't be rendered anymore because every service now is called like the display_name in the old config, eg. 'Total processes' instead of 'procs'. I'd rather not change the name of the apply rules just to make graphing work again but meanwhile confuse users of the web interface with shorthand names for services. |
Nevermind, I fixed it elsewhere. If anyone has the same setup and problem:
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/13233
Created by plarivee on 2016-11-17 18:56:02 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-12-04 13:43:08 +00:00 (in Redmine)
there is no "display_name" field in the service tab when creating / editing services
The text was updated successfully, but these errors were encountered: