Comments (23)
Strange, really strange. I will try to reproduce this.
from nagstamon.
@coolburner1337 kind of good news... the problem does not only occur on % services... at least with the demo server https://livedemos.mjs.de/icingaweb2.
Other findings are:
- the line 371 in IcingaWeb2.py, the one before the crash, tries to find the ID
IcingaModuleMonitoringFormsCommandObjectCheckNowCommandForm
in the Icinga output but this one is not existent. Looks like someone changed something at the Icinga side. - Even worse from a Nagstamon perspective - all IDs have some random suffix which makes it harder to find them.
- The used demo server uses 2.11.4, so your impression that it lasts longe is absolutely correct.
So investigations go further...
from nagstamon.
Please check the latest testing release.
from nagstamon.
Hi, the issue still persists even with the latest version "Nagstamon-3.13-20240108-win64_setup.exe" :-(
from nagstamon.
Can you please try the debugging version https://github.com/HenriWahl/Nagstamon/releases/download/latest/Nagstamon-3.13-20240108-win64_debug.zip to get some console output?
from nagstamon.
The console output is either:
Traceback (most recent call last):
File "Nagstamon\QUI_init_.py", line 4301, in recheck
File "Nagstamon\Servers\Generic.py", line 413, in set_recheck
File "Nagstamon\Servers\IcingaWeb2.py", line 372, in _set_recheck
AttributeError: 'NoneType' object has no attribute 'findNext'
Or:
Traceback (most recent call last):
File "Nagstamon\QUI_init_.py", line 4334, in recheck_all
File "Nagstamon\Servers\Generic.py", line 413, in set_recheck
File "Nagstamon\Servers\IcingaWeb2.py", line 372, in _set_recheck
AttributeError: 'NoneType' object has no attribute 'findNext'
from nagstamon.
@HenriWahl:
Do you have any idea on fixing that?
That would be nice! :-)
Thank you!
from nagstamon.
Can you send me the whole console output please?
from nagstamon.
from nagstamon.
@HenriWahl : Or do you mean something else?
Kind regards
from nagstamon.
@coolburner1337 no, thanks, I just hoped there would be more info but well, so this must be enough. 👍
from nagstamon.
Does it actually work if there is no % in the service name? The fn part is, that the form name IcingaModuleMonitoringFormsCommandObjectCheckNowCommandForm
which is lookded for and not found only exists in the Nagstamon codebase - I did not found any other trace of it.
from nagstamon.
Maybe it works with one of the other Icinga plugins in Nagstamon?
from nagstamon.
Does it actually work if there is no % in the service name?
Yes, it does. We have over 1000 services in Icinga and only the ones with a % in the service name make Nagstamon crash on recheck.
from nagstamon.
Maybe it works with one of the other Icinga plugins in Nagstamon?
I'll give it a try.
from nagstamon.
Sadly I'm not able to use the other Icinga plugins in Nagstamon. So the issue persists for me.
from nagstamon.
Just in case: you are allowed to recheck services on the monitoring Incinga2 Server?
from nagstamon.
And: What version of IcingaWeb2 do you use?
Update: I tested with https://icinga.com/demo, which uses Icinga 2.12.0 and there I only can connect via IncingaDB, not via IcingaWeb2. The latter seems to be somehow deprecated?
from nagstamon.
Just in case: you are allowed to recheck services on the monitoring Incinga2 Server?
Of cource we are! We are using the tool since years and everthing works fine, except then the icinga service name includes an %-sign ;-)
Actually we are using Icinga Version 2.14.1 with Icingaweb2 Version 2.12.1 -- so newer then icinga.com himself :-P -- and the connection works in Nagstamon.
We try to keep our Icinga environment and Nagstamon always up to date. So we face this issue with the %-sign since several versions of Icinga and Nagstamon. (Only that you know, this is not a new issue!)
from nagstamon.
Maybe you could send me the plain HTML of a Service status page or wherever in Icinga webinterface it is possible to trigger a recheck?
from nagstamon.
@HenriWahl : Hi, thanks for your investigation!
To your question... This kind of recheck works for us:
Do you need the plain HTML of this complete site, or?
from nagstamon.
Yes, this would be great. You could redact it or send as mail to [email protected] if you would not like to see its content here.
from nagstamon.
Please check latest release 3.13-20240221.
from nagstamon.
Related Issues (20)
- Nagstamon 3.14 - Changing network does not refresh the application HOT 1
- Nagstamon 3.14.0 and 3.10.1 not working with Zabbix 6.4.12 HOT 10
- Nagstamon-3.14.0-win64_setup.exe and threat W64/S-e4cd4610!Eldorado HOT 5
- nagstamon v3.14.0 on Win11 23H2 - icinga KeyError host_name HOT 2
- 3.14 locks up at start HOT 4
- Updating nagstatmon from 3.10.1 to 3.14.0 breaks on Windows 2022 HOT 4
- Nagstamon 3.14.0 and Zabbix 6.2.9 - All information copy not complate HOT 2
- Regex duration issue HOT 2
- ValueError when parsing QT_VERSION_STR HOT 10
- AttributeError with Icinga DB 1.2.0 / Icinga DB Web 1.1.2 HOT 2
- Help for integration HOT 3
- [Feature][Integration] Opsgenie HOT 2
- Display own columns from check_MK view in nagstamon HOT 2
- Sorting by duration not saved when restarting nagstamon (minor cosmetic problem) HOT 2
- Nagstamon 3.15-20240506, Fedora 40, Couldn't load VAAPI library HOT 8
- MacOS 14.5 no sound
- Nagstamon not filtering DOWN hosts for DURATION HOT 1
- Can you add universal release for Linux ? HOT 1
- Problem with settings in Nagstamon 3.14 in windows HOT 2
- check-mk saml auth with entra-id as idp HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nagstamon.