Skip to content

About every month, even if active, it stops processing the checks it receives. #1133

@Fantu

Description

@Fantu

Describe the bug
I don't know if this could be a problem caused by nsclient++, it's probably unrelated, but I'll try to explain the problem I've been encountering recently and can't seem to find the exact cause of.
About once a month, the last time being last night, nsca stops processing the checks sent by nsclient even though it remains active. Today I tried checking the server logs but found no errors or anything helpful. I tried to do a manual check in /var/run/icinga2/cmd/icinga2.cmd and it worked (icinga has most of the checks of two other types that have no problems, the nrpe and push api ones). I checked with tcpdump and nscp data arrives from clients on the port on which nsca listens.
If I restart nsca, it starts working again, but remains “stuck” for a long time at restart.
On the days when this happens, I haven't made any updates, reboots, or changes to the server, icinga, or nsca.
I've only had these problems in the last few months. The only significant difference is that I started using more up-to-date nscp, versions 0.9 and 0.10 (after using the same old version for 3-4 years).
Can nscp send data that causes nsca to freeze (not crash)?
Looking at the nsca git, I didn't find any bugs or commits that could be related to this problem. In fact, it seems to me that development has almost died out in recent years.
Has anyone else had the same problem and/or can advise me on how to solve it?

Client with nscp

  • OS: Windows
  • OS various, mainly Windows 2019
  • Version: on all actually NSClient++ 0.10.9

Server with nsca

  • OS: Debian 12
  • nsca 2.10.2-2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions