Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #2758] Overwriting a default template with a extensions does not work with parameter width #824

Closed
icinga-migration opened this issue Jun 29, 2012 · 2 comments
Assignees

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/2758

Created by mopp on 2012-06-29 18:22:20 +00:00

Assignee: mhein
Status: Assigned
Target Version: Backlog
Last Update: 2015-05-18 12:17:35 +00:00 (in Redmine)

Icinga Version: 1.6.0
Icinga Web Version: 1.6.0
IDO Version: 1.6.0
OS Version: Any
DB Type: MySQL
DB Version: 5.1
Browser Version: any

My idea was to overwrite certain fields of the default icinga-service-template.xml with a extension. For example the output column is to short. I want to extend the width, but I do not want to overwrite the original icinga-service-template.xml to make it survive the next update.
I created the file
app/modules/Cronks/data/xml/extensions/icinga-service-template-extension.xml
It is the original definition from icinga-service-template.xml, I only changed the name to Output_test and added width 320.
I can see the new name, but the column has not the defined size, it is very small. Looks like the mininmal size. If I modify the icinga-service-template.xml with the parameter width it works.
Content of the file icinga-service-template-extension.xml

                SERVICE_OUTPUT
            

            
                true
                Output_test
                320

                
                    
                        Cronk.grid.ColumnRenderer
                        customColumnPerfdataSanatized
                    
                
            

            
                false
            

            
                false
                false
@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-04-08 20:47:55 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mhein
  • Icinga Version set to 1
  • Icinga Web Version set to 1
  • IDO Version set to 1
  • OS Version set to Any
  • DB Type set to MySQL
  • DB Version set to 5
  • Browser Version set to any

i guess icinga web ignores the file with a different file name, even if the pattern match would indicate that.

@marius
better explaination?

@icinga-migration
Copy link
Author

Updated by berk on 2015-05-18 12:17:35 +00:00

  • Target Version set to Backlog

@icinga-migration icinga-migration added this to the Backlog milestone Jan 17, 2017
@dnsmichi dnsmichi removed this from the Backlog milestone Dec 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants