Skip to content
Commits on Source (3)
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
# Keep going even if one of the programs report an error code
# set -e
if ! type ipmitool >/dev/null 2>&1 ; then
exit 0
fi
mkdir ipmi && cd ipmi
for devnum in 0; do
ipmitool -d$devnum lan print > dev-$devnum-lan-print
ipmitool user list > dev-$devnum-user-list
done
......@@ -47,6 +47,11 @@ for diskdev in $(grep 'sd.$' /proc/partitions|awk '{print $4}'|sort); do
hdparm -I /dev/$diskdev || true
done > hdparm-I
# Collect zfs hard disk information too
if type zpool >/dev/null 2>&1 ; then
zpool status > zpool-status
fi
# Collect mount points, for nagios configuration
cp /etc/fstab fstab
cat /proc/mounts > procmounts
......
sitesummary (0.1.40) UNRELEASED; urgency=medium
[ Holger Levsen ]
* d/sitesummary-client.postinst: drop code supporting pre-squeeze versions,
thanks lintian.
-- Holger Levsen <holger@debian.org> Wed, 16 Jan 2019 15:11:57 +0100
[ Petter Reinholdtsen ]
* Added code in system collector for 'zpool status' when available.
* Added collector for information from IPMI.
-- Petter Reinholdtsen <pere@debian.org> Fri, 25 Jan 2019 12:21:21 +0100
sitesummary (0.1.39) unstable; urgency=medium
......
......@@ -33,7 +33,7 @@ Package: sitesummary-client
Architecture: all
Depends: ${misc:Depends}, ${perl:Depends}, lsb-base (>= 3.0-6), gnupg, net-tools
Recommends: cron, dmidecode, pciutils, usbutils, lsscsi, iproute2, hdparm
Suggests: sitesummary, munin-node, nagios-nrpe-server, monitoring-plugins-standard, cdpr
Suggests: sitesummary, munin-node, nagios-nrpe-server, monitoring-plugins-standard, cdpr, ipmitool, zfsutils-linux
Description: Generate site summary of submitting hosts (client part)
The sitesummary system makes it easier to keep track of a lot of
machines, by allowing each machine to report their existence once a
......