Icinga / icingaweb2-module-cube

Drill-down view for Icinga web 2 based on custom variables
GNU General Public License v2.0
45 stars 12 forks source link

Allow array and dictionary custom vars #15

Closed ClemensBW closed 2 years ago

ClemensBW commented 7 years ago

Hello,

can you please add a option to search in array of cust.vars? Looks very useful for comparison in the cube :)

Zappo-II commented 7 years ago

I have the impression that any Array configuration like this one...

object Host "Director-Test-Host" {
    import "default-host-template"
    address = "127.0.0.1"
    vars.my_value_array = [ "DeathStarPlans", "NotTheDroids" ]
}

...won't make it into the + Add a dimension drop down list at all.

If that is intended behaviour, then please consider this a feature request, otherwise this might be some kind of bug...

dnsmichi commented 6 years ago

Icinga Web 2 only has a JSON column available, that follows the request in Icinga Web 2 to use such for the filter editor. Unless there's some decision in Web 2 how to handle such, this feature request is more or less stalled.

mtdeguzis commented 4 years ago

Not sure if this would be a new request or not, but I feel the display of arrays for cubes is messy, or am I not doing this right? Cube dimensions with arrays just show test such as ['value1','value2']. With a strict square shape, these are hard to see if I assign more than 2 objects to an array.

nilmerg commented 2 years ago

With Icinga DB Web this is now possible. Works for array type variables fine as well with the latest release.