mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
The general idea of these scripts is to check as many things as possible with
SNMP: disks, memory, load, network interfaces, running processes, etc... The other idea is to select disks, interfaces, process using regular expressions: - it is possible to test more than one disk/int/process in one Nagios check (ex.: eth* instead of eth0,eth1,eth2,...) - you only have to provide a unique part of the name to select a disk/int/process (ex. : "C:" instead of "C:\ Label: Serial Number xxxxxxx" makes it easy to use on multiple Windows hosts). Most of these scripts can make performance outputs. WWW: http://nagios.manubulon.com/ PR: ports/135523 Submitted by: Alexey V. Degtyarev
This commit is contained in:
parent
614e3e8eea
commit
4ac1be2ede
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=235944
@ -119,6 +119,7 @@
|
||||
SUBDIR += nagios-radauth-plugin
|
||||
SUBDIR += nagios-silfreed-plugins
|
||||
SUBDIR += nagios-snmp-plugins
|
||||
SUBDIR += nagios-snmp-plugins-extras
|
||||
SUBDIR += nagios-spamd-plugin
|
||||
SUBDIR += nagiosgraph
|
||||
SUBDIR += nagiostat
|
||||
|
52
net-mgmt/nagios-snmp-plugins-extras/Makefile
Normal file
52
net-mgmt/nagios-snmp-plugins-extras/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# New ports collection makefile for: nagios-snmp-plugins-extras
|
||||
# Date created: Sat 13 Jun 2009
|
||||
# Whom: Alexey V. Degtyarev
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= nagios-snmp-plugins-extras
|
||||
PORTVERSION= 1.1.2
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
|
||||
|
||||
MAINTAINER= alexey@renatasystems.org
|
||||
COMMENT= A set of Nagios plugins written in Perl to check devices with SNMP
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_PERL_RUN= yes
|
||||
|
||||
RUN_DEPENDS+= p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
|
||||
p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
|
||||
${LOCALBASE}/libexec/nagios/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins
|
||||
|
||||
PLUGINS= \
|
||||
check_snmp_boostedge.pl \
|
||||
check_snmp_cpfw.pl \
|
||||
check_snmp_css.pl \
|
||||
check_snmp_css_main.pl \
|
||||
check_snmp_env.pl \
|
||||
check_snmp_int.pl \
|
||||
check_snmp_linkproof_nhr.pl \
|
||||
check_snmp_load.pl \
|
||||
check_snmp_mem.pl \
|
||||
check_snmp_nsbox.pl \
|
||||
check_snmp_process.pl \
|
||||
check_snmp_storage.pl \
|
||||
check_snmp_vrrp.pl \
|
||||
check_snmp_win.pl \
|
||||
|
||||
PLIST_FILES= ${PLUGINS:S,^,libexec/nagios/,}
|
||||
|
||||
WRKSRC= ${WRKDIR}/plugins
|
||||
|
||||
post-extract:
|
||||
${SED} -i "" -e "s#/tmp/#/var/tmp/#" \
|
||||
-e "s#/usr/local/nagios/libexec#${LOCALBASE}/libexec/nagios#" \
|
||||
${PLUGINS:S,^,${WRKSRC}/,}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/libexec/nagios
|
||||
${INSTALL_SCRIPT} ${PLUGINS:S,^,${WRKSRC}/,} ${PREFIX}/libexec/nagios/
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-mgmt/nagios-snmp-plugins-extras/distinfo
Normal file
3
net-mgmt/nagios-snmp-plugins-extras/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (nagios-snmp-plugins-extras-1.1.2.tar.gz) = da90e6f07196e5f79ce4bb69e5b24fb4
|
||||
SHA256 (nagios-snmp-plugins-extras-1.1.2.tar.gz) = 66354a29c960b49269319457a7bca12a691bd73b236d7421376d2c220374eff7
|
||||
SIZE (nagios-snmp-plugins-extras-1.1.2.tar.gz) = 102348
|
16
net-mgmt/nagios-snmp-plugins-extras/pkg-descr
Normal file
16
net-mgmt/nagios-snmp-plugins-extras/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
The general idea of these scripts is to check as many things as possible with
|
||||
SNMP: disks, memory, load, network interfaces, running processes, etc...
|
||||
|
||||
The other idea is to select disks, interfaces, process using regular
|
||||
expressions:
|
||||
|
||||
- it is possible to test more than one disk/int/process in one Nagios check
|
||||
(ex.: eth* instead of eth0,eth1,eth2,...)
|
||||
|
||||
- you only have to provide a unique part of the name to select a
|
||||
disk/int/process (ex. : "C:" instead of "C:\ Label: Serial Number xxxxxxx"
|
||||
makes it easy to use on multiple Windows hosts).
|
||||
|
||||
Most of these scripts can make performance outputs.
|
||||
|
||||
WWW: http://nagios.manubulon.com/
|
1
net-mgmt/nagios-snmp-plugins-extras/pkg-plist
Normal file
1
net-mgmt/nagios-snmp-plugins-extras/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
@dirrmtry libexec/nagios
|
Loading…
Reference in New Issue
Block a user