Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #3529] STATE_TYPE in grid template in other templates #1004
This issue has been migrated from Redmine: https://dev.icinga.com/issues/3529
Created by dmikulski on 2013-01-11 12:40:10 +00:00
I've tried to inherit the Service Type ID to icinga-open-problems-template.site.xml to filter only Hard States. This is how I tried this:STATE\_TYPE true StateType
60true false false false
I think I don't get it. When I cutomize the templates for custom external links followed the guide https://wiki.icinga.org/display/Dev/ExternalLinks it works.
Tell me how I can get the STATE_TYPE into the template, please.
2013-10-13 20:59:10 +00:00 by dmikulski d8b3fac
Updated by dmikulski on 2013-01-25 18:56:43 +00:00
I think I've solved this issue due the good explaining guide from your development wiki.
First I've modified the view.xml to get my necessary values from the database for duration and the state_type. Then I modified the template for the cronk and added a new renderer and the styles required for it.
Would you mind to add this kind of Cronk as feature for future releases?
Updated by mfriedrich on 2013-04-08 22:04:36 +00:00
hm, i guess the revamped filtering in #3268 could get state type filtering as well, though i wouldn't change the open problems grid like the example shows - it's highly customized and eats up a lot of space.
Updated by mfrosch on 2013-09-09 13:20:02 +00:00
Could you create and test this for 1.10?
Updated by mfrosch on 2013-10-13 21:01:19 +00:00
Pushed to next:
Added "State type" column to all host/service Cronks
The column provides the information if the given state
On non-problem Cronks the column is hidden by default.
Filtering should be available everywhere.
Minor additions by Markus Frosch.