Import check_hw_sensors

From DESCR:
Works like sensorsd(8) but reports to Nagios.

Allows you to monitor the hardware sensors that OpenBSD supports.
Things like fan speed, temperature and many more.

From MAINTAINER Andrew Fresh
ok sthen@
This commit is contained in:
merdely 2009-11-12 21:49:26 +00:00
parent 24013d61a6
commit ce6e1f779b
4 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/12 21:49:26 merdely Exp $
PKG_ARCH= *
COMMENT= Nagios plugin to monitor sysctl hw.sensors
DISTNAME= check_hw_sensors-1.40
CATEGORIES= sysutils net
MAINTAINER= Andrew Fresh <andrew@afresh1.com>
HOMEPAGE= http://openbsd.somedomain.net/nagios/check_hw_sensors.html
MASTER_SITES= http://monitoringexchange.org/attachment/download/Check-Plugins/Operating-Systems/BSD/OpenBSD/check_hw_sensors/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
RUN_DEPENDS+= :nagios-plugins-*:net/nagios/plugins
do-configure:
@${SUBST_CMD} ${WRKSRC}/check_hw_sensors
do-install:
${INSTALL_SCRIPT_DIR} ${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_hw_sensors ${PREFIX}/libexec/nagios
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (check_hw_sensors-1.40.tar.gz) = 8ulzbpihQ8WCziGY2coC4Q==
RMD160 (check_hw_sensors-1.40.tar.gz) = Xrzk4ACdLK/2FOzTyXjSipiV2Bo=
SHA1 (check_hw_sensors-1.40.tar.gz) = az5MEFFZbGrQjM4CP8jtJyMgR4E=
SHA256 (check_hw_sensors-1.40.tar.gz) = aGGYcD69ZXhtFT/PIKBTYHlb7rGqR44t0UVsx0hNbyw=
SIZE (check_hw_sensors-1.40.tar.gz) = 5152

View File

@ -0,0 +1,4 @@
Works like sensorsd(8) but reports to Nagios.
Allows you to monitor the hardware sensors that OpenBSD supports.
Things like fan speed, temperature and many more.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/11/12 21:49:26 merdely Exp $
libexec/nagios/check_hw_sensors