ossp-pkg/snmpdx/README
_ ___ ____ ____ ____ _
|_|_ _ / _ \/ ___/ ___|| _ \ ___ _ __ _ __ ___ _ __ __| |_ __
_|_||_| | | | \___ \___ \| |_) | / __| '_ \| '_ ` _ \| '_ \ / _` \ \/ /
|_||_|_| | |_| |___) |__) | __/ \__ \ | | | | | | | | |_) | (_| |> <
|_|_|_| \___/|____/____/|_| |___/_| |_|_| |_| |_| .__/ \__,_/_/\_\
|_|
OSSP snmpdx - SNMP Daemon Extension
Version 1.0.0 (01-Mar-2007)
ABSTRACT
OSSP snmpdx is a framework for easily hooking into net-snmp's snmpd(8)
and providing an own SNMP MIB and the OID implementing probes. It
is a Perl program which either can be configured as a pass (not
recommended) or pass_persist (recommended) program into snmpd.conf.
COPYRIGHT AND LICENSE
Copyright (c) 2003-2007 The OSSP Project <http://www.ossp.org/>
Copyright (c) 2003-2007 Ralf S. Engelschall <rse@engelschall.com>
Copyright (c) 2003-2005 Cable & Wireless <http://www.cw.com/>
This file is part of OSSP snmpdx, a SNMP daemon extension which
can be found at http://www.ossp.org/pkg/tool/snmpdx/.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA, or contact Ralf S. Engelschall <rse@engelschall.com>.
HOME AND DOCUMENTATION
The documentation and latest release can be found on
o http://www.ossp.org/pkg/tool/snmpdx/
o ftp://ftp.ossp.org/pkg/tool/snmpdx/
QUICKSTART
$ ./devtool autogen #optional
$ PREFIX=/openpkg-dev; ./configure \
--prefix=$PREFIX \
--with-openpkg=$PREFIX \
--with-snmp=$PREFIX \
--with-perl=$PREFIX/bin/perl
$ make
# standalone: emulate snmp/snmpdx communication
$ (echo "getnext"; echo ".1") | ./snmpdx --probedir=./snmpdx.d --mibdir=.
# standalone: command line
$ ./snmpdx -g .1.3.6.1.4.1.4007.42.1.1.2.1 #enterprises.cw.snmpdx.host.hardware.hwCpu.hwCpuNum
# integrated:
$ make install
$ snmpwalk -Os -c public -v 2c 127.0.0.1 .1.3.6.1.4.1.4007.42