Open russellvt opened 2 years ago
Hey @TeTeHacko ... can you verify the version of nrpe-ng
under Debian 10? I assume you installed it rom the distribution repo? Also, @infraweavers ... if you can help supply additional info, here?
@russellvt Been a while since we've used nrpe-ng; I don't think we were doing anything particularly crazy. If memory serves, we dropped in our standard list (check_cpu, check_load, check_mem) then restarted the service to add some more which is when we noticed how long it takes to restart.
Same problem on Debian 11.
Can temporarily fix by modifying the unit file: KillSignal=SIGKILL
Relevant files are below:
root@localhost # /opt/nrpe-ng/venv/bin/python --version
Python 3.9.2
root@localhost # /opt/nrpe-ng/venv/bin/pip freeze
certifi==2022.6.15
charset-normalizer==2.1.0
docutils==0.19
idna==3.3
lockfile==0.12.2
nrpe-ng===0.2.1-rvt
python-daemon==2.3.0
requests==2.28.1
tornado==6.2
urllib3==1.26.10
root@localhost # cat /etc/systemd/system/nrpe-ng.service
[Unit]
Description=NRPE-NG monitoring daemon
After=network.target
[Service]
Type=forking
PIDFile=/run/nrpe-ng/nrpe-ng.pid
ExecStart=/opt/nrpe-ng/venv/bin/nrpe-ng -c /etc/nrpe-ng/nrpe-ng.cfg -d
[Install]
WantedBy=multi-user.target
root@localhost #
Updated to Debian 11, same version, same problem, same workaround working fine
nrpe-ng:
Installed: 0.2.0-1
Candidate: 0.2.0-1
Version table:
*** 0.2.0-1 500
500 http://ftp.cz.debian.org/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status
Thank you for the update. I will need to get some VMs setup to test this one.
From bootc/nrpe-ng#3.