############################################################################## # $Id: targetmaker.cfg,v 1.1 2004-10-02 21:06:42-05 btoneill Exp btoneill $ ############################################################################## # # $RTG_CONF_FILE="filename"; # This is the location of the rtg.conf file # $RTG_CONF_FILE="/opt/rtg/etc/rtg.conf"; # # $community = string; # This is the default community string for devices # $community = "public"; # # $defbits = [32|64]; # Default OID Bits # depreciated if using 0.8 and $SNMP_USE_64 # $defbits = 32; # # $output = file; # Default output target file name (can be overridden on command line) # $output = "targets.cfg"; # # $router_file = file; # Default list of devices to poll (can be overridden on command line) # $router_file = "routers"; # # $CREATE_GRAPHING_TABLES = [0|1]; # Create mapping table for use by the targetmaker PHP # web inteface. # $CREATE_GRAPHING_TABLES = 1; # # $SNMP_VER = [1|2]; # The default version of SNMP to use # (see $SNMP_FALL_BACK for info on automatically choosing) # $SNMP_VER = 2; # # $SNMP_PORT = number; # The default SNMP port to use # $SNMP_PORT = 161; # # $INFO = [0|1]; # Print informational messaages # $INFO = 1; # # $DEBUG = [0|1]; # Print debugging information # $DEBUG = 0; # # $DEBUGCLASS = [0|1]; # Debug stat class tracking for modules (no one should use this but me) $DEBUGCLASS = 0; # # $DBOFF = [0|1]; # Turn off database queries (debugging use) # $DBOFF = 0; # # $EXTENDEDMODE = [0|1]; # If set to 1 enable usage of all the RTG modules. Otherwise just collect basic # inteface statistics (ie. original RTG rtgtargmkr.pl stats) # $EXTENDEDMODE = 1; # # $MODULEDIR = string; # Directory where the targetmaker modules are stored # $MODULEDIR = "rtgmodules"; # # $TARGETTYPE = [0.7|0.8]; # Format of to target file to generate. 0.8 is recommended, but requires # atleast RTG 0.8.1 # $TARGETTYPE = "0.8"; # # $MODULEORDERFILE = string; # Location of the order file used to alter the order of processing # of targetmaker modules # $MODULEORDERFILE = "$MODULEDIR/order.cfg"; # # $STORAGE_TYPE = [InnoDB|MyISAM]; # The type of table to create in MySQL # $STORAGE_TYPE = "InnoDB"; # # $SNMP_FALL_BACK = [0|1]; # Try the highest version of SNMP requested first, then try lower versions if # the first one fails (currently only two possible to use are v1 and v2 # (This is only useful for RTG 0.8+) # $SNMP_FALL_BACK = 1; # # $SNMP_USE_64 = [0|1]; # Use 64 bit values if available for the stat. The process will first poll # for any 64bit equiv values for a stat, if they dont' exist, it will then # look for the 32bit equiv. # (this is only useful for RTG 0.8+) # $SNMP_USE_64 = 1; # # $SET_INACTIVE = [0|1]; # This sets all interfaces for a device to inactive before it starts querying. # interfaces are reset to being active when they are successfully polled and added # to the targets file. # $SET_INACTIVE = 1; # # $UPDATE_SPEED = [0|1]; # Update the speed in the interface table automatically if it has changed $UPDATE_SPEED = 1; # # $UPDATE_DESC = [0|1]; # Update the description in the interface table automatically if it has changed $UPDATE_DESC = 1; # update the description in the interface table automatically $SNMP_VER = 2; $SNMP_PORT = 161;