Created
January 4, 2017 15:58
-
-
Save szukalski/12bd344ff66610123ca1a506b2d66b62 to your computer and use it in GitHub Desktop.
vsphere-influxdb-go config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Domain": ".YYY.ZZZ", | |
"Interval": 60, | |
"VCenters": [ | |
{ "Username": "XYZ", "Password": "XYZ", "Hostname": "XXX.YYY.ZZZ" } | |
], | |
"InfluxDB": { | |
"Hostname": "XXX.YYY.ZZZ:8086", | |
"Username": "XYZ", | |
"Password": "XYZ", | |
"Database": "XYZ" | |
}, | |
"Metrics": [ | |
{ | |
"ObjectType": [ "VirtualMachine", "HostSystem" ], | |
"Definition": [ | |
{ "Metric": "cpu.usage.average", "Instances": "*" }, | |
{ "Metric": "cpu.ready.summation", "Instances": "*" }, | |
{ "Metric": "mem.usage.average", "Instances": "*" }, | |
{ "Metric": "mem.consumed.average", "Instances": "*" }, | |
{ "Metric": "mem.active.average", "Instances": "*" }, | |
{ "Metric": "net.packetsRx.summation", "Instances": "*" }, | |
{ "Metric": "net.packetsTx.summation", "Instances": "*" }, | |
{ "Metric": "net.throughput.usage.average", "Instances": "*" }, | |
{ "Metric": "net.received.average", "Instances": "*" }, | |
{ "Metric": "net.transmitted.average", "Instances": "*" }, | |
{ "Metric": "net.throughput.usage.nfs.average", "Instances": "*" }, | |
{ "Metric": "datastore.numberReadAveraged.average", "Instances": "*" }, | |
{ "Metric": "datastore.numberWriteAveraged.average", "Instances": "*" }, | |
{ "Metric": "datastore.read.average", "Instances": "*" }, | |
{ "Metric": "datastore.write.average", "Instances": "*" }, | |
{ "Metric": "disk.provisioned.latest", "Instances": "*" }, | |
{ "Metric": "disk.used.latest", "Instances": "*" }, | |
{ "Metric": "disk.capacity.latest", "Instances": "*" }, | |
{ "Metric": "datastore.totalReadLatency.average", "Instances": "*" }, | |
{ "Metric": "datastore.totalWriteLatency.average", "Instances": "*" } | |
] | |
}, | |
{ | |
"ObjectType": [ "VirtualMachine" ], | |
"Definition": [ | |
{ "Metric": "datastore.datastoreVMObservedLatency.latest", "Instances": "*" }, | |
{ "Metric": "mem.swapused.average", "Instances": "*" }, | |
{ "Metric": "cpu.capacity.contention.average", "Instances": "*" } | |
] | |
}, | |
{ | |
"ObjectType": [ "HostSystem" ], | |
"Definition": [ | |
{ "Metric": "disk.maxTotalLatency.latest", "Instances": "" }, | |
{ "Metric": "net.throughput.contention.summation", "Instances": "*" } | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment