Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Added code in system collector for 'zpool status' when available.
· 4604128b
Petter Reinholdtsen
authored
Jan 25, 2019
4604128b
Added collector for information from IPMI.
· 261e17f5
Petter Reinholdtsen
authored
Jan 25, 2019
261e17f5
Document changes in d/changelog.
· e2ea5ae2
Petter Reinholdtsen
authored
Jan 25, 2019
e2ea5ae2
Hide whitespace changes
Inline
Side-by-side
collect.d/ipmi
0 → 100644
View file @
e2ea5ae2
#!/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
collect.d/system
View file @
e2ea5ae2
...
...
@@ -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
...
...
debian/changelog
View file @
e2ea5ae2
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
...
...
debian/control
View file @
e2ea5ae2
...
...
@@ -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
...
...