Bug#1111552: sitesummary: «sitesummary-nodes -n» generates configs for nagios3, which was retired from debian in 2015
Package: sitesummary
Version: 0.1.56~deb12u2
Severity: normal
We have for many years used the nagios installation that comes with
DebianEDU/SkoleLinux to monotor our servers.
One of the packages that comes with DebianEDU is sitesummary, which
generated valid nagios3 config based on the machines that checked inn
using sitesummary-client.
* What led up to the situation?
In 2022 we needed to reinstall the server running nagios, which was
nagios3 at the time.
But the debian version we installed (Most likely Debian 10) failed to
use the generated code. So we checked and found that the new nagios4
didn't use the generated config.
This last 2 days I did some checking using ChatGPT to see what was happening,
to see if we could get back to automatic generated config that enroll
all our systems into nagios4 monitoring.
The command «sitesummary-nodes -n» still generate nagios3 style config.
This needs to be fixed.
* What was the outcome of this action?
Testing manually, this is the error message that nagios4 is reporting back.
«vert» is configured to accept nrpe connections from the nagios server.
===
nagios-server # /usr/lib/nagios/plugins/check_nrpe -H vert -c check_disk -a 20% 10% /
CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).
nagios-server # /usr/lib/nagios/plugins/check_nrpe -H vert -c check_load
OK - load average: 0.41, 0.50, 0.63|load1=0.410;15.000;30.000;0; load5=0.500;10.000;25.000;0; load15=0.630;5.000;20.000;0;
===
* What outcome did you expect instead?
We expected the «sitesummary-nodes -n» to generate config
suitable for nagios4.
This is one of the check_command lines it generates which fails:
check_command check_nrpe!check_disk -a 10% 5% /tmp
And here is one that works:
check_command check_nrpe!check_apt
Greetings from a debian sysadmin, which hopes this can be fixed.
-- System Information:
Debian Release: 12.11
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable-proposed-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-32-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8), LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages sitesummary depends on:
ii debconf [debconf-2.0] 1.5.82
ii gnupg 2.2.40-1.1+deb12u1
ii libcgi-pm-perl 4.55-1
ii libsitesummary-perl 0.1.56~deb12u2
ii net-tools 2.10-0.1+deb12u2
ii perl 5.36.0-7+deb12u2
Versions of packages sitesummary recommends:
ii apache2 [httpd] 2.4.62-1~deb12u2
ii sitesummary-client 0.1.56~deb12u2
Versions of packages sitesummary suggests:
pn cups-client <none>
pn icinga2 <none>
pn ldap-utils <none>
ii monitoring-plugins-standard 2.3.3-5+deb12u2
pn munin <none>
ii munin-node 2.0.73-1
-- Configuration Files:
/etc/cron.daily/sitesummary changed:
if [ -x /usr/lib/sitesummary/sitesummary-maintenance ] && \
[ ! -d /run/systemd/system ]; then
LC_ALL=C /usr/lib/sitesummary/sitesummary-maintenance
fi
-- debconf information:
sitesummary/enable-nagios-config: false
sitesummary/replace-munin-config: false
Reply to: