pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
nagios-plugin-snmp_environment: remove, impported to pkgsrc/net
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Wed Feb 10 16:07:37 2021 +0100
Changeset: 40d3d5df60e36d48b1a3b04577a64309b27ef1b2
Modified Files:
Makefile
Removed Files:
nagios-plugin-snmp_environment/DESCR
nagios-plugin-snmp_environment/Makefile
nagios-plugin-snmp_environment/PLIST
nagios-plugin-snmp_environment/distinfo
nagios-plugin-snmp_environment/patches/patch-aa
Log Message:
nagios-plugin-snmp_environment: remove, impported to pkgsrc/net
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=40d3d5df60e36d48b1a3b04577a64309b27ef1b2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
nagios-plugin-snmp_environment/DESCR | 21 -------------
nagios-plugin-snmp_environment/Makefile | 39 -------------------------
nagios-plugin-snmp_environment/PLIST | 2 --
nagios-plugin-snmp_environment/distinfo | 7 -----
nagios-plugin-snmp_environment/patches/patch-aa | 39 -------------------------
6 files changed, 1 insertion(+), 108 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index 63897a3d5d..0a26a1bff4 100644
--- a/Makefile
+++ b/Makefile
@@ -2434,6 +2434,7 @@ SUBDIR+= n2n
SUBDIR+= naev
SUBDIR+= nag
SUBDIR+= nagios-plugin-mysql_health
+SUBDIR+= nagios-plugin-printer
SUBDIR+= naqsh-ttf
SUBDIR+= nary
SUBDIR+= natali
diff --git a/nagios-plugin-snmp_environment/DESCR b/nagios-plugin-snmp_environment/DESCR
deleted file mode 100644
index de8c0f1e59..0000000000
--- a/nagios-plugin-snmp_environment/DESCR
+++ /dev/null
@@ -1,21 +0,0 @@
-Nagios plugin to check various hardware environmental sensors, like power
-supply's, fans, cards, modules etc. Cisco, Nokia, BlueCoat, IronPort, Foundry,
-Linux, Extreme, Juniper, HP ProCurve, NetScreen, Citrix and Transmode.
-
-Supported Checks:
-cisco Cisco Systems: Fan, power-supply, voltage, temperature
-ciscoSW Cisco Systems: Card and module status check
-ciscoNEW Cisco Systems: Sensor check for devices that have the
- CISCO-ENTITY-SENSOR-MIB
-nokia Nokia IP: Fan, power-supply
-bc Blue Coat Systems: Fan, power-supply, voltage, disk
-iron IronPort: Fan, power-supply, temperature
-foundry Foundry Network: power supply, temperature
-linux lm-sensors: Fan, voltage, temperature, misc
-extremeSW Extreme Networks: Slot, power-supply, fan, temperature
-juniper Juniper Networks: Component status check
-procurve HP ProCurve: Fan, power-supply, temperature
-netscreen NetScreen: Slot, fan, power-supply
-citrix Citrix NetScaler: Fan, voltage, temperture, HA state, SSL engine
-transmode Transmode Systems: Check alarm table that is not deactivated and
- not acknowledged
diff --git a/nagios-plugin-snmp_environment/Makefile b/nagios-plugin-snmp_environment/Makefile
deleted file mode 100644
index e661a516d9..0000000000
--- a/nagios-plugin-snmp_environment/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# $NetBSD: Makefile $
-
-DISTNAME= check_snmp_environment.pl
-VERSION= 0.7
-PKGREVISION= 1
-PKGNAME= nagios-plugin-snmp_environment-${VERSION}
-CATEGORIES= net sysutils
-MASTER_SITES= -https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=483&cf_id=24
-EXTRACT_SUFX= # empty
-DIST_SUBDIR= check_snmp_environment-${VERSION}
-
-COMMENT= Check various hardware environmental sensors
-HOMEPAGE= https://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Cisco/Check-various-hardware-environmental-sensors/details
-LICENSE= gnu-gpl-v3
-
-USE_LANGUAGES= # empty
-USE_TOOLS+= perl:run
-
-DEPENDS+= net-snmp-[0-9]*:../../net/net-snmp
-
-WRKSRC= ${WRKDIR}
-
-do-extract:
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
-
-PLUGINDIR= libexec/nagios
-PLIST_SUBST+= PLUGINDIR=${PLUGINDIR}
-
-INSTALLATION_DIRS+= ${PLUGINDIR}
-
-REPLACE_PERL+= check_snmp_environment.pl
-
-NO_BUILD= YES
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/check_snmp_environment.pl ${DESTDIR}${PREFIX}/${PLUGINDIR}/check_snmp_environment
-
-.include "../../mk/bsd.prefs.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/nagios-plugin-snmp_environment/PLIST b/nagios-plugin-snmp_environment/PLIST
deleted file mode 100644
index 77b595e79b..0000000000
--- a/nagios-plugin-snmp_environment/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST$
-${PLUGINDIR}/check_snmp_environment
diff --git a/nagios-plugin-snmp_environment/distinfo b/nagios-plugin-snmp_environment/distinfo
deleted file mode 100644
index bf62f3d9b0..0000000000
--- a/nagios-plugin-snmp_environment/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD$
-
-SHA1 (check_snmp_environment-0.7/check_snmp_environment.pl) = b73ce7ea9b4170aa3aba74571ca1745d1c385936
-RMD160 (check_snmp_environment-0.7/check_snmp_environment.pl) = 256eedb5c6241cdfe1d579a24665815a58f5081d
-SHA512 (check_snmp_environment-0.7/check_snmp_environment.pl) = dbb128a5820c15d27076094d39c04ca52ec527beb44289a8261833d7cbe7ee2079f70cbff9210e3043f3e0df05c7b142c9fc0be2b46eee468bfc327953b0079a
-Size (check_snmp_environment-0.7/check_snmp_environment.pl) = 97676 bytes
-SHA1 (patch-aa) = 880a70b25a6b3c6e9b39c108d8261d4f4de7d1c5
diff --git a/nagios-plugin-snmp_environment/patches/patch-aa b/nagios-plugin-snmp_environment/patches/patch-aa
deleted file mode 100644
index 040307a536..0000000000
--- a/nagios-plugin-snmp_environment/patches/patch-aa
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-aa $
-
-Don't warn for non-present power supplies
-
---- check_snmp_environment.pl.orig 2016-11-08 11:39:49.000000000 +0100
-+++ check_snmp_environment.pl 2016-11-08 11:42:56.000000000 +0100
-@@ -273,7 +273,7 @@
- my $extreme_ps_table = "1.3.6.1.4.1.1916.1.1.1.27.1";
- my $extreme_ps_status = "1.3.6.1.4.1.1916.1.1.1.27.1.2";
- my @extreme_ps_status_text = ("--Invalid--","notPresent","presentOK","presentNotOK");
--my @extreme_ps_nagios = (3,1,0,2);
-+my @extreme_ps_nagios = (3,0,0,2);
- my $extreme_fan_table = "1.3.6.1.4.1.1916.1.1.1.9.1";
- my $extreme_fan_number = "1.3.6.1.4.1.1916.1.1.1.9.1.1";
- my $extreme_fan_operational = "1.3.6.1.4.1.1916.1.1.1.9.1.2";
-@@ -1753,14 +1753,16 @@
- $tmp_status = $extreme_ps_nagios[$ps_status];
- $final_status = &set_status($tmp_status,$final_status);
-
-- if ($tmp_status == 0) {
-- $num_ps_ok++;
-- }
-+ if ($ps_status != 1) {
-+ if ($tmp_status == 0) {
-+ $num_ps_ok++;
-+ }
-
-- else {
-- if ($ps_output ne "") {$ps_output.=", ";}
-- $ps_output.= "(Power-supply status: " . $ps_status_text . ")";
-- }
-+ else {
-+ if ($ps_output ne "") {$ps_output.=", ";}
-+ $ps_output.= "(Power-supply status: " . $ps_status_text . ")";
-+ }
-+ }
- }
- }
- if ($ps_output ne "") {$ps_output.=", ";}
Home |
Main Index |
Thread Index |
Old Index