Icinga / icingaweb2-module-idoreports

Icinga IDO Reports provides host and service availability reports for Icinga based on the monitoring database (IDO).
GNU General Public License v2.0
34 stars 13 forks source link

idoreports not available after installation #38

Closed burningporch closed 2 years ago

burningporch commented 4 years ago

Describe the bug

After following the installation steps and enabling the idoreports module: The filter, breakdown or threshold options are not available when creating a new report

To Reproduce

Steps to reproduce the behavior:

  1. Click on "new Report". This opens a "New Report" tab with Name, Timeframe, Template, and Report fields

Expected behavior

After enabling idoreports expected behavior was to offer "Name, Timeframe, Report, Filter, Breakdown, Threshold" options when creating a new report.

Screenshots

icinga2

Your Environment

Additional context

no errors whatsoever in icingaweb2.log or apache log, it looks like the additional fields are just not loaded/rendered(?) I can create a "System" Report fine.

nilmerg commented 4 years ago

Hi, the idoreports module requires Icinga Web 2 in version 2.6 or higher. Please upgrade Icinga Web 2 and see if this solves the problem.

burningporch commented 4 years ago

Fat fingers, my bad: icingaweb2 is 2.6.2 (stock install from buster).

nilmerg commented 4 years ago

Okay, might this then be a permission problem? The user who wants to access these reports must have also access to the idoreports module.

burningporch commented 4 years ago

The user is administrator with "Allow everything(*)", the access to the module is also listed separately. And thank you for these suggestions! Still have not made any progress with this problem.

nilmerg commented 4 years ago

The log really doesn't show anything? Is the module visible (and enabled) in the UI? (Configuration -> Modules)

burningporch commented 4 years ago

Yes, I can disable and enable all modules both on the command line and via the UI, log level is on debug, no entries related to modules or reporting. To clarify: When both reporting module and idoreports are enabled, I should see the additional options when creating a report, correct? Currently, these are identical no matter if idoreports is enabled or disabled.

nilmerg commented 4 years ago

When both reporting module and idoreports are enabled, I should see the additional options when creating a report, correct?

Yes. You should be able to choose Host SLA and Service SLA in the report selection. Choosing either shows additional options then.

Just tried this on my end and it works fine with the versions you mentioned. Though there's no 0.10.0 of reporting, the latest is 0.9.2. Where did you get that from or is this a typo again?

burningporch commented 4 years ago

I grabbed it from github: https://github.com/Icinga/icingaweb2-module-reporting/blob/master/module.info shows 0.10.0 and that is also what is shown as the module version in icingaweb2

nilmerg commented 4 years ago

Well, then I'm out of ideas now. There's only thing I noticed and which I overlooked previously. Icinga Web 2.6.x does not support PHP 7.3, but you wrote you're running 7.3.14. Are you maybe using a different interpreter (PHP 5.6 or 7.0, 7.1) with a different logging configuration and the log there includes more hints?

nilmerg commented 2 years ago

Got no feedback. Closing.