|
1. IntroductionSNMP4Nagios is a package of Nagios plugins which use SNMP to query hosts. While some of the plugins use standard MIBs, most are designed for vendor specific agents. Unlike other Nagios plugins, they are able to scan hosts for objects which can be monitored. They also can keep performance logs and draw plots of these using Tobias Oetiker's RRDTool. While not strictly necessary, SNMP4Nagios plugins should be most useful when embedded into site specific scripts to handle scanning and plotting. 1.1. Typographical conventionsThroughout this document those typographical conventions are used to mark various types of text.
1.2. System RequirementsThe plugins use libraries from the following software packages:
And obviously they are designed to be used with Nagios, see http://www.nagios.org/. 1.2.1. Versions of RRDToolSystematic testing with various versions of RRDTool revealed that SNMP4Nagios is very picky about the librrd it uses. It was developed using 1.0.49 which is incidently the version which works best. Under circumstances currently unknown version 1.0.50 builds shared objects (library files) which do not have a “.so” extension. This is not detected during configuration but building SNMP4Nagios fails. To work around this issue change into RRDTool's library directory and create symbolic links with the correct names:
root@host# ln -s
librrd.0.0.0 librrd.so RRDTool version 1.2.12 has a problem with Stacks upon Lines. These plugins may fail to produce usable plots due to this issue:
RRDTool version 1.2.16 changed the way escape sequences are handled1 … and this breaks the SNMP4Nagios plugins. RRDTool version 1.2.17 fixes that bug but has a problem selecting the right archive.2 Additionally libart (which is used by RRDTool 1.2.x) “is quite picky about the data it gets for drawing”3. This may result in “*** attempt to put segment in horiz list twice” messages. For the time being RRDTool 1.0.49 is still strongly recommended. 1.3. Other RequirementsBefore using the plugins, ensure that you meet the following prerequisites:
1.4. LicensingSNMP4Nagios (except this document) is licensed under the terms of the GNU General Public License Version 2 or (at your option) any later version, as published by the Free Software Foundation. Read appendix C. or the online version of the license at http://www.gnu.org/copyleft/gpl.html for more details. This document is licensed under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in appendix B.. SNMP4Nagios is provided as is with no warranty of any kind; without even the warranty of design, merchantability, or fitness for a particular purpose. 1.5. Downloading the Latest Version
The latest version of SNMP4Nagios is
available at:
You may find further information on
SNMP4Nagios on the project's homepage: 1https://lists.oetiker.ch/pipermail/rrd-announce/2007-January/000091.html 2https://lists.oetiker.ch/pipermail/rrd-announce/2007-January/000001.html 3https://lists.oetiker.ch/pipermail/rrd-users/2006-February/010920.html
|
||||||||||||||||||||||||||||||||||
Copyright © 2006, 2007 Peter Gritsch |