Understanding Nagios Setup

Jim Avery jim at jimavery.me.uk
Tue May 12 13:36:19 CEST 2009


2009/5/12  <chethan.mnc at wipro.com>:
> Dear All,

> I need some help on Understanding the Existing Nagios setup in one of our
> client system.

> a.    How to check what all plugins installed?

Usually, plugins are found under /usr/local/nagios/libexec/ .  If the
Nagios system uses passive checks, you might also find plugins
installed (almost anywhere) on the monitored servers too.

If the Nagios system was installed using the distro's repositories,
you might find some packages if you query aptittude, yum or whatever
package manager you use.

> b.    To check versions of all plugins, integrated patches, or any other
> packages like NDutils,PNP etc…

Plugins will often allow you to use the "--version" argument to show
the version.  For example, from the command line, you can enter:

  /usr/local/nagios/libexec/check_snmp --version

Alternatively, if the plugin is written in perl,bash,ksh or whatever
you can examine the script itself to see if there are any version
numbers.

You can check the version of Nagios similarly:

  /usr/local/nagios/bin/nagios --version

> c.     Need some document or questionnaire for checking the above points and
> investigating the Nagios setup.

Most of the Nagios config can be investigated by starting with
/usr/local/nagios/etc/nagios.cfg and /usr/local/nagios/etc/cgi.cfg and
working from there.  You'll find references to ndo and PNP in there if
they're installed.

I recommend the book "Nagios" by Wolfgang Barth to give you a good
start in understanding Nagios and most of the commonly implemented
add-ons.

Cheers,

Jim

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list