# Copyright (C) 2004 Stanislav Sinyagin # # 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. # $Id: torrus_genddx.pod.in,v 1.1 2010-12-27 00:04:38 ivan Exp $ # Stanislav Sinyagin # # =head1 NAME genddx - Generates SNMP discovery instructions file for B =head1 SYNOPSIS B --host=I | --hostfile=I \ [I] =head1 DESCRIPTION B generates the SNMP discovery instructions file, which may be later used as input for the B utility to produce the corresponding Torrus XML configuration file. The hostname(s) of router(s) to be included in SNMP discovery must be specified either using the B<--host> (for a single router) or B<--hostfile> option. In the latter case the file I must contain a space-separated list of router hostnames. Hostnames may have the form C where C is a symbolic device name. This utility is designed to be used only once, in order to generate the discovery XML canvas, for futher manual editing. It generates only basic set of parameters, and there are much more of those that you may use to customize the discovery process. See L for a more flexible and complex DDX generator. More information is available in B. =head1 OPTIONS =over 4 =item B<--out>=I Sets the output file to I. Default is F. Without absolute path, the file will be placed in F<@sitedir@/discovery>. =item B<--discout>=I Sets the discovery output file to I. This will be the filename of the Torrus XML configuration file once the output file of the B is processed by the B utility. Default value is F. Without absolute path, the file would be resided in F<@sitexmldir@>. =item B<--domain>=I Sets the DNS domain name to I. =item B<--version>=I Sets discovery SNMP version to SNMPVERSION. Default value is C<2c>. =item B<--community>=I Sets discovery SNMP read community value to string I. Default is C. =item B<--port>=I Sets SNMP port to I. Default is 161. =item B<--retries>=I Sets number of retries to I. Default value is 2. =item B<--timeout>=I Sets SNMP timeout to I seconds. Default value is 10. =item B<--subtree>=I Sets the subtree name to I. Default is C. =item B<--datadir>=I Sets the path of the directory where SNMP data is collected to I. Default value is F<@defrrddir@>. =item B<--holtwinters> Enables Holt-Winters analysis. =back =head1 FILES =over 4 =item F<@sitedir@/discovery/routers.ddx> Default output file of genddx. =item F<@sitexmldir@/routers.xml> Default Torrus XML configuration file which will be written once the genddx output file is processed with devdiscover utility. =back =head1 SEE ALSO L, L, L =head1 NOTES See more documentation at Torrus home page: http://torrus.org =head1 AUTHOR Stanislav Sinyagin Essinyagin@yahoo.comE