#!/bin/sh

# Shell script to customize the collection of data.
# Copyright (C) 2001-2004 Open Challenge B.V.
# Copyright (C) 2004-2005 OpenEyeT Professional Services.
# Copyright (C) 2005-2009 QNH.
#
# 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, 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; see the file COPYING.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Contact information: http://scc.qnh-infrastructure.nl/index.html 

# SCC-release:	1.9.28
# file-version:	$Revision: 1.27 $

# Purpose of this file:
# scc-collect and its modules use sensible defaults to avoid that 
# many systems require a configuration file. When the defaults are
# insufficient, copy /etc/opt/scc/newconfig/scc-localize
# to /etc/opt/scc/conf/scc-localize and uncomment the required variables.
# Be sure to preserve the execution permission of the file.

set -u

##############################################################################
#	General variables 
##############################################################################

export SCC_PROFILING="yes"
# To remove timing info from the snapshot (under class "var:profiling::")
# uncomment the following line:
# export SCC_PROFILING=""

export SCC_ROOT_PW=""
# On some systems the root password is changed frequently. Uncomment the
# following variable to avoid entries in the logbook for every run of scc.
# export SCC_ROOT_PW=var

# Account data from accounts with UID < MAX_SYS_ACCOUNT_ID have fixed data,
# other accounts var data. Uncomment the following line to change the defaults
# set in scc-collect.
#export MAX_SYS_ACCOUNT_ID=1000

# Variable data in snapshots can be shown in a different color. 
# The specification of the color has moved to the style.css.

##############################################################################
#	Variables for Oracle
##############################################################################

export ORATAB=/etc/oratab
# The default locations for the oratab file are /etc/oratab or
# /var/opt/oracle/oratab. Uncomment and change the ORATAB variable if this file 
# is in another location.
# export ORATAB=/etc/oratab

export ORA_USE_PROFILE=0
# Usually the Oracle commands (svrmgrl / sqlplus) can be executed with
# a su -c command, without using the .profile. ORACLE_SID and ORACLE_HOME
# are set anyway before calling su, so the .profile is not needed for that.
# However, sometimes critical settings and commands for for example memory
# windows are executed by the .profile, and in this case ORA_USE_PROFILE
# must be set to 1. If so, make sure the .profile for the oracle user does
# not contain TTY setting commands and the like if executed by su.
# export ORA_USE_PROFILE=1

# Usually the SQL*Net config files are located in either /etc (/var/opt/oracle),
# $ORACLE_HOME/network/admin, or both, but if they are located elsewhere,
# use TNS_ADMIN to specify that location
# export TNS_ADMIN=

# By default all Oracle users are listed. To suppres this, set ORA_LIST_USERS
# to 0
# export ORA_LIST_USERS=0

##############################################################################
#	Variables for hardware chapter
##############################################################################

export IGNORE_NO_HW=0
# With ioscan on HP-UX, detached hardware gets the state NO_HW. In some
# circumstances this should be ignored, for example on a SAN with BC / BCV /
# snapshot functionality. If so, set IGNORE_NO_HW to 1.
# export IGNORE_NO_HW=1

export SCC_IGNORE_STM=no
# On some systems, (unpatched versions of) stm often hang. When upgrading
# cannot be done immediately, set the following variable to ignore stm. As the
# stm-data is variable in the snapshot, it does not matter for the logboook.
# export SCC_IGNORE_STM=yes

# EMC Symmetrix command line interface (SymCLI) can be installed in user-
# specified directories. If SymCLI is available and is not installed in
# /usr/symcli, specify the bin path in the the variable SYMCLI
# export SYMCLI=/usr/symcli/bin

##############################################################################
#	Variables for network chapter
##############################################################################

export SCC_VAR_ROUTE_DATA=no
# Systems connected to networks with many ICMP redirects, suffer from many
# changes in the logbooks as these new routes are not marked dynamic.
# Uncomment the following variable to set all network routing output from netstat
# as variable data. The configuration of the static routes is captured in the
# networking configuration files.
# export SCC_VAR_ROUTE_DATA=yes

##############################################################################
#	Variables for OV Operations manager user-module
##############################################################################

export OPCDWN=1
# By default the plug-in creates a configuration download. If this is
# already done automatically (for backup purposes) the download
# can be disabled by setting OPCDWN to 0.
# export OPCDWN=0

export OPCDWN_DIR="${SCC_TMP}/opcsplit"
# By default the following directory is used for configuration downloads:
# ${SCC_TMP}/opcsplit. If a download should be used from a different location,
# set the OPCDWN_DIR directory to that path.
# export OPCDWN_DIR=

##############################################################################
#	Variables for software system-module
##############################################################################

export SCC_TESTPARM=""
# SCC searches only a limited list of directories for executables. 
# Uncomment and edit the following line to access testparm.
# export SCC_TESTPARM=/opt/samba/bin/testparm

export SCC_PERL=""
# Uncomment and edit the following line to access perl
# export SCC_PERL=/opt/contrib/bin/perl

export SCC_SCR_DETAILS="no"
# Uncomment the following line to activate the collection of System Configuration Repository details.
# export SCC_SCR_DETAILS="yes"

# Do not exit, as this script is sourced.
