Skip to content

Commit

Permalink
Added net/nagios-plugin-mqueue 0.1
Browse files Browse the repository at this point in the history
This Nagios plugin checks Sendmail queues status
  • Loading branch information
manu committed Apr 21, 2023
1 parent 7320d4f commit 6d0a601
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/CHANGES-2023
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$NetBSD: CHANGES-2023,v 1.2344 2023/04/21 00:49:56 manu Exp $
$NetBSD: CHANGES-2023,v 1.2345 2023/04/21 00:59:41 manu Exp $

Changes to the packages collection and infrastructure in 2023:

Expand Down Expand Up @@ -3380,3 +3380,4 @@ Changes to the packages collection and infrastructure in 2023:
Added misc/chatgpt-shell-cli version 0.0.20230420 [schmonz 2023-04-20]
Added databases/openldap-autogroup 2.6.4 [manu 2023-04-21]
Added mail/openarc 20180921 [manu 2023-04-21]
Added net/nagios-plugin-mqueue [manu 2023-04-21]
3 changes: 2 additions & 1 deletion net/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1509 2023/04/09 10:03:18 nros Exp $
# $NetBSD: Makefile,v 1.1510 2023/04/21 00:59:41 manu Exp $
#

COMMENT= Networking tools
Expand Down Expand Up @@ -418,6 +418,7 @@ SUBDIR+= nagios-plugin-ipf
SUBDIR+= nagios-plugin-ldap
SUBDIR+= nagios-plugin-lpd
SUBDIR+= nagios-plugin-milter
SUBDIR+= nagios-plugin-mqueue
SUBDIR+= nagios-plugin-mysql
SUBDIR+= nagios-plugin-mysqlslave
SUBDIR+= nagios-plugin-pgsql
Expand Down
3 changes: 3 additions & 0 deletions net/nagios-plugin-mqueue/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$NetBSD: DESCR,v 1.1 2023/04/21 00:59:41 manu Exp $

This Nagios plugin checks Sendmail queues status
31 changes: 31 additions & 0 deletions net/nagios-plugin-mqueue/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1 2023/04/21 00:59:41 manu Exp $
#

DISTNAME= check_mqueue-0.1
PKGNAME= nagios-plugin-mqueue-${DISTNAME:C/.*-//}
CATEGORIES= net
MASTER_SITES= http://ftp.espci.fr/pub/nagios-local/
EXTRACT_SUFX= .tgz

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ftp.espci.fr/pub/nagios-local/
COMMENT= Sendmail queue monitoring plugin for Nagios
LICENSE= modified-bsd

PKG_DESTDIR_SUPPORT= user-destdir

INSTALLATION_DIRS+= libexec/nagios


BUILD_DEFS+= NAGIOS_GROUP
PKG_GROUPS_VARS+= NAGIOS_GROUP
PKG_GROUPS= ${NAGIOS_GROUP}

SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_mqueue \
${REAL_ROOT_USER} ${NAGIOS_GROUP} 4554

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/check_mqueue \
${DESTDIR}${PREFIX}/libexec/nagios/

.include "../../mk/bsd.pkg.mk"
2 changes: 2 additions & 0 deletions net/nagios-plugin-mqueue/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1 2023/04/21 00:59:41 manu Exp $
libexec/nagios/check_mqueue
5 changes: 5 additions & 0 deletions net/nagios-plugin-mqueue/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2023/04/21 00:59:41 manu Exp $

BLAKE2s (check_mqueue-0.1.tgz) = 6c87c6b19e1fa9c6ab49b81ded3ad3607b1bb2eaec8432c6c23c49a78b675282
SHA512 (check_mqueue-0.1.tgz) = 984a0a7c10510ac2e70e5873b081317eb57e01254624042089a2347033bdeb3513ba13850456ecc7dc9d24b5b56c9fae386563062d142b88648b93525f491065
Size (check_mqueue-0.1.tgz) = 1889 bytes

0 comments on commit 6d0a601

Please sign in to comment.