sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
406 stars 147 forks source link

error when creating a report #1316

Open sistemmsn opened 10 months ago

sistemmsn commented 10 months ago

Describe the bug A clear and concise description of what the bug is.

Thruk Version 3.08 and 3.10

To Reproduce It happens when I know how to create a report

Expected behavior When I try to generate the report it works, but it does not add the pnp4nagios graphs, the parameters of pnp_export.sh were also modified so that it takes the graphs and it does not work, I do not know if it is due to the error presented, something else that is also I see what happens to me is when I look at the logs of the specific service, it gives an error

Screenshots

image image image

Desktop (please complete the following information): Chrome Versión 119.0.6045.106 (Build oficial) (64 bits) Edge Versión 118.0.2088.76 (Compilación oficial) (64 bits)

sni commented 10 months ago

I'd say this are 2 different issues. The javascript error comes from pnp4nagios and there is nothing thruk can do about it. But i'll have a look so it won't show up as error.

For the second issue, the logs would be interesting. Is there anything ex. in the thruk.log?

sistemmsn commented 7 months ago

These are logs, I am using the pnp4nagios version of: https://github.com/pnp4nagios/pnp4nagios/issues/48 vvv.log thruk.log pnp.log

sistemmsn commented 7 months ago

I have tested in Debian 11.9 and almalinux 8.9 obtaining the same result

sistemmsn commented 7 months ago

The reports with the graphics already worked for me

image Check this configuration in the documentation https://thruk.org/documentation/graphing.html

although when I create the reports the error still appears, I don't know why but now image