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 always shows "OK" despite Host Problems in Checkmk #1077

Open
maximilian1001 opened this issue Oct 28, 2024 · 0 comments
Open

Nagstamon always shows "OK" despite Host Problems in Checkmk #1077

maximilian1001 opened this issue Oct 28, 2024 · 0 comments

Comments

@maximilian1001
Copy link

maximilian1001 commented Oct 28, 2024

We are using Checkmk Enterprise Edition 2.2.0p27 at work but I cannot get Nagstamon to work properly here. I added the server to my Nagstamon configuration, but Problems are not shown in Nagstamon. It always says "OK", even if there are hosts with problems. I have not enabled any filters in Nagstamon.

Screenshot 2024-10-28 132922

I checked the diagnosis URL from the Checkmk-Documentation and it looks good in my browser:

If, contrary to expectations, problems nevertheless arise, first check whether you can go open the following pages from the device on which Nagstamon is running. Replace the placeholders with their real values:

Screenshot 2024-10-28 133104

I also enabled debug logging in Nagstamon:

DEBUG: 2024-10-28 09:56:51.714072 Saving configuration to file c:\users\<myuser>\.nagstamon\nagstamon.conf
DEBUG: 2024-10-28 09:56:52.566935 Checkmk Created server.
DEBUG: Initializing SystemTrayIcon
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6DCBF70> for state "OK"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6DCBCF0> for state "INFORMATION"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C0F0> for state "UNKNOWN"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C190> for state "WARNING"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C230> for state "AVERAGE"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C2D0> for state "HIGH"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C370> for state "CRITICAL"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C4B0> for state "DISASTER"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C550> for state "UNREACHABLE"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C5F0> for state "DOWN"
DEBUG: SystemTrayIcon created icon <Nagstamon.QUI.QIconWithFilename object at 0x0000023DE6F3C690> for state "ERROR"
DEBUG: SystemTrayIcon initial icon: <PyQt6.QtGui.QIcon object at 0x0000023DE6F3C910>
DEBUG: 2024-10-28 09:56:53.100567 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:56:53.555398 Checkmk fetch_url: https://nagstamon.de/version/stable CGI Data: None
DEBUG: 2024-10-28 09:56:54.462831 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:56:55.692134 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None
DEBUG: 2024-10-28 09:57:06.764533 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:57:07.876443 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:57:09.010855 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None
DEBUG: 2024-10-28 09:57:20.265691 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:57:21.186983 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:57:22.263944 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None
DEBUG: 2024-10-28 09:57:33.337613 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:57:34.294550 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:57:35.318259 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None
DEBUG: 2024-10-28 09:57:46.453950 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:57:47.605473 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:57:48.634926 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None
DEBUG: 2024-10-28 09:57:59.758911 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:58:00.917631 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:58:02.045584 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None
DEBUG: 2024-10-28 09:58:13.077328 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:58:14.169870 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:58:15.403053 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None
DEBUG: 2024-10-28 09:58:26.794587 Checkmk fetch_url: https://<myserver>/<mysite>/check_mk/api/1.0/version CGI Data: None
DEBUG: 2024-10-28 09:58:27.641475 Checkmk fetch_url: https://<myserver>/<mysite>/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: 2024-10-28 09:58:28.872363 Checkmk fetch_url: https://<myserver>/<mysite>/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 CGI Data: None

I found a post in the Checkmk forum with a slightly similar issue (however, in our case it is not a problem caused by an update), but the provided workaround is not working for me.

Is there anything else I can try or can I provide more information? I would be very happy to find a solution to the problem!

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

1 participant