This file is indexed.

/var/lib/pcp/testsuite/common.config is in pcp-testsuite 3.9.10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
# common PCP QA configuration parameters
#
# NOTE	each local site will need to either add stuff in here or have
#	a local version of this file
#
# Copyright (c) 1997-2002 Silicon Graphics, Inc.  All Rights Reserved.
#

. ./localconfig

# The ones of interest
#
# PCPQA_CLOSE_X_SERVER
#       host running an X server that allows remote X11 requests and
#       has a low-latency network connection to where the tests are
#	being run
#
# PCPQA_FAR_PMCD
#	a remote host across the Pacific that should be running pmcd(1)
#
# PCPQA_HYPHEN_HOST
#	a remote host that has a hyphen (-) in the hostname and is running
#	pmcd(1) ... you may need to make a local alias in /etc/hosts or
#	equivalent if you don't have a real valid hostname like this.
#
# PCPQA_SOCKS_SERVER
#	the local "socks" server to be used with pmsocks(1) ... may be
#	a hostname or an IP address
#
# PCPQA_CISCO_ROUTER
#	a cisco router that can be monitored with pmdacisco during QA
#

# domain-based defaults
#
domain=`_get_fqdn | sed -e 's/[^.][^.]*\.//'`

case "$domain"
in
    engr.sgi.com)
	PCPQA_CLOSE_X_SERVER=${PCPQA_CLOSE_X_SERVER:-groan:0}
	PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-snort.melbourne.sgi.com}
	PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-gate-babylon}
	PCPQA_SOCKS_SERVER=sgigate.sgi.com
	PCPQA_CISCO_ROUTER=melbourne-l0.wan.sgi.com
	;;
    melbourne.sgi.com)
	PCPQA_CLOSE_X_SERVER=${PCPQA_CLOSE_X_SERVER:-rattle:0}
	PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-babylon.engr.sgi.com}
	# foo-bar.melbourne is also known as ptg-gate.melbourne
	PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-foo-bar.melbourne.sgi.com}
	PCPQA_SOCKS_SERVER=sgigate.sgi.com
	PCPQA_CISCO_ROUTER=melbourne-l0.wan.sgi.com
	;;
    engr.acx)
	PCPQA_CLOSE_X_SERVER=:0
	PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-web1.drp.acx}
	PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-nathan-laptop}
	PCPQA_SOCKS_SERVER=${PCPQA_SOCKS_SERVER:-my_socks_server}
	PCPQA_CISCO_ROUTER=${PCPQA_CISCO_ROUTER:-cisco}
	;;
    scott.net.au)
	PCPQA_CLOSE_X_SERVER=:0
	PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-verge}
	PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-debian-laptop}
	PCPQA_SOCKS_SERVER=${PCPQA_SOCKS_SERVER:-my_socks_server}
	PCPQA_CISCO_ROUTER=${PCPQA_CISCO_ROUTER:-cisco_router}
	;;
    localdomain|localhost|local)
	PCPQA_SOCKS_SERVER=${PCPQA_SOCKS_SERVER:-my_socks_server}
	case "`hostname | sed -e 's/\..*//'`"
	in
	    bozo|bozo-laptop|bozo-vm)
		PCPQA_HYPHEN_HOST=bozo-vm
		# LinuxMint
		PCPQA_CLOSE_X_SERVER=localhost:10.0
		# Ubuntu
		PCPQA_CLOSE_X_SERVER=$DISPLAY
		PCPQA_SOCKS_SERVER=192.168.1.100
		;;
	    vm*|comma)
		PCPQA_CLOSE_X_SERVER=$DISPLAY
		PCPQA_SOCKS_SERVER=192.168.1.100
		;;
	    *)
		PCPQA_CLOSE_X_SERVER=:0.0
		;;
	esac
	PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-hilo.sgi.com}
	PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-bozo-laptop}
	PCPQA_CISCO_ROUTER=${PCPQA_CISCO_ROUTER:-cisco_router}
	;;
    *)
	# need to set up these assignments if you're not running in one
	# of the DNS domains above
	#
	PCPQA_CLOSE_X_SERVER=${PCPQA_CLOSE_X_SERVER:-:0}
	PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-some-host}
	PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-far_away_pmcd}
	PCPQA_SOCKS_SERVER=${PCPQA_SOCKS_SERVER:-my_socks_server}
	PCPQA_CISCO_ROUTER=${PCPQA_CISCO_ROUTER:-cisco_router}
	;;
esac