X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=e2cd3a3e13751ef1ec6dc77ae373fca6907e4ec0;hb=7e942ee673692b1b08dff8a4ad842f6cd628b376;hp=b9d85837b32d2f5e47e0d0c7a6a1fd65d4515895;hpb=762994729ef2f4795aa57ae2a1e02b4d4ddf8efe;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index b9d85837..e2cd3a3e 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -5438,6 +5438,12 @@ behavior is to let the kernel choose the appropriate interface. Be warned that the manual selection of an interface for unicast traffic is only necessary in rare cases. +=item B I + +Set the outgoing IP address for IP packets. This option can be used instead of +the I option to explicitly define the IP address which will be used +to send Packets to the remote server. + =item B I Sets the interval at which to re-resolve the DNS for the I. This is @@ -7791,7 +7797,9 @@ B IndexOID "IF-MIB::ifIndex" SizeOID "IF-MIB::ifNumber" - Index "PluginInstance" + + Source "PluginInstance" + Plugin "interface" OIDs "IF-MIB::ifDescr" @@ -7802,12 +7810,44 @@ B OIDs "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets" + + + + Source "PluginInstance" + + Plugin "virt" + OIDs "LIBVIRT-HYPERVISOR-MIB::lvhAffinityDomainName" + + + Plugin "virt" + + Source "TypeInstance" + Regex "^vcpu_([0-9]{1,3})-cpu_[0-9]{1,3}$" + Group 1 + + OIDs "LIBVIRT-HYPERVISOR-MIB::lvhVCPUIndex" + + + Plugin "virt" + + Source "TypeInstance" + Regex "^vcpu_[0-9]{1,3}-cpu_([0-9]{1,3})$" + Group 1 + + OIDs "LIBVIRT-HYPERVISOR-MIB::lvhCPUIndex" + + + Plugin "virt" + Type "cpu_affinity" + OIDs "LIBVIRT-HYPERVISOR-MIB::lvhCPUAffinity" + +
There are two types of blocks that can be contained in the CPluginE snmp_agentE> block: B and B: -=head3 The B block +=head3 B block The B block defines a list OIDs that are to be handled. This block can define scalar or table OIDs. If B block is defined inside of B
@@ -7816,15 +7856,35 @@ The following options can be set: =over 4 -=item B I +=item B block -B can be set to one of the following values: "Hostname", "Plugin", -"PluginInstance", "Type", "TypeInstance". This value indicates which field of -corresponding collectd metric is taken as a SNMP table index. In case more than -one table B block has B property set, then multiple key index is -built. If B block defines scalar data type B has no effect and can +B block contains all data needed for proper index build of snmp table. +In case more than +one table B block has B block present then multiple key index is +built. If B block defines scalar data type B has no effect and can be omitted. +=over 8 + +=item B I + +B can be set to one of the following values: "Hostname", "Plugin", +"PluginInstance", "Type", "TypeInstance". This value indicates which field of +corresponding collectd metric is taken as a SNMP table index. + +=item B I + +B option can also be used to parse strings or numbers out of +specific field. For example: type-instance field which is "vcpu1-cpu2" can be +parsed into two numeric fields CPU = 2 and VCPU = 1 and can be later used +as a table index. + +=item B I + +B number can be specified in case groups are used in regex. + +=back + =item B I Read plugin name whose collected data will be mapped to specified OIDs.