sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.

Home Page:http://www.thruk.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Business processes now unreliable

bradymd opened this issue · comments

Describe the bug

I'm getting a lot of Unknown status in the business processes which aren't true. If I refresh they clear for a while.
In the log I see these lines - these are business process items.

[2023/12/01 11:57:03][vuh-lb-mgp009.herts.ac.uk][ERROR] [cron] bp '1 - Login / IDM' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2165.
[2023/12/01 11:57:03][vuh-lb-mgp009.herts.ac.uk][ERROR] [cron] bp '1 - Studynet' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2165.
[2023/12/01 11:57:03][vuh-lb-mgp009.herts.ac.uk][ERROR] [cron] bp 'Infrastructure Load Balancers' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2165.

Thruk Version
thruk-3.10-36.2

To Reproduce
Well I only have the one service.

Expected behavior
It used to work so Im wondering if its load related. But line 2165? Maybe thats something else?

Screenshots
Just mainly UNKNOWN status which isn't true .. these are not genuine alerts. They refresh immediately OK/green.

Desktop (please complete the following information):
Im on mac, this system is on Rocky Linux 9

Additional context
I have about 211 "nodes" is the bp directory (just saying, its hard to re-create at the moment).

You seem to use the packages from the nightly/testing repository. Could you by chance update to the lastet daily pkg and see if it's gone already or if the line number changes.

thanks for clarification, that's the latest stable release which makes it easier for me to find the corresponding line in the code.