Nagstamon icon indicating copy to clipboard operation
Nagstamon copied to clipboard

Nagstamon stops checking Nagios

Open lolszowy opened this issue 4 years ago • 9 comments

from debug log:

DEBUG: 2020-06-16 09:11:10.065736 nagprobe1 Filter: WARNING y.xdomain.ie;Partition: Root
DEBUG: 2020-06-16 09:11:10.065742 nagprobe1 Filter: WARNING y.xdomain.ie;Storage
DEBUG: 2020-06-16 09:11:10.065749 nagprobe1 Filter: WARNING y.xdomain.ie;Swap
DEBUG: 2020-06-16 10:56:08.537752 nagprobe1 FetchURL: https://nagprobe1.domain.ie/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=262144&limit=0 CGI Data: None
DEBUG: 2020-06-16 10:56:09.381507 nagprobe1 FetchURL: https://nagprobe1.domain.ie/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=524288&limit=0 CGI Data: None
DEBUG: 2020-06-16 10:56:10.203096 nagprobe1 FetchURL: https://nagprobe1.domain.ie/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=253&serviceprops=262144&limit=0 CGI Data: None
DEBUG: 2020-06-16 10:56:11.397123 nagprobe1 FetchURL: https://nagprobe1.domain.ie/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=253&serviceprops=524288&limit=0 CGI Data: None

You can see gap between 09:11 and 10:56. This is not a connection issue. If it was then I would notice it right away (in debug log it is visible as well). Nagstamon just frezes. When I click 'Refresh' it will start work again. It happens 1-2 times a day. Sometimes few days without that issue.

It's installed on latest Ubuntu 20.04, GNOME Shell 3.36.2

lolszowy avatar Jun 16 '20 09:06 lolszowy

What version of Nagstamon are you running?

HenriWahl avatar Jun 16 '20 12:06 HenriWahl

3.4.1

lolszowy avatar Jun 17 '20 08:06 lolszowy

Any updates here?

lolszowy avatar Jun 25 '20 13:06 lolszowy

I have the same issue with 3.6.0. Sometimes I notice there is no activity on nagstamon. However when I click on nagios bar, it starts refreshing.

phaoost avatar Apr 27 '21 10:04 phaoost

What OS is involved?

HenriWahl avatar Apr 27 '21 16:04 HenriWahl

Linux (debian-based) in my case

phaoost avatar Apr 27 '21 17:04 phaoost

Hello, I think I have nailed down the issue. This happens when the Nagstamon window becomes inactive while the Ctrl key is being pressed. I have cursor-follows-focus enabled so this sometimes takes place. When this happens, the function is_modifier_pressed() keeps returning true.

matjon avatar Jul 13 '21 14:07 matjon