This file is indexed.

/var/lib/pcp/testsuite/common.config is in pcp-testsuite 4.0.1-1.

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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# 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
#	Can safely be left unset.
#
# PCPQA_FAR_PMCD
#	a remote host a long way away that should be running pmcd(1)
#	(was important when latency over the slow internet was an
#	issue)
#	Can safely be left unset.
#
# 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.
#	Can safely be left unset.
#
# PCPQA_SOCKS_SERVER
#	the local "socks" server to be used with pmsocks(1) ... may be
#	a hostname or an IP address
#	Can safely be left unset.
#
# PCPQA_CISCO_ROUTER
#	a cisco router that can be monitored with pmdacisco during QA
#	Can safely be left unset.
#

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

PCPQA_CLOSE_X_SERVER=${PCPQA_CLOSE_X_SERVER:-''}
PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-''}
PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-''}
PCPQA_CISCO_ROUTER=${PCPQA_CISCO_ROUTER:-''}
PCPQA_SOCKS_SERVER=$PCPQA_SOCKS_SERVER:-''}
PCPQA_CISCO_ROUTER=${PCPQA_CISCO_ROUTER:-''}

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_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_CISCO_ROUTER=${PCPQA_CISCO_ROUTER:-cisco_router}
	;;

    localdomain|localhost|local|\(none\))
	case "`hostname | sed -e 's/\..*//'`"
	in
	    bozo|bozo-laptop|bozo-vm|vm*|comma)
		PCPQA_HYPHEN_HOST=bozo-vm
		# use bozo for socks and X11 server (unless set already and
		# working)
		#
		if [ -n "$DISPLAY" ]
		then
		    # set
		    if which xdpyinfo >/dev/null 2>&1
		    then
			if xdpyinfo >/dev/null 2>&1
			then
			    # OK
			    #
			    :
			else
			    # looks like $DISPLAY is getting us to an X11 server
			    #
			    unset DISPLAY
			fi
		    else
			# if xdpyinfo is not here, assume $DISPLAY is bogus
			#
			unset DISPLAY
		    fi
		fi
		# X11 server is on bozo-laptop (ipaddr 192.168.1.101)
		PCPQA_CLOSE_X_SERVER=${DISPLAY-192.168.1.101:0}
		# currently not working on bozo (ipaddr 192.168.1.100)
		PCPQA_SOCKS_SERVER=192.168.1.100
		;;

	    # add settings here for your host if the domain is
	    # localdomain, localhost, local or (none)
	    #
	    #myhost)
		# ...
		# ;;

	esac
	;;

    gateway) # mgoodwin
	PCPQA_CLOSE_X_SERVER=:0
	PCPQA_FAR_PMCD=${PCPQA_FAR_PMCD:-rhel74.qa}
	PCPQA_HYPHEN_HOST=${PCPQA_HYPHEN_HOST:-f27-clone.qa}
	;;

    # add settings for your domain here if needed
    #
    #mydomain)
	# ...
	# ;;

esac