Questions tagged [thruk]

Naemon / Nagios / Icinga monitoring webinterface written in perl based on livestatus data.

Thruk is a monitoring webinterface for Naemon / Nagios / Icinga and compatible projects. It uses the livestatus API to fetch live data from those cores.

Useful Links

15 questions
2
votes
1 answer

Thruk - Get details using API

I want to know the possibility of getting the details which is listed in thruk interface using API calls. For example, I need to collect details which is listed under Host Groups --> Summary(Grid) tab using python script, I need to know whether any…
iamnewuser
  • 360
  • 1
  • 4
  • 16
1
vote
2 answers

Why systemctl doesn't return a value in an NRPE check?

I have a problem with an NRPE check that I wrote. It's a simple shell script that run "systemctl is-active [service_name]" and return the value to our Thruk. When I run the script directly with the user nrpe, it works : -bash-4.2$…
Grimmj0w
  • 11
  • 3
1
vote
1 answer

Thruk Business Process data export into elastic stack

We have our business processes configured in thruk and I want to visualize these business processes with our elastic stack, kibana in detail. I am searching for the possibility to export hourly, daily, etc. the status of the business processes and…
Mister Lamp
  • 345
  • 1
  • 4
  • 13
0
votes
0 answers

Naemon Check failure

I have a Naemon check that uses check_ldap plugin and passes the password as macro. Command returns OK on running manually on the server, however it shows Critical on thruk UI. Uses below flags : -H, -b, -p, -D, -3, -P, -a, -S Passing incorrect…
Anniya
  • 1
0
votes
0 answers

CheckMK 2.0.0p35 pnp4nagios graphs not working with Thruk 3.04

Hello Thruk Community, I have a CheckMK 2.0.0p35 RAW Edition working on Ubuntu 22.04.6 running Thruk 3.04 (latest release), I'm using pnp4nagios and livestatus integration just for reference as well. My issue is only with the graphs displaying…
0
votes
0 answers

Thruk Reporting module SLA calculation

Can you explain me how are calculated the SLA made by Thruk reporting module ? I use it to provide KPIs to my customer and he ask me the calculation rules. Thanks by advance.
0
votes
0 answers

Thruk audit logs

We have upgraded thruk from 2.26 to version 2.44 We want this audit log feature to work when users access thruk through website. logfile = /var/log/audit/thruk-%Y.%m.%d.log login = 1 logout = 1 session = 1 …
0
votes
1 answer

How to escape / in service name in thruk api call

I have lots of nagios services with forward slash in their names. When I try to acknowledge the service through thruk api, it returns error like below. request:…
renish
  • 3
  • 1
0
votes
1 answer

Is there a way in Thruk to extract the 'Expanded command' somewhere, via JSON, REST, or curl?

It shows up on the page, and I can see it in view source on chrome, but I do not appear to be able to get this info via curl, as the page stops loading - probably due to the JSON/js involved in formatting the page. is there a way to obtain this…
0
votes
1 answer

Thruk cgi authentication override

I have the latest version of thruk installed with naemon and livestatus. I want to be able to post commands from a python script to cmd.cgi from the same server without the interference of authentication. I have tried the settings…
0
votes
1 answer

How do I export all hosts and services from Thruk?

We use Thruk within our business as a front end to different nagios backend servers. I need to create a list of all the services and their hosts being monitored by these nagios servers but I cannot see an easy way to export a list. I have been to…
Matt B
  • 37
  • 6
0
votes
1 answer

Thruk Availability Report

I have installed Nagios Core 4.2.4 with Thruk integrated in it.I am trying to use the availability report feature in thruk through cli.Is there any API query I can use for that? Any help would be helpful and appreciated. Thanks in advance.
pradeep s
  • 9
  • 2
0
votes
1 answer

Thruk - Scripted Dashboard - get params from query string

Is it possible to get query string in scripted dashboard ? I tried to use CGI perl module in scripted dashboard, but with no success. The idea is to use scripted dashboard as template to generate thruk maps on the fly by using query params.
0
votes
2 answers

Thruk - templating - Add href when host is member of hostgroup

In the _block.tt its possible to add href when custom_vars_host is present. [% IF custom_vars_host.size > 0 %] [% FOREACH cust = custom_vars_host %] [% IF cust.key == "ilo" || cust.key == "drac") %]
-1
votes
1 answer

How can I hide passwords in Thruk?

So Thruk now has an option to obfuscate passwords and other sensitive information in the "Expanded command" field. I've turned that option on, but it doesn't appear to have done anything. I edited the thruk_local.conf file to add the code included…