summaryrefslogtreecommitdiff
path: root/src/pmdas/linux_xfs/linux_xfs_migrate.conf
blob: 59cbb645140cd5c356288dd580f07ceeadce9ef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Copyright 2013 Red Hat.
#
# pmlogrewrite configuration for migrating archives containing XFS metrics
# that were captured prior to the XFS PMDA split-off from the Linux PMDA.
# Basically, the PMID domain changed from 60 (linux) to 11 (xfs) but all
# cluster and item numbers remain unchanged.
#

#
# Migrate the domain field of the metric and indom identifiers
#
indom 60.16 { indom -> duplicate 11.16 }		# need 11.16 and 60.16
metric 60.16.* { pmid -> 11.*.* }			# CLUSTER_XFS
metric 60.17.* { pmid -> 11.*.* }			# CLUSTER_XFSBUF
metric 60.30.* { pmid -> 11.*.* indom -> 11.16 }	# CLUSTER_QUOTA