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 3.12.0 on Windows - File "<string>", line 3 #957

Open
trcmd9000 opened this issue Aug 11, 2023 · 9 comments
Open

Nagstamon 3.12.0 on Windows - File "<string>", line 3 #957

trcmd9000 opened this issue Aug 11, 2023 · 9 comments

Comments

@trcmd9000
Copy link

trcmd9000 commented Aug 11, 2023

Hi Henri,
after waking up from standby, nagstamon displays the error File "<string>", line 3. A simple restart of nagstamon makes the error disappear. This is issue can be reproduced. This is the debug output. I have included the 'go to sleep' (="connection aborted") and 'wake up' time.

Traceback (most recent call last):
File "Nagstamon\Servers\Generic.py", line 1485, in FetchURL
File "requests\sessions.py", line 600, in get
File "requests\sessions.py", line 587, in request
File "requests\sessions.py", line 723, in send
File "requests\sessions.py", line 723, in
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

DEBUG: 2023-08-11 08:57:11.164251 checkmk FetchURL: https://host.domain.local/monitoring/check_mk/view.py?view_name=nagstamon_hosts&output_format=python&lang=&limit=hard&is_host_acknowledged=-1&is_service_acknowledged=-1&is_host_notifications_enabled=-1&is_service_notifications_enabled=-1&is_host_active_checks_enabled=-1&is_service_active_checks_enabled=-1&host_scheduled_downtime_depth=-1&is_in_downtime=-1 CGI Data: None
DEBUG: 2023-08-11 08:57:11.786150 checkmk FetchURL: https://host.domain.local/monitoring/check_mk/view.py?view_name=nagstamon_svc&output_format=python&lang=&limit=hard&is_host_acknowledged=-1&is_service_acknowledged=-1&is_host_notifications_enabled=-1&is_service_notifications_enabled=-1&is_host_active_checks_enabled=-1&is_service_active_checks_enabled=-1&host_scheduled_downtime_depth=-1&is_in_downtime=-1&hst0=On&hst1=On CGI Data: None
ERROR: 2023-08-11 08:57:12.501427 checkmk Traceback (most recent call last):
File "Nagstamon\Servers\Multisite.py", line 312, in _get_status
File "Nagstamon\Servers\Multisite.py", line 197, in _get_url
File "", line 3

^
SyntaxError: invalid syntax

Best regards

@trcmd9000 trcmd9000 changed the title Nagstamon 3.12.0 - File "<string>", line 3 Nagstamon 3.12.0 on Windows - File "<string>", line 3 Aug 11, 2023
@HenriWahl
Copy link
Owner

@trcmd9000 which version of Nagstamon do you use?

@trcmd9000
Copy link
Author

3.12 :)

@HenriWahl
Copy link
Owner

Ah, yes, I see... 🤪
Can you try a later testing release?

@trcmd9000
Copy link
Author

Will do and report back

@trcmd9000
Copy link
Author

Have reproduced the issue with 3.13-202308080.

@HenriWahl
Copy link
Owner

@trcmd9000 sorry for the late reply. What monitoring server do you use?

@trcmd9000
Copy link
Author

trcmd9000 commented Sep 21, 2023

checkmk Multisite (2.1.0p25)

@HenriWahl
Copy link
Owner

Seems to be connected to #952

@HenriWahl
Copy link
Owner

@trcmd9000 did you meanwhile update your Checkmk instance? Looked like does not happen with newer instances.

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

2 participants