HenriWahl / Nagstamon

Nagios status monitor for your desktop.
https://nagstamon.de
Other
424 stars 178 forks source link

Update to v3.10.0 not working #860

Closed Ahlen76 closed 2 years ago

Ahlen76 commented 2 years ago

Hi I just update from v3.8.0 to v3.10.0. When Nagstamon startup I can view the OK view during 1-2 seconds. After that the process die. We are using OP5 Monitor and I'm sorry to tell that v3.10.0 doesn't work for us.

Ahlen76 commented 2 years ago

I used the install package Nagstamon-3.10.0-win64_setup.

HenriWahl commented 2 years ago

Bad news... Are you able to run Nagstamon from source in a terminal windows to get some crash output?

Which version of OP5 are you using?

Ahlen76 commented 2 years ago

Hi I'll guess this will help. It's looks like it is the new DDL file. But if you just send me back a quick guide I'll can run in terminal... if you need more info.

Log Name: Application Source: Application Error Date: 2022-10-28 07:24:33 Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A Computer: LC11020.corp.lan Description: Faulting application name: Nagstamon.exe, version: 0.0.0.0, time stamp: 0x635afee7 Faulting module name: Qt6Core.dll, version: 6.3.1.0, time stamp: 0x6298c2d2 Exception code: 0xc0000409 Fault offset: 0x00000000000103b8 Faulting process id: 0x46e8 Faulting application start time: 0x01d8ea8d8b97375a Faulting application path: C:\Program Files\Nagstamon\Nagstamon.exe Faulting module path: C:\Program Files\Nagstamon\PyQt6\Qt6\bin\Qt6Core.dll Report Id: d0a38740-ddc8-4c90-978e-f2e8ff0121cb Faulting package full name: Faulting package-relative application ID: Event Xml:

1000 0 2 100 0 0x80000000000000 56231 Application LC11020.corp.lan Nagstamon.exe 0.0.0.0 635afee7 Qt6Core.dll 6.3.1.0 6298c2d2 c0000409 00000000000103b8 46e8 01d8ea8d8b97375a C:\Program Files\Nagstamon\Nagstamon.exe C:\Program Files\Nagstamon\PyQt6\Qt6\bin\Qt6Core.dll d0a38740-ddc8-4c90-978e-f2e8ff0121cb From: Henri Wahl ***@***.***> Sent: den 28 oktober 2022 08:40 To: HenriWahl/Nagstamon ***@***.***> Cc: Ahlen76 ***@***.***>; Author ***@***.***> Subject: Re: [HenriWahl/Nagstamon] Update to v3.10.0 not working (Issue #860) Bad news... Are you able to run Nagstamon from source in a terminal windows to get some crash output? - Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
Ahlen76 commented 2 years ago

We are running OP5 Monitor v8.4.1.

HenriWahl commented 2 years ago

When running from source you need:

Alternatively you could run Nagstamon.exe from the debug ZIP file at https://github.com/HenriWahl/Nagstamon/releases/download/latest/Nagstamon-3.10.0-win64-debug.zip which spawn a terminal too - it might just be that the crash happens too early before any message could be read.

HenriWahl commented 2 years ago

I am only able to test with op5Monitor 9.2 and there it runs flawlessly. Even on Windows.

Did you get any output with the debugging version?

HenriWahl commented 2 years ago

I created a new debugging version which keeps the console window open in case of crash. Please download https://github.com/HenriWahl/Nagstamon/releases/download/latest/Nagstamon-3.11-22021104-win64_debug.zip and run nagstamon-debug.bat to get some more output.

Ahlen76 commented 2 years ago

Hi, finally back to work. Here is the result from nagstamon-debug.bat file:

C:\Users\?\Desktop\Nagstamon-3.11-22021105-win64_debug\Nagstamon-3.11-22021105-win64_debug>cmd /k nagstamon.exe QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout QLayout: Attempting to add QLayout "" to StatusWindow "", which already has a layout Traceback (most recent call last): File "Nagstamon\QUI__init__.py", line 4015, in get_status File "Nagstamon\Servers\Generic.py", line 939, in GetStatus File "Nagstamon\Servers\Centreon\CentreonAPI.py", line 114, in init_HTTP AttributeError: 'NoneType' object has no attribute 'headers'

BR Ahlén

From: Henri Wahl @.> Sent: den 5 november 2022 02:17 To: HenriWahl/Nagstamon @.> Cc: Ahlen76 @.>; Author @.> Subject: Re: [HenriWahl/Nagstamon] Update to v3.10.0 not working (Issue #860)

I created a new debugging version which keeps the console window open in case of crash. Please download https://github.com/HenriWahl/Nagstamon/releases/download/latest/Nagstamon-3.11-22021104-win64_debug.ziphttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHenriWahl%2FNagstamon%2Freleases%2Fdownload%2Flatest%2FNagstamon-3.11-22021104-win64_debug.zip&data=05%7C01%7C%7C90011a3a09664464d30608dabecb748b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638032078277337759%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=pVdfx7JG%2FGUW%2BeEs9rlUM2LT9jHw5Tpqau%2FC9lO9tBI%3D&reserved=0 and run nagstamon-debug.bat to get some more output.

- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHenriWahl%2FNagstamon%2Fissues%2F860%23issuecomment-1304366935&data=05%7C01%7C%7C90011a3a09664464d30608dabecb748b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638032078277337759%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nhvlB2GptxPmN54%2FPP6Is4YbjmAT4Ae%2BxJBudd9PMM8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALBROI7JRIQN6D7NJKGEKTTWGWYRFANCNFSM6AAAAAARQW7M3A&data=05%7C01%7C%7C90011a3a09664464d30608dabecb748b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638032078277337759%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gw3bSWujRx3pCm8yaxNV5d3cn7Bk7qjET6H%2BpspihHE%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

HenriWahl commented 2 years ago

@Ahlen76 according to your log you did not configure the monitoring server type correctly. It is set to Centreon which does not match your used Op5.

Ahlen76 commented 2 years ago

@HenriWahl You can close this ticket, thanks for your help. I have been informed that version 3.10.x works for my colleagues on OP5 v8.x. I suspect that it is a Qt package that I installed to VS Code that is causing my shady problems. I get to troubleshoot and fix my problems as it is not due to Nagstamon.

Update: I found the solution. I have not received all Windows updates from the central distribution. I ran a manual update and now version 3.10.1 works without problems.