• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build-aux/H11-Mar-2020-15,81112,137

config_test/H11-Mar-2020-12274

gl/H03-May-2022-88,59369,055

lib/H03-May-2022-7,9676,438

m4/H11-Mar-2020-136123

perlmods/H03-May-2022-3,0822,933

pkg/H16-Jan-2017-223197

plugins/H03-May-2022-36,10327,227

plugins-root/H03-May-2022-5,9724,826

plugins-scripts/H03-May-2022-7,2485,645

po/H03-May-2022-21,16216,698

tap/H03-May-2022-2,2401,922

tools/H11-Mar-2020-873586

ABOUT-NLSH A D16-Jan-201778.7 KiB1,1121,065

ACKNOWLEDGEMENTSH A D16-Jan-20171.2 KiB3424

AUTHORSH A D04-Dec-2019417 2725

CODINGH A D04-Dec-20194.8 KiB152101

COPYINGH A D16-Jan-201734.3 KiB675553

ChangeLogH A D11-Mar-2020869.7 KiB23,18013,239

FAQH A D16-Jan-20173.6 KiB10971

INSTALLH A D11-Mar-202015.2 KiB366284

LEGALH A D16-Jan-2017443 117

Makefile.amH A D04-Dec-20192.1 KiB6645

Makefile.inH A D03-May-202265.6 KiB1,9511,846

NEWSH A D11-Mar-202045.3 KiB789724

NP-VERSION-GENH A D11-Mar-20201.1 KiB5632

NPTest.pmH A D04-Dec-201917.1 KiB673350

READMEH A D04-Dec-20195.3 KiB150103

REQUIREMENTSH A D16-Jan-20173.2 KiB9877

SUPPORTH A D16-Jan-20173.8 KiB10172

THANKSH A D04-Dec-20196.1 KiB421419

acinclude.m4H A D16-Jan-20172.3 KiB7866

aclocal.m4H A D11-Mar-202041.2 KiB1,1701,067

config.h.inH A D11-Mar-202076.3 KiB2,5181,764

config.rpathH A D16-Jan-201717.7 KiB661557

configureH A D03-May-20221.9 MiB74,10962,526

configure.acH A D11-Mar-202067.5 KiB1,9851,766

mkinstalldirsH A D16-Jan-20173.4 KiB159109

nagios-plugins.specH A D11-Mar-20206.3 KiB204174

nagios-plugins.spec.inH A D04-Dec-20196.3 KiB204179

releaseH A D11-Mar-20206 21

test.pl.inH A D16-Jan-2017831 5335

README

1Nagios Plugins
2==============
3
4* For instructions on installing these plugins for use with Nagios,
5  see below.
6
7* For major changes between releases, read the `NEWS` file.
8
9* For information on detailed changes that have been made or plugins
10  that have been added, read the `NEWS` file.
11
12* Some plugins require that you have additional programs and/or
13  libraries installed on your system before they can be used.  Plugins that
14  are dependent on other programs/libraries that are missing are usually not
15  compiled.  Read the `REQUIREMENTS` file for more information.
16
17* Individual plugins are self-documenting.  All plugins that comply with
18  the basic guidelines for development will provide detailed help when
19  invoked with the `-h` or `--help` options.
20
21You can check for the latest plugins at:
22
23* <https://www.nagios-plugins.org/>
24
25Send an email to <help@nagios-plugins.org> for assistance.  Please include
26the OS type and version that you are using.  Also, run the plugin with the
27`-vvv` option and provide the resulting version information.  Of course,
28there may be additional diagnostic information required as well.  Use good
29judgment.
30
31Send an email to <devel@nagios-plugins.org> for developer discussions.
32
33For patch submissions and bug reports, please use the appropriate resources
34at:
35
36* <https://github.com/nagios-plugins>
37
38
39Installation Instructions
40-------------------------
41
421.  If you are using the Git tree, you will need m4, gettext, automake, and
43    autoconf.  To start out, run:
44
45        ./tools/setup
46
47    For more detail, see the developer guidelines at
48    <https://www.nagios-plugins.org/doc/guidelines.html>.
49
502.  Run the configure script to initialize variables and create a Makefile,
51    etc.
52
53        ./configure --prefix=BASEDIRECTORY --with-cgiurl=SOMEURL
54
55    Replace `BASEDIRECTORY` with the path of the directory under which Nagios
56    is installed (default is `/usr/local/nagios`), and replace `SOMEURL` with
57    the path used to access the Nagios CGIs with a web browser (default is
58    `/nagios/cgi-bin`).
59
603.  Compile the plugins with the following command:
61
62        make
63
644.  Install the compiled plugins and plugin scripts with the following
65    command:
66
67        make install
68
69    The installation procedure will attempt to place the plugins in a
70    `libexec/` subdirectory in the base directory you specified with the
71    `--prefix` argument to the configure script.
72
735.  There are some plugins that require setuid.  If you run make install as
74    a non-root user, they will not be installed.  To install, switch to root
75    and run:
76
77        make install-root
78
79That's it!  If you have any problems or questions, feel free to send an
80email to <help@nagios-plugins.org>.
81
82
83Testing With libtap
84-------------------
85
861.  The nagios-plugins source includes a perl testing suite.  the libtap
87    library and headers are included with the source.  Configure with:
88
89        ./configure --enable-libtap
90
91    Note: "--enable-extra-opts" used to be required as well, but is no
92    longer required as it is a default configure option.
93
942.  Make and then make test:
95
96        make
97        make test
98
993.  Testing is pseudo intelligent and will try to autodetect which plugins
100    to test.  You may need to look at the REQUIREMENTS doc as to what
101    dependencies are required to satisfy the test.
102
103    Additionally, default and user supplied (at runtime) testing parameters
104    are saved in the file:
105
106        /var/tmp/NPTest.cache
107
108    If you need to change any testing parameters, edit them in this file
109    or just remove the line to force the test to re-prompt you for input.
110
111
112License Notice
113--------------
114
115You can redistribute and/or modify this software under the terms of the GNU
116General Public License as published by the Free Software Foundation; either
117version 3 of the License, or (at your option) any later version; with the
118additional exemption that compiling, linking, and/or using OpenSSL is
119allowed.
120
121This software is distributed in the hope that it will be useful, but WITHOUT
122ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
123FITNESS FOR A PARTICULAR PURPOSE.
124
125See the `COPYING` file for the complete text of the GNU General Public
126License, version 3.
127
128Static Analysis Tools
129--------------
130
131Coverity is a tool used to statically analyze C\C++ code and determine
132possible vulnerabilities, bugs, and usage errors. Nagios-Plugins considers
133these items to be extremely important for proper code coverage and
134longevity. It should be noted that a "Passed", does not mean that all
135Coverity reported issues have been resolved, instead that the latest build
136submitted did not have any newly found issues, and may or may not have
137eliminated previously found issues. We use several testing processes that
138end with a submission to Coverity on each successful build. This means that
139you will often see this badge pending or with new issues found as new
140features, pull requests, and github issue resolutions submitted in other
141branches will reflect on the badge displayed on the master branch. However,
142the master branch and therefore any releases will not be updated without a
143current clean scan from Coverity. With that said, below you can find the
144current state of the Nagios-Plugins project per Coverity's view.
145
146<a href="https://scan.coverity.com/projects/2376">
147  <img alt="Coverity Scan Build Status"
148       src="https://scan.coverity.com/projects/2376/badge.svg"/>
149</a>
150