Compare commits
No commits in common. "master" and "upstream" have entirely different histories.
15
debian/.gitlab-ci.yml
vendored
15
debian/.gitlab-ci.yml
vendored
|
@ -1,15 +0,0 @@
|
|||
---
|
||||
include:
|
||||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
|
||||
|
||||
variables:
|
||||
RELEASE: 'unstable'
|
||||
SALSA_CI_DISABLE_APTLY: 0
|
||||
SALSA_CI_DISABLE_AUTOPKGTEST: 0
|
||||
SALSA_CI_DISABLE_BLHC: 1
|
||||
SALSA_CI_DISABLE_LINTIAN: 0
|
||||
SALSA_CI_DISABLE_PIUPARTS: 0
|
||||
SALSA_CI_DISABLE_REPROTEST: 0
|
||||
SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 0
|
||||
SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 0
|
||||
SALSA_CI_ENABLE_BUILD_PACKAGE_TWICE: 1
|
102
debian/NEWS
vendored
102
debian/NEWS
vendored
|
@ -1,102 +0,0 @@
|
|||
monitoring-plugins (2.1.2-3) unstable; urgency=medium
|
||||
|
||||
We switched again over to another radius library. This time radcli
|
||||
to fix #822337. This makes it again necessary to migrate you radius
|
||||
credentials from /etc/radiusclient/servers to /etc/radcli/servers
|
||||
in case you are using check_radius.
|
||||
Please install the new dependencies in this case if you don't install
|
||||
Recommends by default. Those dependencies can be found in
|
||||
/usr/share/doc/monitoring-plugins-standard/README.Debian.plugins.
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Wed, 02 Nov 2016 23:59:10 +0100
|
||||
|
||||
monitoring-plugins (2.0-1) unstable; urgency=medium
|
||||
|
||||
This software project was renamed by upstream. For more information
|
||||
see https://www.monitoring-plugins.org/news/new-project-name.html.
|
||||
|
||||
We renamed the package(s) also, but we kept the directories
|
||||
/etc/nagios-plugins/ and /usr/lib/nagios/plugins for now, cause
|
||||
many other packages rely on them. Maybe we have to change that later.
|
||||
|
||||
We decided to set capabilities(7) for check_icmp and check_dhcp, when
|
||||
possible. This means libcap2-bin needs to be installed and the
|
||||
kernel (in our case this is linux) needs to support that. This
|
||||
makes it possible to avoid suid bit set for those plugins.
|
||||
|
||||
We even switched over to freeradius-client to fix #721621. This makes
|
||||
it necessary to migrate you radius credentials from
|
||||
/etc/radiusclient-ng/servers to /etc/radiusclient/servers in case you
|
||||
are using check_radius.
|
||||
|
||||
check_snmp is now evaluating negative values properly, but it might be
|
||||
returning CRITICALs where it used to return OK and was ignored, if a
|
||||
negative value turns out to actually be a valid value.
|
||||
If negative values are valid, this can be worked around, by adding "~:"
|
||||
to the warning/critical threshold : 100 -> ~:100
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Mon, 23 Jun 2014 08:34:45 +0200
|
||||
|
||||
nagios-plugins (1.4.15-6) unstable; urgency=low
|
||||
|
||||
Created a nagios-plugins-common package which ships files possibly needed
|
||||
also by other plugin packages and should installed as dependency
|
||||
|
||||
Removed check_bgpstate and check_linux_raid, which are shiped in upstream
|
||||
contrib/ and are not maintained there anymore. If you need a replacement
|
||||
for check_linux_raid, have a look into check_raid from
|
||||
nagios-plugins-contrib package.
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Tue, 15 May 2012 13:41:33 +0200
|
||||
|
||||
nagios-plugins (1.4.15-4) unstable; urgency=low
|
||||
|
||||
Moved linked libraries against nagios-plugins-standard from Depends to
|
||||
Recommends and mention them in
|
||||
/usr/share/doc/nagios-plugins-standard/README.Debian.plugins.
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Sun, 13 Feb 2011 22:51:54 +0100
|
||||
|
||||
nagios-plugins (1.4.14-2) unstable; urgency=low
|
||||
|
||||
Moved check_mailq to nagios-plugins-standard, because it requires the mailq
|
||||
binary and it is shipped with postfix, exim, sendmail and qmail, which is
|
||||
the plugin is intended to check.
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Thu, 11 Mar 2010 13:24:23 +0100
|
||||
|
||||
nagios-plugins (1.4.14-1) unstable; urgency=low
|
||||
|
||||
If your are using check_linux_raid.pl or check_bgpstate (respectively the
|
||||
check_snmp_bgpstate), they will be removed sometime in the future, as
|
||||
upstream will remove they shortly ... so be prepared!
|
||||
|
||||
The qstat package is not a dependency any more but recommanded. As Recommands
|
||||
installed by default these days, there shouldn't much users effected. If you
|
||||
have turned off the installation of recommanded packages and you are using
|
||||
check_quake, please install the qstat package again.
|
||||
|
||||
For all non linux archs, we depend on inetutils-ping, since now. As actually
|
||||
inetutils-ping doesn't support a deadlines option (see #565137), it will be
|
||||
likely, that you will get plugin timeouts from check_ping. As iputils-ping
|
||||
is not an option here, due it's not available, you have to deal with that.
|
||||
The suggestion would be in this case, to migrate over to check_icmp.
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Sun, 20 Dec 2009 20:01:07 +0100
|
||||
|
||||
nagios-plugins (1.4.12-1) unstable; urgency=low
|
||||
|
||||
Removed default port of check_radius definition in favor of the ability to
|
||||
specify it as 4th argument.
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Fri, 06 Jun 2008 12:25:59 +0200
|
||||
|
||||
nagios-plugins (1.4.5-3) unstable; urgency=low
|
||||
|
||||
ifstatus.cfg has changed. Now you have to provide a community in the first
|
||||
argument ($ARG1$). Description and IfIndex moved to second argument ($ARG2$).
|
||||
|
||||
E.g.: use "check_ifstatus!public" instead of "check_ifstatus" as
|
||||
check_command!
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Thu, 11 Jan 2007 14:56:47 +0100
|
95
debian/README.Debian
vendored
95
debian/README.Debian
vendored
|
@ -1,95 +0,0 @@
|
|||
================================================================================
|
||||
monitoring-plugins for Debian
|
||||
================================================================================
|
||||
|
||||
below is a collection of various bits of information that might be
|
||||
helpful to users of monitoring-plugins in debian.
|
||||
|
||||
================================================================================
|
||||
plugins and dependencies
|
||||
================================================================================
|
||||
|
||||
some plugins require additional libraries and programs. to prevent you from
|
||||
having to install dozens of further packages that you don't actually need,
|
||||
there is no strict dependency on some of them.
|
||||
see /usr/share/doc/monitoring-plugins-standard/README.Debian.plugins for details.
|
||||
|
||||
================================================================================
|
||||
how to use plugins
|
||||
================================================================================
|
||||
|
||||
- you can invoke the plugins with "--help" to get help how to use the plugins
|
||||
- a short usage can be usually obtained by just running the check without
|
||||
arguments
|
||||
- if you need more information, how to use plugins, have a look at:
|
||||
http://www.monitoring-plugins.org/doc/faq/index.html
|
||||
|
||||
================================================================================
|
||||
predefined / shipped check commands
|
||||
================================================================================
|
||||
|
||||
we are shipping predefined checks, to make users life easier. at the first look,
|
||||
this seems really nice. providing checks for every special case (see check_http)
|
||||
may end up in a unsupportable state of our package.
|
||||
for example one check is testing a service on a special port, where we provide
|
||||
a check command. after some time, this service changes its port after some time,
|
||||
cause the developers of this software decided for any reason to do so. changing
|
||||
the port in the existing check will break installations, which are using the
|
||||
service with the old behavior. new users will getting confused of not using the
|
||||
correct port for their shiny service.
|
||||
cause of this conflict, we try to provide flexible checks, which may look
|
||||
complicated at first, but giving the user more power.
|
||||
|
||||
a good example for using such a general approach is check_nt / check_nscp. some
|
||||
3rd party sources (guessing they can traced back to one) are suggesting using
|
||||
two args in some way like:
|
||||
|
||||
define command {
|
||||
command_name check_nt
|
||||
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
|
||||
}
|
||||
|
||||
beside specifying not the port, we are not using "$ARG2$", cause all arguments
|
||||
of "$ARG2$" can just be used in "$ARG1$" without any problem.
|
||||
this gives you the possibility to use every check in your service definition,
|
||||
without the problem about changes in your environment. you can easily change
|
||||
your service definition as soon your environment changes without breaking the
|
||||
command definition.
|
||||
|
||||
================================================================================
|
||||
different plugin packages and how to avoid installing massive dependencies
|
||||
================================================================================
|
||||
|
||||
if you're frustrated by all the crap being brought in by monitoring-plugins (for
|
||||
example if you're installing nrpe or nsca on a remote host), try the
|
||||
monitoring-plugins-basic package.
|
||||
|
||||
================================================================================
|
||||
plugins needing root privilege or capabilities(7) set
|
||||
================================================================================
|
||||
|
||||
the check_dhcp, check_icmp and maybe others plugins require root privileges or
|
||||
capabilities(7) to run, because of the low-level packet mangling that they
|
||||
perform. but, in the interest of the "safe default", these plugins will not
|
||||
be installed with the suid bit set.
|
||||
if setcap is able set the necessary capabilities, you are fine. if the setcap
|
||||
binary is not installed or not able to set the capabilities, you need to
|
||||
either set the capabilities (eg. cap_net_raw+ep) for your own or provide root
|
||||
privileges. You could go the lazy way and install libcap2-bin and run the
|
||||
following afterwards:
|
||||
|
||||
# /var/lib/dpkg/info/monitoring-plugins-basic.postinst configure
|
||||
|
||||
there are two recommended ways about providing root priviles to your plugins
|
||||
on your system:
|
||||
|
||||
- set the suid bit with dpkg-statoverride:
|
||||
|
||||
# dpkg-statoverride --update --add root nagios 4750 $plugin
|
||||
|
||||
where $plugin is the specific plugin you want to grant such privileges.
|
||||
|
||||
- use sudo to grant the permissions and modify your plugin config
|
||||
|
||||
of these two, the first is recommended because it's the simplest and
|
||||
has the same effect as the second.
|
61
debian/README.Debian.plugins.in
vendored
61
debian/README.Debian.plugins.in
vendored
|
@ -1,61 +0,0 @@
|
|||
monitoring-plugins on Debian
|
||||
============================
|
||||
|
||||
Some plugins require additional libraries and programs. To prevent you from
|
||||
having to install dozens of further packages that you don't actually need,
|
||||
there is no strict dependency on some of them. Rather, they are listed as
|
||||
recommendations and suggests.
|
||||
|
||||
apt-get(8) and aptitude(8) will install recommended packages automatically by
|
||||
default. If you did not disable this feature you will have everything in place
|
||||
to operate all plugins when installing the "monitoring-plugins-standard"
|
||||
package, beside the packages listed as suggests.
|
||||
Else you have to install missing dependencies manually (see the section "Plugin
|
||||
dependencies" below).
|
||||
|
||||
Plugin dependencies:
|
||||
--------------------
|
||||
|
||||
check_bgpstate:
|
||||
* libnet-snmp-perl
|
||||
* whois
|
||||
|
||||
check_breeze:
|
||||
* snmp
|
||||
|
||||
check_disk_smb:
|
||||
* smbclient
|
||||
|
||||
check_dns:
|
||||
* dnsutils
|
||||
|
||||
check_fping:
|
||||
* fping
|
||||
|
||||
check_game:
|
||||
* qstat
|
||||
|
||||
check_ifoperstatus:
|
||||
* libnet-snmp-perl
|
||||
|
||||
check_ifstatus:
|
||||
* libnet-snmp-perl
|
||||
|
||||
check_mailq:
|
||||
* sendmail binary of qmail or one of the following packages
|
||||
- postfix
|
||||
- sendmail-bin
|
||||
- exim4-daemon-heavy
|
||||
- exim4-daemon-light
|
||||
* sudo
|
||||
|
||||
check_oracle:
|
||||
* procps
|
||||
|
||||
check_rpc:
|
||||
* rpcbind
|
||||
|
||||
check_wave:
|
||||
* snmp
|
||||
|
||||
@PLUGIN_DEPS@
|
24
debian/README.source
vendored
24
debian/README.source
vendored
|
@ -1,24 +0,0 @@
|
|||
We use dpatch for patch handling inside our package(s). Please see
|
||||
/usr/share/doc/dpatch/README.source.gz (if you have installed dpatch) for
|
||||
documentation about dpatch.
|
||||
|
||||
Since Version 1.5.0 we are repackaging the upstream tarball to stop providing:
|
||||
|
||||
* perlmods/
|
||||
|
||||
Therefor you should use the script debian/bin/repack.sh:
|
||||
|
||||
repack.sh <upstream-tarball>
|
||||
|
||||
This can also be automatically done with 'uscan --force-download'
|
||||
|
||||
Creating a sufficiant tarball from latest git snapshot:
|
||||
|
||||
* Install 'autoconf automake' beside the build-depends
|
||||
* Following RELEASING[1] you need
|
||||
- cd /tmp/monitoringlug
|
||||
- tools/setup
|
||||
- ./configure
|
||||
- make dist
|
||||
|
||||
[1] https://github.com/monitoring-plugins/monitoring-plugins/blob/master/doc/RELEASING
|
106
debian/bin/gen_plugin_deps.pl
vendored
106
debian/bin/gen_plugin_deps.pl
vendored
|
@ -1,106 +0,0 @@
|
|||
#! /usr/bin/perl
|
||||
#
|
||||
# collectd - gen_plugin_deps.pl
|
||||
# Copyright (C) 2007 Sebastian Harl
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by the
|
||||
# Free Software Foundation; only version 2 of the License is applicable.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
# Author:
|
||||
# Sebastian Harl <sh at tokkee.org>
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
# actual not needed
|
||||
my $extra_deps = {
|
||||
# sensors => [ 'lm-sensors' ],
|
||||
};
|
||||
|
||||
my $infile = "debian/README.Debian.plugins.in";
|
||||
my $outfile = "debian/README.Debian.plugins";
|
||||
|
||||
my ($ifile, $ofile);
|
||||
|
||||
if (! open($ifile, "<", $infile)) {
|
||||
print STDERR "Could not open file '$infile': $!\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
if (! open($ofile, ">", $outfile)) {
|
||||
print STDERR "Could not open file '$outfile': $!\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
while (my $line = <$ifile>) {
|
||||
if ($line !~ m/^\@PLUGIN_DEPS\@\n$/) {
|
||||
print $ofile $line;
|
||||
}
|
||||
else {
|
||||
print_plugin_deps($ofile);
|
||||
}
|
||||
}
|
||||
|
||||
close($ofile);
|
||||
close($ifile);
|
||||
|
||||
sub print_plugin_deps
|
||||
{
|
||||
my $fh = shift;
|
||||
my $pdir = undef;
|
||||
my $i = 0;
|
||||
|
||||
my $plugindir = "debian/monitoring-plugins-standard/usr/lib/nagios/plugins/";
|
||||
|
||||
if (! opendir($pdir, $plugindir)) {
|
||||
print STDERR "Could not open directory '$plugindir': $!\n";
|
||||
exit 1;
|
||||
}
|
||||
|
||||
foreach my $dirent (sort readdir($pdir)) {
|
||||
# if ($dirent !~ m/^(\w+).so$/) {
|
||||
if ($dirent !~ m/^check_(\w+)$/) {
|
||||
next;
|
||||
}
|
||||
|
||||
my $name = $1;
|
||||
my $deps = `dpkg-shlibdeps -O $plugindir/$dirent`;
|
||||
|
||||
chomp $deps;
|
||||
|
||||
$deps =~ s/^shlibs:Depends=//;
|
||||
|
||||
my @deps = grep !m/^libc6\b/, split m/, /, $deps;
|
||||
|
||||
if (scalar @deps) {
|
||||
if (0 < $i) {
|
||||
print $fh "\n";
|
||||
}
|
||||
|
||||
++$i;
|
||||
|
||||
print $fh "check_$name:\n";
|
||||
|
||||
if (defined $extra_deps->{$name}) {
|
||||
unshift @deps, @{$extra_deps->{$name}};
|
||||
}
|
||||
|
||||
foreach my $dep (@deps) {
|
||||
print $fh " * $dep\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# vim: set tw=78 sw=4 ts=4 noexpandtab :
|
||||
|
39
debian/bin/repack.sh
vendored
39
debian/bin/repack.sh
vendored
|
@ -1,39 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Borrowed from Raphael Geissert's Debian PHP repack script.
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -f "$3" ] && [ ! -f "$1" ]; then
|
||||
echo "This script must be run via uscan or by manually specifying the tarball" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
tarball=
|
||||
|
||||
[ -f "$3" ] && tarball="$3"
|
||||
[ -z "$tarball" -a -f "$1" ] && tarball="$1"
|
||||
|
||||
tarball="$(readlink -f "$tarball")"
|
||||
|
||||
tdir="$(mktemp -d)"
|
||||
trap '[ ! -d "$tdir" ] || rm -r "$tdir"' EXIT
|
||||
|
||||
tar -xzf $tarball -C $tdir
|
||||
cp -a "$tarball" "$tarball.orig"
|
||||
distdir="$(basename $(ls -d $tdir/*))"
|
||||
srcdir="$tdir/$distdir"
|
||||
|
||||
#echo "Adjusting $srcdir/configure"
|
||||
sed -i 's/perlmods\/Makefile\ //' $srcdir/configure
|
||||
sed -i '/perlmods\/Makefile/d' $srcdir/configure
|
||||
#echo "Adjusting $srcdir/configure.in"
|
||||
[ -f $srcdir/configure.in ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.in
|
||||
#echo "Adjusting $srcdir/configure.am"
|
||||
[ -f $srcdir/configure.ac ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.ac
|
||||
#echo "Adjusting $srcdir/Makefile*"
|
||||
sed -i 's/perlmods\ //' $srcdir/Makefile*
|
||||
#echo "Removing $srcdir/perlmods/
|
||||
rm -rf $srcdir/perlmods/
|
||||
|
||||
tar -cof "${tarball%.*}" -C $tdir/ $distdir
|
||||
gzip -f9 "${tarball%.*}"
|
1762
debian/changelog
vendored
1762
debian/changelog
vendored
File diff suppressed because it is too large
Load diff
112
debian/control
vendored
112
debian/control
vendored
|
@ -1,112 +0,0 @@
|
|||
Source: monitoring-plugins
|
||||
Section: net
|
||||
Priority: optional
|
||||
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
|
||||
Uploaders: Jan Wagner <waja@cyconet.org>, Alexander Wirt <formorer@debian.org>
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
libcurl4-openssl-dev | libcurl4-nss-dev | libcurl4-gnutls-dev,
|
||||
libdbi-dev,
|
||||
libradcli-dev | libfreeradius-client-dev,
|
||||
libkrb5-dev,
|
||||
libldap2-dev,
|
||||
default-libmysqlclient-dev,
|
||||
libnet-snmp-perl,
|
||||
libpq-dev,
|
||||
libssl-dev,
|
||||
liburiparser-dev,
|
||||
mawk | awk,
|
||||
perl,
|
||||
procps
|
||||
Standards-Version: 4.6.2
|
||||
Vcs-Browser: https://salsa.debian.org/nagios-team/monitoring-plugins
|
||||
Vcs-Git: https://salsa.debian.org/nagios-team/monitoring-plugins.git
|
||||
Homepage: https://www.monitoring-plugins.org
|
||||
Rules-Requires-Root: binary-targets
|
||||
|
||||
Package: monitoring-plugins
|
||||
Architecture: all
|
||||
Depends: monitoring-plugins-basic, monitoring-plugins-standard, ${misc:Depends}
|
||||
Suggests: icinga2, nagios-plugins-contrib
|
||||
Provides: nagios-plugins
|
||||
Description: Plugins for nagios compatible monitoring systems (metapackage)
|
||||
Plugins for nagios compatible monitoring systems like Naemon and Icinga.
|
||||
.
|
||||
This metapackage will install the entire suite of plugins for nagios
|
||||
compatible monitoring systems.
|
||||
If you are installing monitoring plugins on a remote "satellite" server
|
||||
(using nagios-nrpe-server or nsca), you may be interested in the
|
||||
monitoring-plugins-basic package.
|
||||
|
||||
Package: monitoring-plugins-common
|
||||
Architecture: any
|
||||
Depends: ucf, ${misc:Depends}, ${shlibs:Depends}
|
||||
Suggests: icinga2
|
||||
Description: Common files for plugins for nagios compatible monitoring
|
||||
Common files for plugins for nagios compatible monitoring systems like Naemon
|
||||
and Icinga.
|
||||
.
|
||||
This package contains common files which maybe needed for plugins.
|
||||
|
||||
Package: monitoring-plugins-basic
|
||||
Architecture: any
|
||||
Depends: inetutils-ping [kfreebsd-any hurd-any],
|
||||
iputils-ping [linux-any],
|
||||
monitoring-plugins-common,
|
||||
procps,
|
||||
ucf,
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Recommends: libcap2-bin [linux-any]
|
||||
Suggests: icinga2
|
||||
Provides: nagios-plugins-basic
|
||||
Description: Plugins for nagios compatible monitoring systems (basic)
|
||||
Plugins for nagios compatible monitoring systems like Naemon and Icinga. It
|
||||
contains the following plugins:
|
||||
.
|
||||
check_apt, check_by_ssh, check_clamd, check_cluster,
|
||||
check_dhcp, check_disk, check_dummy, check_file_age,
|
||||
check_ftp, check_host, check_http, check_icmp,
|
||||
check_ide_smart, check_imap, check_ircd, check_jabber,
|
||||
check_load, check_log, check_mrtg, check_mrtgtraf,
|
||||
check_nagios, check_nntp, check_nntps, check_nt,
|
||||
check_ntp, check_ntp_peer, check_ntp_time, check_nwstat,
|
||||
check_overcr, check_ping, check_pop, check_procs,
|
||||
check_real, check_rta_multi, check_sensors, check_simap,
|
||||
check_smtp, check_spop, check_ssh, check_ssmtp,
|
||||
check_swap, check_tcp, check_time, check_udp,
|
||||
check_ups, check_users
|
||||
.
|
||||
This package provides a basic set of plugins with minimal external
|
||||
dependencies. It is not likely to be useful by itself unless you are
|
||||
using a remote "satellite" system (using nagios-nrpe-server, check_by_ssh or
|
||||
nsca, for example).
|
||||
|
||||
Package: monitoring-plugins-standard
|
||||
Architecture: any
|
||||
Depends: monitoring-plugins-basic, ucf, ${misc:Depends}, ${shlibs:Depends}
|
||||
Recommends: bind9-host | host,
|
||||
dnsutils,
|
||||
libnet-snmp-perl,
|
||||
rpcbind,
|
||||
smbclient,
|
||||
snmp,
|
||||
sudo,
|
||||
${shlibs:Recommends}
|
||||
Suggests: fping,
|
||||
icinga2,
|
||||
postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light,
|
||||
qstat
|
||||
Provides: nagios-plugins-standard
|
||||
Description: Plugins for nagios compatible monitoring systems (standard)
|
||||
Plugins for nagios compatible monitoring systems like Naemon and Icinga. It
|
||||
contains the following plugins:
|
||||
.
|
||||
check_breeze, check_dbi, check_dig, check_disk_smb, check_dns,
|
||||
check_flexlm, check_fping, check_game, check_hpjd, check_ifoperstatus,
|
||||
check_ifstatus, check_ldap, check_ldaps, check_mailq, check_mysql,
|
||||
check_mysql_query, check_oracle, check_pgsql, check_radius, check_rpc,
|
||||
check_snmp, check_wave
|
||||
.
|
||||
This package provides the suite of plugins that are most likely to be
|
||||
useful on a central monitoring host. Some scripts need more packages installed
|
||||
to work, which is implemented as recommends.
|
290
debian/copyright
vendored
290
debian/copyright
vendored
|
@ -1,290 +0,0 @@
|
|||
This package was debianized by Guido Trotter <ultrotter@debian.org> on
|
||||
Sun, 1 Feb 2004 10:05:51 +0100.
|
||||
|
||||
It was downloaded from https://www.monitoring-plugins.org/
|
||||
|
||||
Upstream Authors: Felipe Gustavo de Almeida
|
||||
Ian Cass
|
||||
Robert Dale
|
||||
Karl DeBisschop
|
||||
Ragnar Hojland Espinosa
|
||||
Ethan Galstad
|
||||
Bo Kersey
|
||||
Pedro Leite
|
||||
Richard Mayhew
|
||||
Remi Paulmier
|
||||
Didi Rieder
|
||||
Tom Shields
|
||||
Sean Finney
|
||||
Jeremy T Bouse
|
||||
Peter Bray
|
||||
Gavin Carr
|
||||
Matthias Eble
|
||||
Subhendu Ghosh
|
||||
Thomas Guyot-Sionnest
|
||||
Stanley Hopcroft
|
||||
Matthew Kent
|
||||
Harper Mann
|
||||
Benoit Mortier
|
||||
Sven Nierlein
|
||||
Nathan Vonnahme
|
||||
Ton Voon
|
||||
Holger Weiss
|
||||
Michael Wirtgen
|
||||
|
||||
Copyright:
|
||||
|
||||
Copyright (C) 1985, 2013 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
|
||||
From upstream README:
|
||||
|
||||
You can redistribute and/or modify this software under the terms of the GNU
|
||||
General Public License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or (at your option) any later version; with the
|
||||
additional exemption that compiling, linking, and/or using OpenSSL is
|
||||
allowed.
|
||||
|
||||
This software is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
Files with different Licenses:
|
||||
|
||||
build-aux/config.guess
|
||||
build-aux/config.sub
|
||||
build-aux/ltmain.sh
|
||||
plugins-scripts/check_mailq.pl
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
USA.
|
||||
|
||||
gl/alloca.in.h
|
||||
gl/as*
|
||||
gl/base64*
|
||||
gl/basename.c
|
||||
gl/cloexec.c
|
||||
gl/config.charset
|
||||
gl/creat-safer.c
|
||||
gl/c-strtod.c
|
||||
gl/d*
|
||||
gl/e*
|
||||
gl/fcntl*
|
||||
gl/fd-safer.c
|
||||
gl/float.*
|
||||
gl/float
|
||||
gl/floorf.c
|
||||
gl/fsusage*
|
||||
gl/full*
|
||||
gl/gai_strerror.c
|
||||
gl/getaddrinfo*
|
||||
gl/gethostname.c
|
||||
gl/getloadavg.c
|
||||
gl/getopt*
|
||||
gl/gettext.h
|
||||
gl/inet_ntop*
|
||||
gl/intprops.h
|
||||
gl/localcharset*
|
||||
gl/malloc.c
|
||||
gl/math.in.h
|
||||
gl/mountlist*
|
||||
gl/netinet_in.in.h
|
||||
gl/printf-*
|
||||
gl/ref-*
|
||||
gl/safe-*
|
||||
gl/size_max.h
|
||||
gl/snprintf.c
|
||||
gl/stdbool.in.h
|
||||
gl/stdint.in.h
|
||||
gl/stdio.in.h
|
||||
gl/stdlib.in.h
|
||||
gl/strerror.c
|
||||
gl/string.in.h
|
||||
gl/stripslash.c
|
||||
gl/strndup.c
|
||||
gl/strnlen.c
|
||||
gl/sys_socket.in.h
|
||||
gl/unistd.in.h
|
||||
gl/v*
|
||||
gl/wchar.in.h
|
||||
gl/wctype.in.h
|
||||
gl/xalloc.h
|
||||
gl/xalloc-die.c
|
||||
gl/xmalloc.c
|
||||
gl/xsize.h
|
||||
gl/xstrndup*
|
||||
gl/xsize.h
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published
|
||||
by the Free Software Foundation; either version 3, or (at your option)
|
||||
any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
USA.
|
||||
|
||||
gl/reg*
|
||||
gl/mktime.c
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 3 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
Makefile.in
|
||||
gl/Makefile.in
|
||||
gl/m4/*.m4
|
||||
lib/Makefile.in
|
||||
lib/tests/Makefile.in
|
||||
plugins/Makefile.in
|
||||
plugins-root/Makefile.in
|
||||
plugins-scripts/Makefile.in
|
||||
tap/Makefile.in
|
||||
|
||||
This Makefile.in is free software; the Free Software Foundation
|
||||
gives unlimited permission to copy and/or distribute it,
|
||||
with or without modifications, as long as this notice is preserved.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
PARTICULAR PURPOSE.
|
||||
|
||||
aclocal.m4
|
||||
|
||||
This file is free software; the Free Software Foundation
|
||||
gives unlimited permission to copy and/or distribute it,
|
||||
with or without modifications, as long as this notice is preserved.
|
||||
|
||||
gl/m4/00gnulib.m4
|
||||
gl/m4/a*.m4
|
||||
gl/m4/b*.m4
|
||||
gl/m4/c*.m4
|
||||
gl/m4/d*.m4
|
||||
gl/m4/e*.m4
|
||||
gl/m4/f*.m4
|
||||
gl/m4/getaddrinfo.m4
|
||||
gl/m4/gethostname.m4
|
||||
gl/m4/getloadavg.m4
|
||||
gl/m4/getopt.m4
|
||||
gl/m4/gettext.m4
|
||||
gl/m4/glibc21.m4
|
||||
gl/m4/gnulib-common.m4
|
||||
gl/m4/h*.m4
|
||||
gl/m4/i*.m4
|
||||
gl/m4/l*.m4
|
||||
gl/m4/m*.m4
|
||||
gl/m4/n*.m4
|
||||
gl/m4/off_t.m4
|
||||
gl/m4/p*.m4
|
||||
gl/m4/r*.m4
|
||||
gl/m4/s*.m4
|
||||
gl/m4/t*.m4
|
||||
gl/m4/u*.m4
|
||||
gl/m4/v*.m4
|
||||
gl/m4/w*.m4
|
||||
gl/m4/x*.m4
|
||||
m4/np_mysqlclient.m4
|
||||
|
||||
This file is free software; the Free Software Foundation
|
||||
gives unlimited permission to copy and/or distribute it,
|
||||
with or without modifications, as long as this notice is preserved.
|
||||
|
||||
build-aux/install-sh
|
||||
|
||||
Copyright (C) 1994 X Consortium
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||
TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Except as contained in this notice, the name of the X Consortium shall not
|
||||
be used in advertising or otherwise to promote the sale, use or other deal-
|
||||
ings in this Software without prior written authorization from the X Consor-
|
||||
tium.
|
||||
|
||||
FSF changes to this file are in the public domain.
|
||||
|
||||
tap/tap.*
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
1
debian/dirs
vendored
1
debian/dirs
vendored
|
@ -1 +0,0 @@
|
|||
etc/nagios-plugins/config
|
14
debian/functions
vendored
14
debian/functions
vendored
|
@ -1,14 +0,0 @@
|
|||
# functions for use by nagios plugins maintainer scripts
|
||||
|
||||
npconfdir=/etc/nagios-plugins/config
|
||||
|
||||
# we now register all n-p config files via ucf.
|
||||
register_cfgs(){
|
||||
# do this in a subshell so we don't screw up cwd
|
||||
(
|
||||
for file in ${templdir}/*cfg; do
|
||||
ucf ${templdir}/$(basename $file) ${npconfdir}/$(basename $file)
|
||||
done
|
||||
);
|
||||
}
|
||||
|
3
debian/gbp.conf
vendored
3
debian/gbp.conf
vendored
|
@ -1,3 +0,0 @@
|
|||
[buildpackage]
|
||||
postbuild = lintian --info --display-info --display-experimental --pedantic --show-overrides $GBP_CHANGES_FILE
|
||||
pbuilder-options = --source-only-changes
|
3
debian/monitoring-plugins-basic.dirs
vendored
3
debian/monitoring-plugins-basic.dirs
vendored
|
@ -1,3 +0,0 @@
|
|||
etc/nagios-plugins/config
|
||||
usr/lib/nagios/plugins
|
||||
usr/share/monitoring-plugins/templates-basic
|
7
debian/monitoring-plugins-basic.links
vendored
7
debian/monitoring-plugins-basic.links
vendored
|
@ -1,7 +0,0 @@
|
|||
usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins-basic/NEWS.Debian.gz
|
||||
usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins-basic/NEWS.gz
|
||||
usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins-basic/README
|
||||
usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins-basic/README.Debian.gz
|
||||
usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins-basic/REQUIREMENTS
|
||||
usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins-basic/SUPPORT
|
||||
usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins-basic/changelog.gz
|
29
debian/monitoring-plugins-basic.postinst
vendored
29
debian/monitoring-plugins-basic.postinst
vendored
|
@ -1,29 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
templdir=/usr/share/monitoring-plugins/templates-basic
|
||||
. /usr/share/monitoring-plugins/dpkg/functions
|
||||
plugindir=/usr/lib/nagios/plugins/
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
register_cfgs $2
|
||||
|
||||
# If we have setcap is installed, try setting cap_net_raw+ep,
|
||||
# which allows us to make our binaries working without the
|
||||
# setuid bit
|
||||
if command -v setcap > /dev/null; then
|
||||
if setcap "cap_net_raw+ep" ${plugindir}/check_icmp "cap_net_bind_service=+ep cap_net_raw=+ep" ${plugindir}/check_dhcp; then
|
||||
echo "Setcap for check_icmp and check_dhcp worked!"
|
||||
else
|
||||
echo "Setcap for check_icmp and check_dhcp failed." >&2
|
||||
echo "Please refer README.Debian.gz for using plugins needing" >&2
|
||||
echo "higher privileges!" >&2
|
||||
fi
|
||||
else
|
||||
echo "Setcap is not installed, please refer README.Debian.gz for using" >&2
|
||||
echo "plugins needing higher privileges!" >&2
|
||||
fi
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
19
debian/monitoring-plugins-basic.postrm.in
vendored
19
debian/monitoring-plugins-basic.postrm.in
vendored
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
BASIC_PLUGINS="@BASIC_PLUGINS@"
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
if which ucf >/dev/null 2>&1; then
|
||||
have_ucf="yes"
|
||||
fi
|
||||
for f in $BASIC_PLUGINS; do
|
||||
rm -f /etc/nagios-plugins/config/${f}.cfg
|
||||
if [ "$have_ucf" = "yes" ]; then
|
||||
ucf --purge /etc/nagios-plugins/config/${f}.cfg
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
1
debian/monitoring-plugins-common.dirs
vendored
1
debian/monitoring-plugins-common.dirs
vendored
|
@ -1 +0,0 @@
|
|||
usr/lib/nagios/plugins
|
7
debian/monitoring-plugins-common.docs
vendored
7
debian/monitoring-plugins-common.docs
vendored
|
@ -1,7 +0,0 @@
|
|||
FAQ
|
||||
NEWS
|
||||
README
|
||||
REQUIREMENTS
|
||||
SUPPORT
|
||||
debian/NEWS
|
||||
debian/README.Debian
|
1
debian/monitoring-plugins-common.examples
vendored
1
debian/monitoring-plugins-common.examples
vendored
|
@ -1 +0,0 @@
|
|||
|
3
debian/monitoring-plugins-standard.dirs
vendored
3
debian/monitoring-plugins-standard.dirs
vendored
|
@ -1,3 +0,0 @@
|
|||
etc/nagios-plugins/config
|
||||
usr/lib/nagios/plugins
|
||||
usr/share/monitoring-plugins/templates-standard
|
1
debian/monitoring-plugins-standard.docs
vendored
1
debian/monitoring-plugins-standard.docs
vendored
|
@ -1 +0,0 @@
|
|||
debian/README.Debian.plugins
|
8
debian/monitoring-plugins-standard.links
vendored
8
debian/monitoring-plugins-standard.links
vendored
|
@ -1,8 +0,0 @@
|
|||
usr/share/doc/monitoring-plugins-common/FAQ usr/share/doc/monitoring-plugins-standard/FAQ
|
||||
usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins-standard/NEWS.Debian.gz
|
||||
usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins-standard/NEWS.gz
|
||||
usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins-standard/README
|
||||
usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins-standard/README.Debian.gz
|
||||
usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins-standard/REQUIREMENTS
|
||||
usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins-standard/SUPPORT
|
||||
usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins-standard/changelog.gz
|
12
debian/monitoring-plugins-standard.postinst
vendored
12
debian/monitoring-plugins-standard.postinst
vendored
|
@ -1,12 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
. /usr/share/monitoring-plugins/dpkg/functions
|
||||
templdir=/usr/share/monitoring-plugins/templates-standard
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
register_cfgs $2
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
19
debian/monitoring-plugins-standard.postrm.in
vendored
19
debian/monitoring-plugins-standard.postrm.in
vendored
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
STD_PLUGINS="@STD_PLUGINS@"
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
if which ucf >/dev/null 2>&1; then
|
||||
have_ucf="yes"
|
||||
fi
|
||||
for f in $STD_PLUGINS; do
|
||||
rm -f /etc/nagios-plugins/config/${f}.cfg
|
||||
if [ "$have_ucf" = "yes" ]; then
|
||||
ucf --purge /etc/nagios-plugins/config/${f}.cfg
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
9
debian/monitoring-plugins.links
vendored
9
debian/monitoring-plugins.links
vendored
|
@ -1,9 +0,0 @@
|
|||
usr/share/doc/monitoring-plugins-common/FAQ usr/share/doc/monitoring-plugins/FAQ
|
||||
usr/share/doc/monitoring-plugins-common/NEWS.Debian.gz usr/share/doc/monitoring-plugins/NEWS.Debian.gz
|
||||
usr/share/doc/monitoring-plugins-common/NEWS.gz usr/share/doc/monitoring-plugins/NEWS.gz
|
||||
usr/share/doc/monitoring-plugins-common/README usr/share/doc/monitoring-plugins/README
|
||||
usr/share/doc/monitoring-plugins-common/README.Debian.gz usr/share/doc/monitoring-plugins/README.Debian.gz
|
||||
usr/share/doc/monitoring-plugins-common/REQUIREMENTS usr/share/doc/monitoring-plugins/REQUIREMENTS
|
||||
usr/share/doc/monitoring-plugins-common/SUPPORT usr/share/doc/monitoring-plugins/SUPPORT
|
||||
usr/share/doc/monitoring-plugins-common/changelog.gz usr/share/doc/monitoring-plugins/changelog.gz
|
||||
usr/share/doc/monitoring-plugins-standard/README.Debian.plugins usr/share/doc/monitoring-plugins/README.Debian.plugins
|
30
debian/patches/02_check_icmp_links
vendored
30
debian/patches/02_check_icmp_links
vendored
|
@ -1,30 +0,0 @@
|
|||
## 02_check_icmp_links by Jan Wagner <waja@cyconet.org>
|
||||
##
|
||||
## DP: Create symlinks for check_icmp to provide default values for some situations
|
||||
|
||||
diff -urNad nagios-plugins-1.4.14~/plugins-root/Makefile.am nagios-plugins-1.4.14/plugins-root/Makefile.am
|
||||
--- nagios-plugins-1.4.14~/plugins-root/Makefile.am 2008-11-30 22:23:18.000000000 +0100
|
||||
+++ nagios-plugins-1.4.14/plugins-root/Makefile.am 2010-01-10 20:39:03.000000000 +0100
|
||||
@@ -71,7 +71,8 @@
|
||||
else \
|
||||
echo "WARNING: insufficient access; not installing setuid plugins"; \
|
||||
echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
|
||||
- fi
|
||||
+ fi ; \
|
||||
+ if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi
|
||||
|
||||
# /* Author Coreutils team sub-citation */
|
||||
|
||||
diff -urNad nagios-plugins-1.4.14~/plugins-root/Makefile.in nagios-plugins-1.4.14/plugins-root/Makefile.in
|
||||
--- nagios-plugins-1.4.14~/plugins-root/Makefile.in 2009-09-16 10:37:59.000000000 +0200
|
||||
+++ nagios-plugins-1.4.14/plugins-root/Makefile.in 2010-01-10 20:39:13.000000000 +0100
|
||||
@@ -1162,7 +1162,8 @@
|
||||
else \
|
||||
echo "WARNING: insufficient access; not installing setuid plugins"; \
|
||||
echo "NOTE: to install setuid plugins, run 'make install-root' as root"; \
|
||||
- fi
|
||||
+ fi ; \
|
||||
+ if [ -x $(DESTDIR)$(libexecdir)/check_icmp ] ; then rm -f $(DESTDIR)$(libexecdir)/check_host $(DESTDIR)$(libexecdir)/check_rta_multi ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_host ; ln -s check_icmp $(DESTDIR)$(libexecdir)/check_rta_multi ; fi
|
||||
|
||||
clean-local:
|
||||
rm -f NP-VERSION-FILE
|
8
debian/patches/03_epn
vendored
8
debian/patches/03_epn
vendored
|
@ -1,8 +0,0 @@
|
|||
--- a/plugins-scripts/check_disk_smb.pl
|
||||
+++ b/plugins-scripts/check_disk_smb.pl
|
||||
@@ -1,4 +1,5 @@
|
||||
#!@PERL@ -w
|
||||
+# nagios: -epn
|
||||
#
|
||||
#
|
||||
# check_disk.pl <host> <share> <user> <pass> [warn] [critical] [port]
|
4
debian/patches/series
vendored
4
debian/patches/series
vendored
|
@ -1,4 +0,0 @@
|
|||
02_check_icmp_links
|
||||
03_epn
|
||||
# commited upstream
|
||||
# feature patches
|
12
debian/pluginconfig/apt.cfg
vendored
12
debian/pluginconfig/apt.cfg
vendored
|
@ -1,12 +0,0 @@
|
|||
# 'check_apt' command definition
|
||||
define command{
|
||||
command_name check_apt
|
||||
command_line /usr/lib/nagios/plugins/check_apt
|
||||
}
|
||||
|
||||
# 'check_apt_distupgrade' command definition
|
||||
define command{
|
||||
command_name check_apt_distupgrade
|
||||
command_line /usr/lib/nagios/plugins/check_apt -d
|
||||
}
|
||||
|
5
debian/pluginconfig/breeze.cfg
vendored
5
debian/pluginconfig/breeze.cfg
vendored
|
@ -1,5 +0,0 @@
|
|||
# 'check_breeze' command definition
|
||||
define command {
|
||||
command_name check_breeze
|
||||
command_line /usr/lib/nagios/plugins/check_breeze -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
111
debian/pluginconfig/curl-http.cfg
vendored
111
debian/pluginconfig/curl-http.cfg
vendored
|
@ -1,111 +0,0 @@
|
|||
# 'check_curl_http' command definition
|
||||
define command{
|
||||
command_name check_curl_http
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curl_httpname' command definition
|
||||
define command{
|
||||
command_name check_curl_httpname
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curl_http2' command definition
|
||||
define command{
|
||||
command_name check_curl_http2
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$'
|
||||
}
|
||||
|
||||
# 'check_curl_squid' command definition
|
||||
define command{
|
||||
command_name check_curl_squid
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_curl_https' command definition
|
||||
define command{
|
||||
command_name check_curl_https
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curl_https_httpname' command definition
|
||||
define command{
|
||||
command_name check_curl_https_hostname
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curl_https_auth' command definition
|
||||
define command{
|
||||
command_name check_curl_https_auth
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_curl_https_auth_hostname' command definition
|
||||
define command{
|
||||
command_name check_curl_https_auth_hostname
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_curl_cups' command definition
|
||||
define command{
|
||||
command_name check_curl_cups
|
||||
command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_curl_http_4' command definition
|
||||
define command{
|
||||
command_name check_curl_http_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curl_httpname_4' command definition
|
||||
define command{
|
||||
command_name check_curl_httpname_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curl_http2_4' command definition
|
||||
define command{
|
||||
command_name check_curl_http2_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 '$ARG4$'
|
||||
}
|
||||
|
||||
# 'check_curl_squid_4' command definition
|
||||
define command{
|
||||
command_name check_curl_squid_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -4
|
||||
}
|
||||
|
||||
# 'check_curl_https_4' command definition
|
||||
define command{
|
||||
command_name check_curl_https_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curls_https_hostname_4' command definition
|
||||
define command{
|
||||
command_name check_curl_https_hostname_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_curl_https_auth_4' command definition
|
||||
define command{
|
||||
command_name check_curl_https_auth_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_curl_https_auth_hostname_4' command definition
|
||||
define command{
|
||||
command_name check_curl_https_auth_hostname_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_curl_cups_4' command definition
|
||||
define command{
|
||||
command_name check_curl_cups_4
|
||||
command_line /usr/lib/nagios/plugins/check_curl -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$'
|
||||
}
|
15
debian/pluginconfig/dhcp.cfg
vendored
15
debian/pluginconfig/dhcp.cfg
vendored
|
@ -1,15 +0,0 @@
|
|||
# note: these plugins require root privilege. see README.Debian for
|
||||
# more information on how it is recommended that you do this.
|
||||
|
||||
# 'check_dhcp' command definition
|
||||
define command{
|
||||
command_name check_dhcp
|
||||
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_dhcp_interface' command definition
|
||||
define command{
|
||||
command_name check_dhcp_interface
|
||||
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$' '$ARG2$'
|
||||
}
|
||||
|
54
debian/pluginconfig/disk-smb.cfg
vendored
54
debian/pluginconfig/disk-smb.cfg
vendored
|
@ -1,54 +0,0 @@
|
|||
# 'check_disk_smb' command definition
|
||||
define command{
|
||||
command_name check_disk_smb
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_host' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_host
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup_host' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup_host
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$' -w '$ARG5$' -c '$ARG6$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_host_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_host_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_disk_smb_workgroup_host_user' command definition
|
||||
define command{
|
||||
command_name check_disk_smb_workgroup_host_user
|
||||
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
|
||||
}
|
27
debian/pluginconfig/disk.cfg
vendored
27
debian/pluginconfig/disk.cfg
vendored
|
@ -1,27 +0,0 @@
|
|||
# 'check_disk' command definition
|
||||
define command{
|
||||
command_name check_disk
|
||||
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'
|
||||
}
|
||||
|
||||
# 'check_all_disks' command definition
|
||||
define command{
|
||||
command_name check_all_disks
|
||||
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e
|
||||
}
|
||||
|
||||
# 'ssh_disk' command definition
|
||||
define command{
|
||||
command_name ssh_disk
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C "/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'"
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'ssh_disk_4' command definition
|
||||
define command{
|
||||
command_name ssh_disk_4
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C "/usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'" -4
|
||||
}
|
11
debian/pluginconfig/dns.cfg
vendored
11
debian/pluginconfig/dns.cfg
vendored
|
@ -1,11 +0,0 @@
|
|||
# 'check_dns' command definition
|
||||
define command{
|
||||
command_name check_dns
|
||||
command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_dig' command definition
|
||||
define command{
|
||||
command_name check_dig
|
||||
command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$' '$ARG2$'
|
||||
}
|
29
debian/pluginconfig/dummy.cfg
vendored
29
debian/pluginconfig/dummy.cfg
vendored
|
@ -1,29 +0,0 @@
|
|||
# return-ok definition
|
||||
define command {
|
||||
command_name return-ok
|
||||
command_line /usr/lib/nagios/plugins/check_dummy 0
|
||||
}
|
||||
|
||||
# return-warning definition
|
||||
define command {
|
||||
command_name return-warning
|
||||
command_line /usr/lib/nagios/plugins/check_dummy 1
|
||||
}
|
||||
|
||||
# return-critical definition
|
||||
define command {
|
||||
command_name return-critical
|
||||
command_line /usr/lib/nagios/plugins/check_dummy 2
|
||||
}
|
||||
|
||||
# return-unknown definition
|
||||
define command {
|
||||
command_name return-unknown
|
||||
command_line /usr/lib/nagios/plugins/check_dummy 3
|
||||
}
|
||||
|
||||
# return-numeric definition
|
||||
define command {
|
||||
command_name return-numeric
|
||||
command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$'
|
||||
}
|
6
debian/pluginconfig/flexlm.cfg
vendored
6
debian/pluginconfig/flexlm.cfg
vendored
|
@ -1,6 +0,0 @@
|
|||
# 'check_flexlm' command definition
|
||||
define command{
|
||||
command_name check_flexlm
|
||||
command_line /usr/lib/nagios/plugins/check_flexlm -F '$ARG1$'
|
||||
}
|
||||
|
5
debian/pluginconfig/fping.cfg
vendored
5
debian/pluginconfig/fping.cfg
vendored
|
@ -1,5 +0,0 @@
|
|||
# 'check-fast-alive' command definition
|
||||
define command{
|
||||
command_name check-fast-alive
|
||||
command_line /usr/lib/nagios/plugins/check_fping -H '$HOSTADDRESS$'
|
||||
}
|
15
debian/pluginconfig/ftp.cfg
vendored
15
debian/pluginconfig/ftp.cfg
vendored
|
@ -1,15 +0,0 @@
|
|||
# 'check_ftp' command definition
|
||||
define command{
|
||||
command_name check_ftp
|
||||
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_ftp_4' command definition
|
||||
define command{
|
||||
command_name check_ftp_4
|
||||
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
14
debian/pluginconfig/games.cfg
vendored
14
debian/pluginconfig/games.cfg
vendored
|
@ -1,14 +0,0 @@
|
|||
# 'check_quake' command definition
|
||||
define command{
|
||||
command_name check_quake
|
||||
command_line /usr/lib/nagios/plugins/check_game qs '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_unreal' command definition
|
||||
define command{
|
||||
command_name check_unreal
|
||||
command_line /usr/lib/nagios/plugins/check_game uns '$HOSTADDRESS$' -P '$ARG1$' -p 8
|
||||
}
|
||||
|
||||
|
6
debian/pluginconfig/hppjd.cfg
vendored
6
debian/pluginconfig/hppjd.cfg
vendored
|
@ -1,6 +0,0 @@
|
|||
# 'check_hpjd' command definition
|
||||
define command{
|
||||
command_name check_hpjd
|
||||
command_line /usr/lib/nagios/plugins/check_hpjd -H '$HOSTADDRESS$' -C public
|
||||
}
|
||||
|
111
debian/pluginconfig/http.cfg
vendored
111
debian/pluginconfig/http.cfg
vendored
|
@ -1,111 +0,0 @@
|
|||
# 'check_http' command definition
|
||||
define command{
|
||||
command_name check_http
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_http_hostname' command definition
|
||||
define command{
|
||||
command_name check_httpname
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_http2' command definition
|
||||
define command{
|
||||
command_name check_http2
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' '$ARG4$'
|
||||
}
|
||||
|
||||
# 'check_squid' command definition
|
||||
define command{
|
||||
command_name check_squid
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_https' command definition
|
||||
define command{
|
||||
command_name check_https
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_https_hostname' command definition
|
||||
define command{
|
||||
command_name check_https_hostname
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_https_auth' command definition
|
||||
define command{
|
||||
command_name check_https_auth
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_https_auth_hostname' command definition
|
||||
define command{
|
||||
command_name check_https_auth_hostname
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$' '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_cups' command definition
|
||||
define command{
|
||||
command_name check_cups
|
||||
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_http_4' command definition
|
||||
define command{
|
||||
command_name check_http_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_http_hostname_4' command definition
|
||||
define command{
|
||||
command_name check_httpname_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_http2_4' command definition
|
||||
define command{
|
||||
command_name check_http2_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4 '$ARG4$'
|
||||
}
|
||||
|
||||
# 'check_squid_4' command definition
|
||||
define command{
|
||||
command_name check_squid_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -4
|
||||
}
|
||||
|
||||
# 'check_https_4' command definition
|
||||
define command{
|
||||
command_name check_https_4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_https_hostname_4' command definition
|
||||
define command{
|
||||
command_name check_https_hostname_4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_https_auth_4' command definition
|
||||
define command{
|
||||
command_name check_https_auth_4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_https_auth_hostname_4' command definition
|
||||
define command{
|
||||
command_name check_https_auth_hostname_4
|
||||
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4 '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_cups_4' command definition
|
||||
define command{
|
||||
command_name check_cups_4
|
||||
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4 '$ARG1$'
|
||||
}
|
23
debian/pluginconfig/ifstatus.cfg
vendored
23
debian/pluginconfig/ifstatus.cfg
vendored
|
@ -1,23 +0,0 @@
|
|||
# 'check_ifstatus' command definition
|
||||
define command{
|
||||
command_name check_ifstatus
|
||||
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_ifstatus_exclude' command definition
|
||||
define command{
|
||||
command_name check_ifstatus_exclude
|
||||
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' -x '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_ifoperstatus_ifindex' command definition
|
||||
define command{
|
||||
command_name check_ifoperstatus_ifindex
|
||||
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -k '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_ifoperstatus_ifdescr' command definition
|
||||
define command{
|
||||
command_name check_ifoperstatus_ifdescr
|
||||
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -d '$ARG2$'
|
||||
}
|
12
debian/pluginconfig/jabber.cfg
vendored
12
debian/pluginconfig/jabber.cfg
vendored
|
@ -1,12 +0,0 @@
|
|||
# 'check_jabber_4' command definition
|
||||
define command{
|
||||
command_name check_jabber_4
|
||||
command_line /usr/lib/nagios/plugins/check_jabber -4 -H $HOSTADDRESS$ '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_jabber' command definition
|
||||
define command{
|
||||
command_name check_jabber
|
||||
command_line /usr/lib/nagios/plugins/check_jabber -H $HOSTADDRESS$ '$ARG1$'
|
||||
}
|
||||
|
31
debian/pluginconfig/ldap.cfg
vendored
31
debian/pluginconfig/ldap.cfg
vendored
|
@ -1,31 +0,0 @@
|
|||
# 'check_ldap' command definition
|
||||
define command{
|
||||
command_name check_ldap
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_ldaps' command definition
|
||||
# This was using 'check_ldaps' in the past which used port 389 and starttls
|
||||
# mechanism on default, keeped for backward compatibility
|
||||
define command{
|
||||
command_name check_ldaps
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_ldap_4' command definition
|
||||
define command{
|
||||
command_name check_ldap_4
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' -4
|
||||
}
|
||||
|
||||
# 'check_ldaps_4' command definition
|
||||
# This was using 'check_ldaps' in the past which used port 389 and starttls
|
||||
# mechanism on default, keeped for backward compatibility
|
||||
define command{
|
||||
command_name check_ldaps_4
|
||||
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' -4
|
||||
}
|
6
debian/pluginconfig/load.cfg
vendored
6
debian/pluginconfig/load.cfg
vendored
|
@ -1,6 +0,0 @@
|
|||
# 'check_load' command definition
|
||||
define command{
|
||||
command_name check_load
|
||||
command_line /usr/lib/nagios/plugins/check_load --warning='$ARG1$,$ARG2$,$ARG3$' --critical='$ARG4$,$ARG5$,$ARG6$'
|
||||
}
|
||||
|
77
debian/pluginconfig/mail.cfg
vendored
77
debian/pluginconfig/mail.cfg
vendored
|
@ -1,77 +0,0 @@
|
|||
# 'check_pop' command definition
|
||||
define command {
|
||||
command_name check_pop
|
||||
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_smtp' command definition
|
||||
define command {
|
||||
command_name check_smtp
|
||||
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_ssmtp' command definition
|
||||
define command {
|
||||
command_name check_ssmtp
|
||||
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_imap' command definition
|
||||
define command {
|
||||
command_name check_imap
|
||||
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_spop' command definition
|
||||
define command {
|
||||
command_name check_spop
|
||||
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S '$ARG1$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_simap' command definition
|
||||
define command {
|
||||
command_name check_simap
|
||||
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_pop_4' command definition
|
||||
define command {
|
||||
command_name check_pop_4
|
||||
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_smtp_4' command definition
|
||||
define command {
|
||||
command_name check_smtp_4
|
||||
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_ssmtp_4' command definition
|
||||
define command {
|
||||
command_name check_ssmtp_4
|
||||
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_imap_4' command definition
|
||||
define command {
|
||||
command_name check_imap_4
|
||||
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_spop_4' command definition
|
||||
define command {
|
||||
command_name check_spop_4
|
||||
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S -4 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_simap_4' command definition
|
||||
define command {
|
||||
command_name check_simap_4
|
||||
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S -4 '$ARG1$'
|
||||
}
|
24
debian/pluginconfig/mailq.cfg
vendored
24
debian/pluginconfig/mailq.cfg
vendored
|
@ -1,24 +0,0 @@
|
|||
# 'check-mailq' for sendmail
|
||||
define command {
|
||||
command_name check_mailq_sendmail
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail
|
||||
}
|
||||
|
||||
# 'check-mailq' for postfix
|
||||
define command {
|
||||
command_name check_mailq_postfix
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix
|
||||
}
|
||||
|
||||
# 'check-mailq' for exim
|
||||
define command {
|
||||
command_name check_mailq_exim
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim
|
||||
}
|
||||
|
||||
# 'check-mailq' for qmail
|
||||
define command {
|
||||
command_name check_mailq_qmail
|
||||
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail
|
||||
}
|
||||
|
14
debian/pluginconfig/mrtg.cfg
vendored
14
debian/pluginconfig/mrtg.cfg
vendored
|
@ -1,14 +0,0 @@
|
|||
# 'check_mrtg' command definition
|
||||
define command{
|
||||
command_name check_mrtg
|
||||
command_line /usr/lib/nagios/plugins/check_mrtg '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$'
|
||||
}
|
||||
|
||||
|
||||
# 'traffic_average' command definition
|
||||
define command{
|
||||
command_name traffic_average
|
||||
command_line /usr/lib/nagios/plugins/check_mrtgtraf '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$'
|
||||
}
|
||||
|
||||
|
24
debian/pluginconfig/mysql.cfg
vendored
24
debian/pluginconfig/mysql.cfg
vendored
|
@ -1,24 +0,0 @@
|
|||
# 'check_mysql' command definition
|
||||
define command{
|
||||
command_name check_mysql
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_mysql_cmdlinecred' command definition
|
||||
define command{
|
||||
command_name check_mysql_cmdlinecred
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' '$ARG3$'
|
||||
}
|
||||
|
||||
# 'check_mysql_database' command definition
|
||||
define command{
|
||||
command_name check_mysql_database
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -d '$ARG3$' -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' '$ARG3$'
|
||||
}
|
||||
|
||||
# 'check_mysql_slave' command definition
|
||||
define command{
|
||||
command_name check_mysql_slave
|
||||
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$' -S '$ARG3$'
|
||||
}
|
||||
|
84
debian/pluginconfig/netware.cfg
vendored
84
debian/pluginconfig/netware.cfg
vendored
|
@ -1,84 +0,0 @@
|
|||
# 'check_netware_logins' command definition
|
||||
define command{
|
||||
command_name check_netware_logins
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOGINS" -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_conns' command definition
|
||||
define command{
|
||||
command_name check_nwstat_conns
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CONNS -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_1load' command definition
|
||||
define command{
|
||||
command_name check_netware_1load
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD1" -w 70 -c 90
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_5load' command definition
|
||||
define command{
|
||||
command_name check_netware_5load
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD5" -w 70 -c 90
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_15load' command definition
|
||||
define command{
|
||||
command_name check_netware_15load
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD15" -w 70 -c 90
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_vol_p' command definition
|
||||
define command{
|
||||
command_name check_nwstat_vol_p
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VPF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_vol_k' command definition
|
||||
define command{
|
||||
command_name check_nwstat_vol_k
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VKF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_ltch' command definition
|
||||
define command{
|
||||
command_name check_nwstat_ltch
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v LTCH -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_puprb' command definition
|
||||
define command{
|
||||
command_name check_nwstat_puprb
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v PUPRB -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_dsdb' command definition
|
||||
define command{
|
||||
command_name check_nwstat_dsdb
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v DSDB
|
||||
}
|
||||
|
||||
|
||||
# 'check_netware_abend' command definition
|
||||
define command{
|
||||
command_name check_netware_abend
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "ABENDS" -w 10 -c 30
|
||||
}
|
||||
|
||||
|
||||
# 'check_nwstat_csprocs' command definition
|
||||
define command{
|
||||
command_name check_nwstat_csprocs
|
||||
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CSPROCS -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
15
debian/pluginconfig/news.cfg
vendored
15
debian/pluginconfig/news.cfg
vendored
|
@ -1,15 +0,0 @@
|
|||
# 'check_nntp' command definition
|
||||
define command{
|
||||
command_name check_nntp
|
||||
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_nntp_4' command definition
|
||||
define command{
|
||||
command_name check_nntp_4
|
||||
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
15
debian/pluginconfig/nt.cfg
vendored
15
debian/pluginconfig/nt.cfg
vendored
|
@ -1,15 +0,0 @@
|
|||
# If you are confused about this command definition, cause you was
|
||||
# reading other suggestions, please have a look into
|
||||
# /usr/share/doc/monitoring-plugins/README.Debian
|
||||
|
||||
# 'check_nt' command definition
|
||||
define command {
|
||||
command_name check_nt
|
||||
command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_nscp' command definition
|
||||
define command {
|
||||
command_name check_nscp
|
||||
command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$'
|
||||
}
|
17
debian/pluginconfig/ntp.cfg
vendored
17
debian/pluginconfig/ntp.cfg
vendored
|
@ -1,17 +0,0 @@
|
|||
# 'check_ntp' command definition
|
||||
define command{
|
||||
command_name check_ntp
|
||||
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_ntp_ntpq' command definition
|
||||
define command{
|
||||
command_name check_ntp_ntpq
|
||||
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15 '$ARG1$'
|
||||
}
|
||||
|
||||
# 'check_time' command definition
|
||||
define command{
|
||||
command_name check_time
|
||||
command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
15
debian/pluginconfig/pgsql.cfg
vendored
15
debian/pluginconfig/pgsql.cfg
vendored
|
@ -1,15 +0,0 @@
|
|||
# 'check_pgsql' command definition
|
||||
define command{
|
||||
command_name check_pgsql
|
||||
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_pgsql_4' command definition
|
||||
define command{
|
||||
command_name check_pgsql_4
|
||||
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' -4 '$ARG1$'
|
||||
}
|
72
debian/pluginconfig/ping.cfg
vendored
72
debian/pluginconfig/ping.cfg
vendored
|
@ -1,72 +0,0 @@
|
|||
# 'check_ping' command definition
|
||||
define command{
|
||||
command_name check_ping
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check-host-alive' command definition
|
||||
define command{
|
||||
command_name check-host-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
|
||||
# 'check-printer-alive' command definition
|
||||
define command{
|
||||
command_name check-printer-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
|
||||
# 'check-switch-alive' command definition
|
||||
define command{
|
||||
command_name check-switch-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
|
||||
# 'check-router-alive' command definition
|
||||
define command{
|
||||
command_name check-router-alive
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_ping_4' command definition
|
||||
define command{
|
||||
command_name check_ping_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-host-alive_4' command definition
|
||||
define command{
|
||||
command_name check-host-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-printer-alive_4' command definition
|
||||
define command{
|
||||
command_name check-printer-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-switch-alive_4' command definition
|
||||
define command{
|
||||
command_name check-switch-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
||||
|
||||
# 'check-router-alive_4' command definition
|
||||
define command{
|
||||
command_name check-router-alive_4
|
||||
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
||||
}
|
||||
|
20
debian/pluginconfig/procs.cfg
vendored
20
debian/pluginconfig/procs.cfg
vendored
|
@ -1,20 +0,0 @@
|
|||
# 'check_procs' command definition
|
||||
define command{
|
||||
command_name check_procs
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_procs_zombie' command definition
|
||||
define command{
|
||||
command_name check_procs_zombie
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z
|
||||
}
|
||||
|
||||
|
||||
# 'check_procs_httpd' command definition
|
||||
define command{
|
||||
command_name check_procs_httpd
|
||||
command_line /usr/lib/nagios/plugins/check_procs -w 5:'$ARG1$' -c 1:'$ARG2$' -C httpd
|
||||
}
|
||||
|
6
debian/pluginconfig/radius.cfg
vendored
6
debian/pluginconfig/radius.cfg
vendored
|
@ -1,6 +0,0 @@
|
|||
# 'check_radius' command definition
|
||||
define command{
|
||||
command_name check_radius
|
||||
command_line /usr/lib/nagios/plugins/check_radius -F /etc/radcli/radiusclient.conf -H '$HOSTADDRESS$' -P '$ARG4$' -t '$ARG3$' -u '$ARG1$' -p '$ARG2$'
|
||||
}
|
||||
|
13
debian/pluginconfig/real.cfg
vendored
13
debian/pluginconfig/real.cfg
vendored
|
@ -1,13 +0,0 @@
|
|||
# 'check_real_url' command definition
|
||||
define command{
|
||||
command_name check_real_url
|
||||
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 -u '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'check_real' command definition
|
||||
define command{
|
||||
command_name check_real
|
||||
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5
|
||||
}
|
||||
|
14
debian/pluginconfig/rpc-nfs.cfg
vendored
14
debian/pluginconfig/rpc-nfs.cfg
vendored
|
@ -1,14 +0,0 @@
|
|||
|
||||
# 'check-rpc' command definition
|
||||
define command{
|
||||
command_name check-rpc
|
||||
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C '$ARG1$'
|
||||
}
|
||||
|
||||
|
||||
# 'check-nfs' command definition
|
||||
define command{
|
||||
command_name check-nfs
|
||||
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C nfs -c2,3
|
||||
}
|
||||
|
132
debian/pluginconfig/snmp.cfg
vendored
132
debian/pluginconfig/snmp.cfg
vendored
|
@ -1,132 +0,0 @@
|
|||
# 'snmp_load' command definition
|
||||
define command{
|
||||
command_name snmp_load
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10.1.5.3 -w :'$ARG2$',:'$ARG3$',:'$ARG4$' -c :'$ARG5$',:'$ARG6$',:'$ARG7$' -l load
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_cpustats' command definition
|
||||
define command{
|
||||
command_name snmp_cpustats
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0 -l 'CPU usage (user system idle)' -u '%'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_procname' command definition
|
||||
define command{
|
||||
command_name snmp_procname
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.2.1.5.'$ARG2$' -w '$ARG3$':'$ARG4$' -c '$ARG5$':'$ARG6$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_disk' command definition
|
||||
define command{
|
||||
command_name snmp_disk
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.9.1.7.'$ARG2$',.1.3.6.1.4.1.2021.9.1.9.'$ARG2$' -w '$ARG3$':,:'$ARG4$' -c '$ARG5$':,:'$ARG6$' -u 'kB free (','% used)' -l 'disk space'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_mem' command definition
|
||||
define command{
|
||||
command_name snmp_mem
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.6.0,.1.3.6.1.4.1.2021.4.5.0 -w '$ARG2$': -c '$ARG3$':
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_swap' command definition
|
||||
define command{
|
||||
command_name snmp_swap
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w '$ARG2$': -c '$ARG3$':
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_procs' command definition
|
||||
define command{
|
||||
command_name snmp_procs
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemProcesses -w :'$ARG2$' -c :'$ARG3$' -l processes
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_users' command definition
|
||||
define command{
|
||||
command_name snmp_users
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemNumUsers.0 -w :'$ARG2$' -c :'$ARG3$' -l users
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_mem2' command definition
|
||||
define command{
|
||||
command_name snmp_mem2
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_swap2' command definition
|
||||
define command{
|
||||
command_name snmp_swap2
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_mem3' command definition
|
||||
define command{
|
||||
command_name snmp_mem3
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_swap3' command definition
|
||||
define command{
|
||||
command_name snmp_swap3
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_disk2' command definition
|
||||
define command{
|
||||
command_name snmp_disk2
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_tcpopen' command definition
|
||||
define command{
|
||||
command_name snmp_tcpopen
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpCurrEstab.0 -w '$ARG2$' -c '$ARG3$'
|
||||
}
|
||||
|
||||
|
||||
# 'snmp_tcpstats' command definition
|
||||
define command{
|
||||
command_name snmp_tcpstats
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpActiveOpens.0,tcp.tcpPassiveOpens.0,tcp.tcpInSegs.0,tcp.tcpOutSegs.0,tcp.tcpRetransSegs.0 -l 'TCP stats'
|
||||
}
|
||||
|
||||
|
||||
# 'check_netapp_uptime' command definition
|
||||
define command{
|
||||
command_name check_netapp_uptime
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
|
||||
}
|
||||
|
||||
|
||||
# 'check_netapp_cpuload' command definition
|
||||
define command{
|
||||
command_name check_netapp_cpuload
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD "
|
||||
}
|
||||
|
||||
|
||||
# 'check_netapp_numdisks' command definition
|
||||
define command{
|
||||
command_name check_netapp_numdisks
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks','Active','Spare','Failed' -l ""
|
||||
}
|
||||
|
||||
|
||||
# 'check_compaq_thermalCondition' command definition
|
||||
define command{
|
||||
command_name check_compaq_thermalCondition
|
||||
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.232.6.2.1.0,.1.3.6.1.4.1.232.6.2.2.0,.1.3.6.1.4.1.232.6.2.3.0,.1.3.6.1.4.1.232.6.2.4.0 -u 'ThermalCondition','ThermalTemp','ThermalSystem','ThermalCPUFan' -w 2:2,2:2,2:2,2:2 -c 1:2,1:2,1:2,1:2 -l "Thermal status "
|
||||
}
|
||||
|
27
debian/pluginconfig/ssh.cfg
vendored
27
debian/pluginconfig/ssh.cfg
vendored
|
@ -1,27 +0,0 @@
|
|||
# 'check_ssh' command definition
|
||||
define command{
|
||||
command_name check_ssh
|
||||
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_ssh_port' command definition
|
||||
define command{
|
||||
command_name check_ssh_port
|
||||
command_line /usr/lib/nagios/plugins/check_ssh -p '$ARG1$' '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_ssh_4' command definition
|
||||
define command{
|
||||
command_name check_ssh_4
|
||||
command_line /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
# 'check_ssh_port_4' command definition
|
||||
define command{
|
||||
command_name check_ssh_port_4
|
||||
command_line /usr/lib/nagios/plugins/check_ssh -4 -p '$ARG1$' '$HOSTADDRESS$'
|
||||
}
|
27
debian/pluginconfig/tcp_udp.cfg
vendored
27
debian/pluginconfig/tcp_udp.cfg
vendored
|
@ -1,27 +0,0 @@
|
|||
# 'check_tcp' command definition
|
||||
define command{
|
||||
command_name check_tcp
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_udp' command definition
|
||||
define command{
|
||||
command_name check_udp
|
||||
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' '$ARG2$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_tcp_4' command definition
|
||||
define command{
|
||||
command_name check_tcp_4
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
|
||||
}
|
||||
|
||||
# 'check_udp_4' command definition
|
||||
define command{
|
||||
command_name check_udp_4
|
||||
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4 '$ARG2$'
|
||||
}
|
15
debian/pluginconfig/telnet.cfg
vendored
15
debian/pluginconfig/telnet.cfg
vendored
|
@ -1,15 +0,0 @@
|
|||
# 'check_telnet' command definition
|
||||
define command{
|
||||
command_name check_telnet
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 '$ARG1$'
|
||||
}
|
||||
|
||||
####
|
||||
# use these checks, if you want to test IPv4 connectivity on IPv6 enabled systems
|
||||
####
|
||||
|
||||
# 'check_telnet_4' command definition
|
||||
define command{
|
||||
command_name check_telnet_4
|
||||
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 -4 '$ARG1$'
|
||||
}
|
6
debian/pluginconfig/users.cfg
vendored
6
debian/pluginconfig/users.cfg
vendored
|
@ -1,6 +0,0 @@
|
|||
# 'check_users' command definition
|
||||
define command{
|
||||
command_name check_users
|
||||
command_line /usr/lib/nagios/plugins/check_users -w '$ARG1$' -c '$ARG2$'
|
||||
}
|
||||
|
233
debian/rules
vendored
233
debian/rules
vendored
|
@ -1,233 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
|
||||
# for hardening
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
PACKAGE = monitoring-plugins
|
||||
|
||||
# These are used for cross-compiling and for saving the configure script
|
||||
# from having to guess our platform (since we know it already)
|
||||
include /usr/share/dpkg/architecture.mk
|
||||
|
||||
DEBIANDIR=$(CURDIR)/debian
|
||||
NP_LIBEXEC:=/usr/lib/nagios/plugins
|
||||
NP_COMMON_DIR:=$(DEBIANDIR)/monitoring-plugins-common
|
||||
NP_BASIC_DIR:=$(DEBIANDIR)/monitoring-plugins-basic
|
||||
NP_BASIC_TEMPLATES:=$(NP_BASIC_DIR)/usr/share/monitoring-plugins/templates-basic
|
||||
NP_STD_DIR:=$(DEBIANDIR)/monitoring-plugins-standard
|
||||
NP_STD_TEMPLATES:=$(NP_STD_DIR)/usr/share/monitoring-plugins/templates-standard
|
||||
|
||||
std_plugins:=check_breeze check_ifoperstatus check_hpjd check_ifstatus \
|
||||
check_rpc check_snmp check_wave check_fping check_game \
|
||||
check_radius check_mysql check_mysql_query check_pgsql \
|
||||
check_disk_smb check_ldap check_ldaps \
|
||||
check_mailq check_curl \
|
||||
check_dns check_dig check_flexlm check_oracle \
|
||||
check_dbi
|
||||
|
||||
common_files:=negate urlize utils.pm utils.sh
|
||||
|
||||
basic_plugin_cfgs:=apt dhcp disk dummy ftp http load mail news ntp ping procs \
|
||||
real ssh tcp_udp telnet users
|
||||
std_plugin_cfgs:=breeze curl-http disk-smb dns flexlm fping games hppjd ifstatus ldap \
|
||||
mailq mrtg mysql netware nt pgsql radius rpc-nfs snmp
|
||||
|
||||
PATH = /bin:/sbin:/usr/bin:/usr/sbin
|
||||
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH_OS),linux)
|
||||
PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -4 -n -U -w %d -c %d %s" \
|
||||
--with-ping6-command="/bin/ping -6 -n -U -w %d -c %d %s"
|
||||
else
|
||||
PING_CONFIGURE_ARGS = --with-ping-command="/bin/ping -n -w %d -c %d %s" \
|
||||
--with-ping6-command="/bin/ping6 -n -w %d -c %d %s"
|
||||
endif
|
||||
|
||||
|
||||
config.status: configure
|
||||
export PATH=$(PATH)
|
||||
dh_testdir
|
||||
|
||||
# if /proc is not mounted, check_nagios and check_procs are
|
||||
# silently omitted from build.
|
||||
@if ! [ -d /proc/$$$$ ]; then \
|
||||
echo "monitoring-plugins needs a mounted /proc to correctly build"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
ln -sf /usr/share/misc/config.sub build-aux
|
||||
ln -sf /usr/share/misc/config.guess build-aux
|
||||
rm -f config.cache
|
||||
|
||||
# Add here commands to configure the package.
|
||||
# Append 'All warnings', 'Immediate binding' and dpkg-buildflags flags
|
||||
CFLAGS="$$(DEB_CFLAGS_MAINT_APPEND='-Wall -Wl,-z,now' dpkg-buildflags --get CFLAGS)" \
|
||||
PATH_TO_APTGET=/usr/bin/apt-get \
|
||||
PGINCLUDE="-I`pg_config --includedir`" PGLIBS="-lpq -lcrypt" \
|
||||
./configure \
|
||||
--disable-maintainer-mode \
|
||||
--host=$(DEB_HOST_GNU_TYPE) \
|
||||
--build=$(DEB_BUILD_GNU_TYPE) \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--libexecdir=${NP_LIBEXEC} \
|
||||
--with-perl=/usr/bin/perl \
|
||||
--with-openssl=/usr \
|
||||
--with-pgsql=/usr \
|
||||
--with-mysql=/usr \
|
||||
--with-proc-loadavg=/proc/loadavg \
|
||||
--with-ps-command="/bin/ps axwwo 'stat uid pid ppid vsz rss pcpu etime comm args'" \
|
||||
--with-ps-format="%s %d %d %d %d %d %f %s %s %n" \
|
||||
--with-ps-cols=10 \
|
||||
--with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos" \
|
||||
$(PING_CONFIGURE_ARGS) \
|
||||
--with-nslookup-command="/usr/bin/nslookup -sil" \
|
||||
--with-uptime-command="/usr/bin/uptime" \
|
||||
--with-rpcinfo-command="/usr/sbin/rpcinfo" \
|
||||
--with-smbclient-command="/usr/bin/smbclient" \
|
||||
--with-snmpget-command="/usr/bin/snmpget" \
|
||||
--with-snmpgetnext-command="/usr/bin/snmpgetnext" \
|
||||
--with-qstat-command="/usr/bin/quakestat" \
|
||||
--with-fping-command="/usr/bin/fping" \
|
||||
--with-fping6-command="/usr/bin/fping6" \
|
||||
--with-ssh-command="/usr/bin/ssh" \
|
||||
--with-sudo-command="/usr/bin/sudo" \
|
||||
--with-mailq-command="/usr/bin/mailq" \
|
||||
--with-proc-meminfo="/proc/meminfo" \
|
||||
--with-dig-command="/usr/bin/dig" \
|
||||
--with-apt-get-command="/usr/bin/apt-get" \
|
||||
--enable-extra-opts \
|
||||
--disable-rpath
|
||||
|
||||
|
||||
build: build-arch build-indep
|
||||
build-arch: build-stamp
|
||||
build-indep: build-stamp
|
||||
|
||||
build-stamp: config.status
|
||||
dh_testdir
|
||||
$(MAKE)
|
||||
touch build-stamp
|
||||
|
||||
clean: really-clean
|
||||
|
||||
really-clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp debian/README.Debian.plugins debian/monitoring-plugins-standard.substvars.in
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \;
|
||||
-rm -f platform.h auto-include.h
|
||||
find -type d -name build -print0 | xargs -0 -r rm -rf \;
|
||||
find \( -name config.sub -o -name config.guess \) -print0 | xargs -0 -r rm -f \;
|
||||
-rm -f $(DEBIANDIR)/monitoring-plugins-basic.postrm $(DEBIANDIR)/monitoring-plugins-standard.postrm
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/monitoring-plugins.
|
||||
$(MAKE) install DESTDIR=${NP_BASIC_DIR}
|
||||
$(MAKE) install-root DESTDIR=${NP_BASIC_DIR}
|
||||
chmod 644 ${NP_BASIC_DIR}/usr/lib/nagios/plugins/utils.pm
|
||||
# split up basic vs. standard plugins
|
||||
for p in ${std_plugins}; do \
|
||||
mv ${NP_BASIC_DIR}/${NP_LIBEXEC}/$$p ${NP_STD_DIR}/${NP_LIBEXEC}; \
|
||||
done
|
||||
# slit out common files
|
||||
for p in ${common_files}; do \
|
||||
mv ${NP_BASIC_DIR}/${NP_LIBEXEC}/$$p ${NP_COMMON_DIR}/${NP_LIBEXEC}; \
|
||||
done
|
||||
# remove check_uptime for now (conflicting with check_uptime from n-p-c)
|
||||
rm ${NP_BASIC_DIR}/${NP_LIBEXEC}/check_uptime
|
||||
# now do the same for their configs, copying them into seperate
|
||||
# "template" directories outside of /usr/share/doc for ucf to use.
|
||||
for c in ${basic_plugin_cfgs}; do \
|
||||
cp $(DEBIANDIR)/pluginconfig/$${c}.cfg ${NP_BASIC_TEMPLATES}; \
|
||||
done
|
||||
for c in ${std_plugin_cfgs}; do \
|
||||
cp $(DEBIANDIR)/pluginconfig/$${c}.cfg ${NP_STD_TEMPLATES}; \
|
||||
done
|
||||
# dynamically create the postrm scripts using a template, so that we
|
||||
# don't have to define the same list of plugin configs over and over.
|
||||
sed -e 's/@BASIC_PLUGINS@/${basic_plugin_cfgs}/' \
|
||||
< $(DEBIANDIR)/monitoring-plugins-basic.postrm.in \
|
||||
> $(DEBIANDIR)/monitoring-plugins-basic.postrm
|
||||
sed -e 's/@STD_PLUGINS@/${std_plugin_cfgs}/' \
|
||||
< $(DEBIANDIR)/monitoring-plugins-standard.postrm.in \
|
||||
> $(DEBIANDIR)/monitoring-plugins-standard.postrm
|
||||
# copy our dpkg-sourced functions etc into place
|
||||
mkdir -p ${NP_COMMON_DIR}/usr/share/monitoring-plugins/dpkg
|
||||
install -t ${NP_COMMON_DIR}/usr/share/monitoring-plugins/dpkg \
|
||||
$(DEBIANDIR)/functions
|
||||
# remove /usr/include from monitoring-plugins-basic (in case its empty and exists)
|
||||
[ ! -d ${NP_BASIC_DIR}/usr/include ] || rmdir ${NP_BASIC_DIR}/usr/include
|
||||
# generate debian/README.Debian.plugins
|
||||
perl ./debian/bin/gen_plugin_deps.pl
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir -i
|
||||
dh_testroot -i
|
||||
dh_installchangelogs -i
|
||||
dh_installdocs -i
|
||||
dh_link -i
|
||||
dh_installexamples -i
|
||||
dh_installman -i
|
||||
dh_compress -i
|
||||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir -a
|
||||
dh_testroot -a
|
||||
dh_installchangelogs -p monitoring-plugins-basic -a ChangeLog
|
||||
dh_installchangelogs -Nmonitoring-plugins-basic
|
||||
dh_installdocs -a
|
||||
dh_link -a
|
||||
dh_installexamples -a
|
||||
dh_installman -a
|
||||
dh_strip -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a -X utils.pm
|
||||
dh_installdeb -a
|
||||
dh_shlibdeps -a -Nmonitoring-plugins-standard
|
||||
dpkg-shlibdeps -Tdebian/monitoring-plugins-standard.substvars \
|
||||
${NP_STD_DIR}/${NP_LIBEXEC}/check_dns
|
||||
dpkg-shlibdeps -Tdebian/monitoring-plugins-standard.substvars.in \
|
||||
-dSuggests ${NP_STD_DIR}/${NP_LIBEXEC}/check_*
|
||||
grep shlibs:Suggests debian/monitoring-plugins-standard.substvars.in \
|
||||
| sed -e 's/shlibs:Suggests/shlibs:Recommends/' \
|
||||
>> debian/monitoring-plugins-standard.substvars
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
1
debian/source/format
vendored
1
debian/source/format
vendored
|
@ -1 +0,0 @@
|
|||
3.0 (quilt)
|
1
debian/source/options
vendored
1
debian/source/options
vendored
|
@ -1 +0,0 @@
|
|||
extend-diff-ignore = '^\.github'
|
5
debian/upstream/metadata
vendored
5
debian/upstream/metadata
vendored
|
@ -1,5 +0,0 @@
|
|||
Name: monitoring-plugins
|
||||
Bug-Database: https://github.com/monitoring-plugins/monitoring-plugins/issues
|
||||
Bug-Submit: https://github.com/monitoring-plugins/monitoring-plugins/issues/new
|
||||
Repository: https://github.com/monitoring-plugins/monitoring-plugins.git
|
||||
Repository-Browse: https://github.com/monitoring-plugins/monitoring-plugins
|
3
debian/watch
vendored
3
debian/watch
vendored
|
@ -1,3 +0,0 @@
|
|||
version=4
|
||||
https://www.monitoring-plugins.org/download/.*-plugins-(\d+\.[\d\.a-z]+)\.tar\.gz \
|
||||
debian debian/bin/repack.sh
|
Loading…
Reference in a new issue