diff --git a/net/nagios/check_mssql_health/Makefile b/net/nagios/check_mssql_health/Makefile new file mode 100644 index 00000000000..4e7c506acf8 --- /dev/null +++ b/net/nagios/check_mssql_health/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2010/05/02 11:17:48 sthen Exp $ + +COMMENT= Nagios plugin to check Microsoft SQL Server + +DISTNAME= check_mssql_health-1.5.3 +CATEGORIES= net databases + +HOMEPAGE= http://labs.consol.de/lang/en/nagios/check_mssql_health/ + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://labs.consol.de/wp-content/uploads/2009/11/ + +PKG_ARCH= * +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ::databases/p5-DBD-Sybase + +CONFIGURE_STYLE= gnu +CONFIGURE_ENV= ac_cv_path_mkdir=/bin/mkdir +CONFIGURE_ARGS= --with-mymodules-dir=${LOCALBASE}/libexec/nagios \ + --with-mymodules-dyn-dir=${LOCALBASE}/libexec/nagios \ + --libexecdir=${LOCALBASE}/libexec/nagios \ + --with-nagios-user=_nagios \ + --with-nagios-group=_nagios + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/check_mssql_health + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/check_mssql_health + +.include diff --git a/net/nagios/check_mssql_health/distinfo b/net/nagios/check_mssql_health/distinfo new file mode 100644 index 00000000000..2d9e501e340 --- /dev/null +++ b/net/nagios/check_mssql_health/distinfo @@ -0,0 +1,5 @@ +MD5 (check_mssql_health-1.5.3.tar.gz) = SIKJFmX82S3p7MzJlZd3Sw== +RMD160 (check_mssql_health-1.5.3.tar.gz) = Myt/ivtTXQeMJbfaBbQy2f/gr1Y= +SHA1 (check_mssql_health-1.5.3.tar.gz) = 7C/fGxSQpqDOsZicC/fLdisYJ+A= +SHA256 (check_mssql_health-1.5.3.tar.gz) = wgS25ijInkSt4gk7nr6gGw5Ijr9ogtQF8NdKelI3UZc= +SIZE (check_mssql_health-1.5.3.tar.gz) = 122125 diff --git a/net/nagios/check_mssql_health/pkg/DESCR b/net/nagios/check_mssql_health/pkg/DESCR new file mode 100644 index 00000000000..1330c592b06 --- /dev/null +++ b/net/nagios/check_mssql_health/pkg/DESCR @@ -0,0 +1,4 @@ +check_mssql_health is a Nagios plugin using DBD::Sybase and FreeTDS to +monitor many parameters of Microsoft SQL Server, including login delays, +CPU use, IO busy time, scans per second, deadlocks per second, etc. +Custom SQL statements may also be used. diff --git a/net/nagios/check_mssql_health/pkg/PLIST b/net/nagios/check_mssql_health/pkg/PLIST new file mode 100644 index 00000000000..5306498adb1 --- /dev/null +++ b/net/nagios/check_mssql_health/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2010/05/02 11:17:48 sthen Exp $ +libexec/nagios/check_mssql_health +share/doc/check_mssql_health/ +share/doc/check_mssql_health/README