/usr/lib/sitesummary/collect.d/nagios is in sitesummary-client 0.1.28+deb9u1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
mkdir nagios && cd nagios
for file in /etc/nagios/nrpe.cfg \
/etc/nagios/nrpe_local.cfg \
/etc/nagios/nrpe.d/sitesummary-nrpe.cfg \
; do
if [ -e $file ] ; then
cp $file $(basename $file)
fi
done
|