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

Data fields / custom vars do not show up or take a long time to do so #57

Closed mtdeguzis closed 4 years ago

mtdeguzis commented 4 years ago

Describe the bug

It seems some of my data fields do not show up under services/hosts within Reporting > Cube (more often it's a service). I tried to see if any errors were thrown in icinga2.log or icingweb2.log and the Chrome browser console.

Is this a matter of propagation? I’ve seen this too when I delete a data field called “applications” (yes, confirming to delete dependent host assignments), and adding them, they never show up.

NOTE: This seems to apply to arrays, as my data list of string type shows up fine: image

To Reproduce

Provide a link to a live example, or an unambiguous set of steps to reproduce this issue. Include configuration, logs, etc. to reproduce, if relevant.

  1. Add data filed called "service_group" of type Array
  2. Add a few services to this array on any service apply/assignment rule.
  3. Deploy any changes if needed with Director
  4. Go to Cube and try to access this array.

Expected behavior

The array var should show up.

Screenshots

image image image image image

Your Environment

Include as many relevant details about the environment you experienced the problem in

Additional context

lippserd commented 4 years ago

Hi,

Thanks for the detailed report but we really do not support dicts or arrays as custom var values. That will change once we've implemented support for the Icinga DB as backend here.

You've already commented to #15 which is pretty much the same issue.

All the best, Eric

Mikesch-mp commented 4 years ago

@lipserd so many users that dont want to use IcingaDB are left behind? i think as long both monitoring modules are supported all "official" modules should work with same feature set.

lippserd commented 4 years ago

Schema issues especially with custom vars were one of the reasons to introduce Icinga DB. Icinga DB is where we move on. IDO will be deprecated once we've released the final version. I'm afraid but maintaining the same feature set can't and won't happen.

Mikesch-mp commented 4 years ago

Now iam complete confused, differs a lot from what was told on Camps/OSMC

lippserd commented 4 years ago

I don't know what your problem is, but please send a mail instead of spamming just some words to the issue tracker.

A mannered response would include at least a why you're confused because really what should I answer to that?