net-mgmt/p5-Nagios-Plugin_check_raid: New port

Nagios/Icinga/Sensu plugin to check current server's RAID status
This commit is contained in:
Dan Langille 2023-01-13 20:26:55 +00:00
parent 0de11ff4ff
commit 3e909375ff
5 changed files with 75 additions and 0 deletions

View file

@ -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

View file

@ -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 <bsd.port.mk>

View file

@ -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

View file

@ -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

View file

@ -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