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

[dev.icinga.com #3463] ip address as field #973

Closed
icinga-migration opened this issue Nov 23, 2012 · 6 comments
Closed

[dev.icinga.com #3463] ip address as field #973

icinga-migration opened this issue Nov 23, 2012 · 6 comments

Comments

@icinga-migration
Copy link

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

Created by pdeneu on 2012-11-23 14:33:13 +00:00

Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2015-05-18 12:17:38 +00:00 (in Redmine)


Hello,

can you please add an ip-address field for host-template and service-template.

/icinga-web/app/modules/Api/config/views/host.xml
                h.alias AS HOST_ALIAS,
                +h.address AS HOST_ADDRESS,
                h.display_name AS HOST_DISPLAY_NAME,

/icinga-web/app/modules/Api/config/views/service.xml
                h.alias AS HOST_ALIAS,
                +h.address AS HOST_ADDRESS,
                h.display_name AS HOST_DISPLAY_NAME,

/icinga-web/app/modules/Cronks/data/xml/grid/icinga-service-template.xml
/icinga-web/app/modules/Cronks/data/xml/grid/icinga-host-template.xml  
        
+
+        
+            
+                HOST_ADDRESS
+            
+
+            
+                false
+                IP-Address
+
+            
+
+            
+                true
+
+                
+                extjs
+                appkit.ext.filter.api
+                text
+                host
+                HOST_ADDRESS
+                HOST_ADDRESS
+            
+
+            
+                true
+                false
+                ASC
+            
+        

Regards,
Philipp

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2012-11-24 22:30:15 +00:00

  • Target Version deleted 1.8.2

@icinga-migration
Copy link
Author

Updated by lilalkor on 2014-06-04 14:23:50 +00:00

As of version 1.11 issue still needed.

It would be really great, if you add that h.address AS HOST_ADDRESS definitions in app/modules/Api/config/views/host.xml and app/modules/Api/config/views/service.xml
In fact, I added it manually, but my DB-skills are terrible, and I can't make it work in queries with both hosts and services (ALL_PROBLEMS and OPEN_PROBLEMS, mb smth else), it queries different base. But it looks really simple to fix for somebody a bit more skilled.

Also would be nice to see something like that code in app/modules/Cronks/data/xml/grid/ templates. I added to

*icinga-all-host-problems.xml
icinga-all-problems-template.xml
icinga-all-service-problems.xml
icinga-host-template.xml
icinga-open-problems-template.xml
icinga-service-template.xml*

                HOST_ADDRESS
        

        
                true
                IP Address
                85
                
                        false
                

                
                        
                                Cronk.grid.ColumnRenderer
                                columnElement

                                
                                renderer
                                
                                        x-icinga-grid-link
                                                        
                                                                Click to connect to device
                                                        
                                
                        
                  
        

        
                true
                                
                extjs
                                appkit.ext.filter.api
                                
                                text
                                address
                                HOST_ADDRESS
                                HOST_ADDRESS
        

        
                true
                false

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-06-20 12:10:02 +00:00

  • Assigned to deleted jmosshammer
  • Target Version set to 1.12

@icinga-migration
Copy link
Author

Updated by mfrosch on 2014-11-18 13:53:33 +00:00

  • Target Version changed from 1.12 to Backlog

@icinga-migration
Copy link
Author

Updated by mfrosch on 2014-11-18 14:54:35 +00:00

  • Status changed from New to Feedback

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-03-12 19:43:29 +00:00

  • Status changed from Feedback to New

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

2 participants