Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nagstamon query times out due to long loading times within Thruk webpage #27

Closed
MrMontesa opened this issue Jun 14, 2013 · 6 comments
Closed

Comments

@MrMontesa
Copy link

Hey,
I've read abot Thruk support on the Thruk mailing list. Nice feature for us, cause we're using Thruk as central display frontend for our 12 Nagios servers around the globe.

The problem is that querying the Thruk instance takes quite long and Nagstamon times out. With debugging enabled, I've seen the URL that is querried. This one works fine but needs 35 seconds to load. I bet that the timeout interval is set lower than that.

I havent found a timeout setting in Nagstamon config. Is it possible to set timeouts per Nagios/Icinga/whatever instance?
Or can I increase the overall timeout threshold to test the Thruk implementation?
Thanks for your grat tool!

@HenriWahl
Copy link
Owner

Hi,
Thruk support is going to be overhauled at the moment using JSON. Maybe this is going to be faster.

@sni
Copy link
Contributor

sni commented Jun 14, 2013

Updating to the latest Thruk version might also help as all backends will now be queried in parallel by default.

@MrMontesa
Copy link
Author

Thanks for your feedback guys. Thruk was not too old, but updated to the latest version via OMD-testing repo.
The loading times have reduced dramatically. Excellent job!
Nagstamon also tells me in debug mode that it is able to query the page, but gets empty result.
Debug line is:
DEBUG: 2013-06-14 13:38:57.018490 Thruk FetchURL: http://10.36.0.9/thruk/thruk/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=524288 CGI Data: None
And yes, on opening the page in browser I dont have any hosts/services to be displayed.

@HenriWahl
Copy link
Owner

I think with JSON support and redefined request URL it should display more - soon to come!

Sebastian notifications@github.com schrieb:

Thanks for your feedback guys. Thruk was not too old, but updated to
the latest version via OMD-testing repo.
The loading times have reduced dramatically. Excellent job!
Nagstamon also tells me in debug mode that it is able to query the
page, but gets empty result.
Debug line is:
DEBUG: 2013-06-14 13:38:57.018490 Thruk FetchURL: http://10.36.0.9/thruk/thruk/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=524288 CGI Data: None
And yes, on opening the page in browser I dont have any hosts/services
to be displayed.


Reply to this email directly or view it on GitHub:
#27 (comment)

Henri Wahl

IT Department
Leibniz-Institut fuer Festkoerper- u.Werkstoffforschung Dresden

tel: (03 51) 46 59 - 797
email: h.wahl@ifw-dresden.de
http://www.ifw-dresden.de

Nagios status monitor Nagstamon:http://nagstamon.ifw-dresden.de

DHCPv6 server dhcpy6d:
http://dhcpy6d.ifw-dresden.de

IFW Dresden e.V.
Helmholtzstrasse 20
D-01069 Dresden
Germany

VR Dresden Nr. 1369
Vorstand: Prof. Dr. Juergen Eckert, Dr. h.c. Dipl.-Finw. Rolf Pfrengle

@HenriWahl
Copy link
Owner

JSON support and form based login is now implemented - give it a try!

@MrMontesa
Copy link
Author

Thanks for your quick turnaround. I can confirm that Nagstamon is now working properly querying Thruk which is configured for 12 Nagios servers.
Great stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants