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

..03-May-2022-

GLPlugin/lib/Monitoring/H22-Nov-2021-63,03061,297

plugins-scripts/H03-May-2022-25,17621,819

AUTHORSH A D22-Nov-202144 21

COPYINGH A D22-Nov-202117.6 KiB341281

ChangeLogH A D22-Nov-202128.2 KiB834833

INSTALLH A D22-Nov-20219.5 KiB241183

Makefile.amH A D22-Nov-2021257 127

Makefile.inH A D22-Nov-202123.8 KiB767674

NEWSH A D22-Nov-20210

READMEH A D22-Nov-20213.9 KiB10770

THANKSH A D22-Nov-2021104 31

TODOH A D22-Nov-2021364 158

acinclude.m4H A D22-Nov-20212.4 KiB7967

aclocal.m4H A D22-Nov-202130 KiB828746

config.guessH A D22-Nov-202144.2 KiB1,5591,352

config.subH A D22-Nov-202134.7 KiB1,7891,651

configureH A D22-Nov-2021115.1 KiB3,9613,190

configure.acH A D22-Nov-20212.1 KiB6652

install-shH A D22-Nov-202113.7 KiB528351

missingH A D22-Nov-20216.7 KiB216143

README

1check_nwc_health Nagios Plugin README
2---------------------
3
4This plugin checks the hardware health and various interface metrics
5of network components like switches and routers.
6
7Copyright (C) Gerhard Lausser, gerhard.lausser@consol.de
8
9This program is free software; you can redistribute it and/or
10modify it under the terms of the GNU General Public License
11as published by the Free Software Foundation; either version 2
12of the License, or (at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
22
23
24* For instructions on installing this plugin for use with Nagios,
25  see below. In addition, generic instructions for the GNU toolchain
26  can be found in the INSTALL file.
27
28* For major changes between releases, read the CHANGES file.
29
30* For information on detailed changes that have been made,
31  read the Changelog file.
32
33* This plugin is self-documenting.  All plugins that comply with
34  the basic guidelines for development will provide detailed help when
35  invoked with the '-h' or '--help' options.
36
37You can check for the latest plugin at:
38  http://labs.consol.de/nagios/check_nwc_health
39
40Send mail to gerhard.lausser@consol.de for assistance.
41Please include the OS type and version that you are using.
42Also, run the plugin with the '-vvv' option and provide the resulting
43version information.  Of course, there may be additional diagnostic information
44required as well. Use good judgment.
45
46
47How to "compile" the check_nwc_health script.
48--------------------------------------------------------
49
501) Run the configure script to initialize variables and create a Makefile, etc.
51
52	./configure --prefix=BASEDIRECTORY --with-nagios-user=SOMEUSER --with-nagios-group=SOMEGROUP --with-perl=PATH_TO_PERL
53
54   a) Replace BASEDIRECTORY with the path of the directory under which Nagios
55      is installed (default is '/usr/local/nagios')
56   b) Replace SOMEUSER with the name of a user on your system that will be
57      assigned permissions to the installed plugins (default is 'nagios')
58   c) Replace SOMEGRP with the name of a group on your system that will be
59      assigned permissions to the installed plugins (default is 'nagios')
60   d) Replace PATH_TO_PERL with the path where a perl binary can be found.
61      Besides the system wide perl you might have installed a private perl
62      just for the nagios plugins (default is the perl in your path).
63
64
652) "Compile" the plugin with the following command:
66
67	make
68
69    This will produce a "check_nwc_health" script. You will also find
70    a "check_nwc_health.pl" which you better ignore. It is the base for
71    the compilation filled with placeholders. These will be replaced during
72    the make process.
73
74
753) Install the compiled plugin script with the following command:
76
77	make install
78
79   The installation procedure will attempt to place the plugin in a
80   'libexec/' subdirectory in the base directory you specified with
81   the --prefix argument to the configure script.
82
83
844) Verify that your configuration files for Nagios contains
85   the correct paths to the new plugin.
86
87
88
89Command line parameters
90-----------------------
91
92You'll find the command line parameters on the website mentioned above.
93If it does not exist or is not up to date, this means that i hadn't the
94time to write/update it yet. I am aware of it, so please don't send me
95mails. Just accept it.
96
97
98
99Sample data from real machines
100------------------------------
101If you think check_nwc_health is not working correctly, send me the output of snmpwalk
102snmpwalk .... 1.3.6.1.4.1.232
103
104
105--
106Gerhard Lausser <gerhard.lausser@consol.de>
107