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

Problem with reporting, does not generate reports #1338

Closed r4f4m4r closed 6 months ago

r4f4m4r commented 6 months ago

Problem with reporting, does not generate reports

Thruk Version this appears in 3.12 and 3.10

It appears on both debian 12 and rocky 9, I tried several systems before reporting it.

If you do a clean install, the first thing that appears is a puppeter problem if you are going to generate a report. i have followed the steps to solve them as it comes in the installation web, (although this was not necessary in previous versions).

When I install puppeter what appears when I try to generate a report is:

imagen

I have tried to install chrome on the server itself, but the result is the same.

sni commented 6 months ago

did you use the install_puppeteer.sh script from thruk or did you install puppeteer manually?

r4f4m4r commented 6 months ago

I did it with the script, and that way an error that I had before disappears, in the main screen of report saying that the puppeter is not there, this capture I don't have it because that failure no longer appears to me.

r4f4m4r commented 6 months ago

I had another server and did not remember.

This is the error that appears initially, before executing the script:

imagen

when you run the scipt it disappears, but then remains the one I have reported in the issue.

sistemmsn commented 6 months ago

I had another server and did not remember.

This is the error that appears initially, before executing the script:

imagen

when you run the scipt it disappears, but then remains the one I have reported in the issue.

This is an error due to puppeteer in its recent versions, downgrade to version 21.11.0 edit the script on line 74

sni commented 6 months ago

ah, indeed, i forgot about that. The newest installer sticks to version 21.11.0 already: https://github.com/sni/Thruk/blob/master/script/install_puppeteer.sh#L11

r4f4m4r commented 6 months ago

With that modification, the script works great.

Thanks for everything to both of you!