экспортер показателей pcp-to-zabbix (pcp-to-zabbix metrics exporter)
Конфигурационный файл (Config file)
pcp2zabbix
uses a configuration file with overall syntax
described in pmrep.conf(5). The following options are common
with pmrep.conf
: version
, source
, speclocal
, derived
, header
,
globals
, samples
, interval
, type
, type_prefer
, ignore_incompat
,
names_change
, instances
, live_filter
, rank
, limit_filter
,
limit_filter_force
, invert_filter
, predicate
, omit_flat
,
precision
, precision_force
, count_scale
, count_scale_force
,
space_scale
, space_scale_force
, time_scale
, time_scale_force
.
The output
option is recognized but ignored for pmrep.conf
compatibility.
pcp2zabbix specific options
zabbix_server (string)
Hostname or IP address of Zabbix server to send the metrics
to. If a host is monitored by a proxy, proxy hostname or IP
address should be used instead. Corresponding command line
option is -g
. Default is localhost
.
zabbix_port (integer)
Specify port number of server trapper running on the server.
Corresponding command line option is -p
. Default is 10051
.
zabbix_host (string)
Specify agent hostname as registered in Zabbix frontend.
Host IP address and DNS name will not work. Corresponding
command line option is -X
. Defaults to the metrics source
host.
zabbix_interval (string)
Indicates the interval to send the metrics to the Zabbix
server. This can be longer than the generic interval to
minimize the overhead when communicating with the server (as
each send creates a new connection). Follows the time syntax
described in PCPIntro(1). Corresponding command line option
is -E
. Defaults to the generic interval. Zabbix tools send
at most 250 metrics at a time. Ignored when reading metrics
from PCP archives, in which case metrics will be sent roughly
at 250 metric batches.
zabbix_prefix (string)
Specify the prefix for metrics sent to the Zabbix server.
Corresponding command line option is -x
. Default is .pcp
.
zabbix_lld (boolean)
Specify whether to enable Zabbix low-level discovery.
Corresponding command line option is -l
. Default is no
.