Import check_esxi_hardware

This script is a Nagios plugin to monitor the hardware of ESX and ESXi
servers. It can also be used as standalone script to check the hardware -
Nagios isn't necessary to run it.
    
ok sthen@
This commit is contained in:
merdely 2012-04-02 16:50:47 +00:00
parent ef22147c60
commit ca4694c2c3
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,44 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/02 16:50:47 merdely Exp $
PKG_ARCH = *
COMMENT = Nagios plugin to the status of ESX/i hardware
V = 20120402
DISTNAME = check_esxi_hardware.py.$V
PKGNAME = check_esxi_hardware-$V
CATEGORIES = net
MAINTAINER = Michael Erdely <merdely@openbsd.org>
HOMEPAGE = http://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php
MASTER_SITES = http://www.claudiokuenzler.com/nagios-plugins/
EXTRACT_SUFX =
# GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
NO_BUILD = Yes
NO_REGRESS = Yes
RUN_DEPENDS = devel/py-wbem
MODULES = lang/python
WRKSRC = ${WRKDIR}
MODPY_ADJ_FILES= check_esxi_hardware.py.$V
do-extract:
@cp ${FULLDISTDIR}/${DISTFILES} ${WRKDIR}
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKDIR}/check_esxi_hardware.py.$V \
${PREFIX}/libexec/nagios/check_esxi_hardware
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (check_esxi_hardware.py.20120402) = 7GN4ImHtIjNJ8h9kJrtcwA==
RMD160 (check_esxi_hardware.py.20120402) = hJcmxENKMXH0FZaWIxzM8cor6n4=
SHA1 (check_esxi_hardware.py.20120402) = T2wZFciIncQ+c62d9zNxnMapwB4=
SHA256 (check_esxi_hardware.py.20120402) = vT51dzobCbN74T0Xla7djUYQcGdonSntJMUuEGA3ryY=
SIZE (check_esxi_hardware.py.20120402) = 31030

View File

@ -0,0 +1,3 @@
This script is a Nagios plugin to monitor the hardware of ESX and ESXi
servers. It can also be used as standalone script to check the hardware -
Nagios isn't necessary to run it.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/02 16:50:47 merdely Exp $
libexec/nagios/
libexec/nagios/check_esxi_hardware