Nagstamon icon indicating copy to clipboard operation
Nagstamon copied to clipboard

Nagstamon shouldn't report administratively down hosts (and associated services)

Open ami5451 opened this issue 7 months ago • 8 comments

I have Nagstamon v3.12.0 installed on my Windows Desktop.

ami5451 avatar Nov 15 '23 22:11 ami5451

Nagstamon is reporting "7 DOWN, 13 CRITICAL, 2 WARNING". The warning is correct but the other 2 are invalid: image

ami5451 avatar Nov 16 '23 00:11 ami5451

  1. Figured out that Nagstamon is adding systems "In downtime" and systems that are "Down" to get the reported "7 DOWN". But I put those 6 in downtime intentionally so I think they should not be reported by Nagstamon.
  2. The CRITICAL is coming from the "Check_MK" and "Check_MK Discovery" services on the 6x hosts I intentionally put in downtime. Making 12 plus the 1 host that is truly down, making 13. I think the logic needs to be updated so Nagstamon does not report systems (and associated Check_MK/"Check_MK Discovery" services) that are administratively put in downtime. Thank you.

ami5451 avatar Nov 16 '23 01:11 ami5451

So the true output in my situation should be "1 DOWN | 1 CRITICAL | 2 WARNING".

ami5451 avatar Nov 16 '23 01:11 ami5451

Did you apply some filtering in Nagstamon? Did you try with latest testing release?

HenriWahl avatar Nov 17 '23 07:11 HenriWahl

Thanks. "Missed" the filter tab. I see it now. Though not sure if the "All down hosts" filter applies to both "Administratively" downed hosts and hosts that actually went down? I would prefer to filter out only hosts I intentionally put down, not ones with actually issues. Something not quite related, it seems Nagstamon doesn't auto-reconnect if there is a network issue? It goes to "connection timeout", stays there, and even after the network is restored, one has to go in and use the "Authenticate" option to get it to re-establish connection. This is not much of an issue with the "Floating statusbar", Window or Fullscreen display options, but may be easily missed when using the "Icon in systray" option. Apologies if I am missing something. Thanks.

ami5451 avatar Dec 04 '23 20:12 ami5451

Hi @ami5451,

Which monitoring server of which version and Nagstamon version do you use?

HenriWahl avatar Feb 08 '24 21:02 HenriWahl

Hi HenriWahl, 3.12.0. I also noticed, it doesn't keep the sound (notifications) settings. I have to go into settings and turn it off every time I launch Nagstamon. Thanks.

ami5451 avatar Feb 09 '24 14:02 ami5451

@ami5451 if the original issue is fixed now please open new ones for the other issues as it is not easy to track them with non-matching titles and contents.

HenriWahl avatar Feb 15 '24 21:02 HenriWahl