Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 40cb4d8

Browse files
Merge pull request #2638 from splunk/urbiz-DG27045-vsphere
[DG27035]: Added filter to vSPhere
2 parents 2bd75af + b3955fe commit 40cb4d8

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

gdi/monitors-hosts/vsphere.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ See the following example with extended config options:
123123
Configuration settings
124124
~~~~~~~~~~~~~~~~~~~~~~
125125

126-
The following table shows the configuration options for the ``vsphere``
127-
monitor:
126+
The following table shows the main configuration options for the ``vsphere``
127+
monitor. For more settings see :new-page:`vSphere monitor <https://github.com/signalfx/signalfx-agent/blob/main/docs/monitors/vsphere.md>` in GitHub.
128128

129129
.. list-table::
130130
:widths: 18 18 18 18
@@ -155,6 +155,7 @@ monitor:
155155
- No
156156
- ``string``
157157
- vSphere username.
158+
158159
-
159160

160161
- ``password``
@@ -163,6 +164,14 @@ monitor:
163164
- vSphere password.
164165
-
165166

167+
- ``filter``
168+
- No
169+
- ``string``
170+
- * Limits the inventory traversed by the monitor. Leave blank or omit to traverse and get metrics for the entire vSphere inventory. Otherwise, this expression is evaluated per cluster. If ``true``, metrics are collected for the objects in the cluster, otherwise it's skipped.
171+
* The expression can use the variables ``Datacenter`` and ``Cluster``. For example, to collect metrics for a specific datacenter and cluster, use ``filter: "Datacenter == 'MyDatacenter' && Cluster == 'MyCluster'"``.
172+
* See :new-page:`expr <https://github.com/antonmedv/expr>` in GitHub for advanced syntax.
173+
-
174+
166175
- ``insecureSkipVerify``
167176
- No
168177
- ``bool``

0 commit comments

Comments
 (0)