From nobody Fri Jan 13 20:28:21 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NttKL1zL2z2p7rF; Fri, 13 Jan 2023 20:28:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NttKL1QYjz3qtH; Fri, 13 Jan 2023 20:28:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673641702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X7KkZq+4SmPYTN3Z3Tg9/GE4Y99QlRuj7z7qp/+K7ys=; b=KrkA+KXc5ujCA1gKcjmCSsffo3gSFJYC1NcE85wzebsz/4hEMGJfFCdHIUQdFIJNtrkmCy ck5XfSEHjtAWewnV3tGgOWuAT5gDc8CqfJebVr1TSx0vM/OKSqK1x3ut3j1Wwj/3oCTrQ/ swiY25gpS61vLL5oGMHlg+lI6FEQlTwyEcme1N47LL1gNRHi8KaI3obVmCFMQXCbDfr3nW vVKXMDBiaGLVijONKpvvBaNlwFiZxkg0yvBBV3E3bQcd2xaFUNise1CcB9YINeaUHiDS7M wm8G+tUmvET//ejYaYokAk6U2oSrqUFBiIM+aEY2ylBwZ5vIiDbFTMO6hemtgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673641702; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X7KkZq+4SmPYTN3Z3Tg9/GE4Y99QlRuj7z7qp/+K7ys=; b=duCJ+QISCWOFfMYqOqsJyKhnEOC7BlAKa4byLrlMdIHBiSw5/NLheyLxrhiMjQ5oCcm1MG uqzTsFl1q6dlJ4RdXfq5Yiv0JxZrtxqz4AlQwVGCF53oAkEw47K7miqzROrClNiPVpUEvM oVGvxBoCFNk8IMbHaaUhEl2HI1HYxPEvtn0AM+W4bCJIsLcl05jcqaLhN2S9C3WyUYwvpN O5+qjXlemh8czZSBx5DA8QJRAw3WSUBcs7Cf1JkcewK+EwHcYSZj0kAAY0lhj60HmpJJyH /L2G3gfb4SrJmH9GPv1aKhOdNcVWLgs5Kfxzws3ZYjZj4IPkW3T+fMorkYu0pw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673641702; a=rsa-sha256; cv=none; b=NkOqtZ/gxhmWvaQPblWCLPTmAp5gnN9nsScOQwiX7YKaIuB0QoCL6RAi5SeEm3eEg1ER5u OyZPY5GmxK4gN0XbFvxUTMyfl7eSSikgxCn+dwlusKeHS4adzhwDLkiZY/MWP7k/bdoNou cFIwkSXAhLj6s500gKnHM/i0+aAEHPxyNqrhisboWen3hfYKRdWwE92ee0XcAf/zEgCoxj d8Ked1Dn4qmszKkr9JCMZ2+GXBKAnE4iXYn20VMgljnFHyrv99tjmMgB5tkgOtIb/shmuS PFUfsjFExDiDItBSyQpASH7b1Mx5CcDwtoQWu7Vb1VCebexpzcC9BKuV1Y4NOA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NttKL0Cd4zLmV; Fri, 13 Jan 2023 20:28:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30DKSLMg054342; Fri, 13 Jan 2023 20:28:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30DKSLfm054341; Fri, 13 Jan 2023 20:28:21 GMT (envelope-from git) Date: Fri, 13 Jan 2023 20:28:21 GMT Message-Id: <202301132028.30DKSLfm054341@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 3e909375ffcb - main - net-mgmt/p5-Nagios-Plugin_check_raid: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3e909375ffcbc864d123c6cf9fcbc316452fdcac Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e909375ffcbc864d123c6cf9fcbc316452fdcac commit 3e909375ffcbc864d123c6cf9fcbc316452fdcac Author: Dan Langille AuthorDate: 2023-01-13 20:26:55 +0000 Commit: Dan Langille CommitDate: 2023-01-13 20:28:19 +0000 net-mgmt/p5-Nagios-Plugin_check_raid: New port Nagios/Icinga/Sensu plugin to check current server's RAID status --- net-mgmt/Makefile | 1 + net-mgmt/p5-Nagios-Plugin_check_raid/Makefile | 19 ++++++++++++++ net-mgmt/p5-Nagios-Plugin_check_raid/distinfo | 3 +++ net-mgmt/p5-Nagios-Plugin_check_raid/pkg-descr | 17 +++++++++++++ net-mgmt/p5-Nagios-Plugin_check_raid/pkg-plist | 35 ++++++++++++++++++++++++++ 5 files changed, 75 insertions(+) diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index f1afa268f780..cc6acffabde0 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -239,6 +239,7 @@ SUBDIR += p5-Nagios-Plugin-Beanstalk SUBDIR += p5-Nagios-Plugin-LDAP SUBDIR += p5-Nagios-Plugins-Memcached + SUBDIR += p5-Nagios-Plugin_check_raid SUBDIR += p5-Net-ACL SUBDIR += p5-Net-Abuse-Utils SUBDIR += p5-Net-Abuse-Utils-Spamhaus diff --git a/net-mgmt/p5-Nagios-Plugin_check_raid/Makefile b/net-mgmt/p5-Nagios-Plugin_check_raid/Makefile new file mode 100644 index 000000000000..dd4eef7367d3 --- /dev/null +++ b/net-mgmt/p5-Nagios-Plugin_check_raid/Makefile @@ -0,0 +1,19 @@ +PORTNAME= nagios-plugin-check_raid +PORTVERSION= 4.0.10 +CATEGORIES= net-mgmt +PKGNAMEPREFIX= p5- + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Nagios/Icinga/Sensu plugin to check RAID status +WWW= https://github.com/glensc/nagios-plugin-check_raid + +BUILD_DEPENDS= p5-ExtUtils-MakeMaker-CPANfile>0:devel/p5-ExtUtils-MakeMaker-CPANfile + +USES= perl5 +USE_PERL5= configure + +USE_GITHUB= yes +GH_ACCOUNT= glensc +GH_PROJECT= ${PORTNAME} + +.include diff --git a/net-mgmt/p5-Nagios-Plugin_check_raid/distinfo b/net-mgmt/p5-Nagios-Plugin_check_raid/distinfo new file mode 100644 index 000000000000..2a9a42a19294 --- /dev/null +++ b/net-mgmt/p5-Nagios-Plugin_check_raid/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673380504 +SHA256 (glensc-nagios-plugin-check_raid-4.0.10_GH0.tar.gz) = f35cc1294d0a4286b2a012e8f986d4a8d0ca1c0467466f5c45350cb4dab439ba +SIZE (glensc-nagios-plugin-check_raid-4.0.10_GH0.tar.gz) = 54895 diff --git a/net-mgmt/p5-Nagios-Plugin_check_raid/pkg-descr b/net-mgmt/p5-Nagios-Plugin_check_raid/pkg-descr new file mode 100644 index 000000000000..eac3051c2b0b --- /dev/null +++ b/net-mgmt/p5-Nagios-Plugin_check_raid/pkg-descr @@ -0,0 +1,17 @@ +Nagios/Icinga/Sensu plugin to check current server's RAID status + +This plugin checks all RAID volumes (hardware and software) that can be +identified. + +While written originally for Nagios, it's known to work also with: + +* Icinga +* Sensu + +This is supposed to be a general plugin to run via NRPE. It checks for the +various RAID systems, and verifies they are working correctly. + +Some checks require root permission, that is acomplished using sudo. +Neccessary sudo rules (detected for your system), can be installed when +check_raid is invoked with -S argument. You need to be root user and it will add +required lines to the sudo config file. Run with -d to preview the sudo rules diff --git a/net-mgmt/p5-Nagios-Plugin_check_raid/pkg-plist b/net-mgmt/p5-Nagios-Plugin_check_raid/pkg-plist new file mode 100644 index 000000000000..f0ab1fa2f2fa --- /dev/null +++ b/net-mgmt/p5-Nagios-Plugin_check_raid/pkg-plist @@ -0,0 +1,35 @@ +bin/check_raid.pl +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugin.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/aaccli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/afacli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/arcconf.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/areca.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/cciss.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/cmdtool2.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/dm.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/dmraid.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/dpt_i2o.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/gdth.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/hp_msa.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/hpacucli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/hpssacli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/ips.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/lsraid.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/lsscsi.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/lsvg.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/mdstat.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/megacli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/megaide.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/megaraid.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/megarc.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/metastat.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/mpt.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/mvcli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/sas2ircu.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/smartctl.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/ssacli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Plugins/tw_cli.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/SerialLine.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Sudoers.pm +%%SITE_PERL%%/App/Monitoring/Plugin/CheckRaid/Utils.pm