You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
# v1.5.0 (2016-06-04)
2
+
***[ADDED]** Added feature to send metrics to more than one carbon host at a time. Fixed [#2] (https://github.com/mothe-at/VMPerf-To-Graphite-PowerShell-Script/issues/2)
3
+
***[ADDED]** Ability to add portnumber for carbon server with the hostname (`-Graphiteserver <hostname>[:<port>][,<hostname>[:<port>][,...]]`)
4
+
5
+
1
6
# v1.4.0 (2016-05-20)
2
7
***[FIXED]** Parameter "-EventLogLevel None" could lead to an error message.
3
8
***[ADDED]** Parameter "-FromLastPoll <xml-file>". If this parameter is set, the script will try to receive all metrics from the VCenter Server starting at the date and time of the last poll up to the most recent data (Real-Time). Best practice if you are using a scheduler to run the script with only one iteration. Check help for more information.
@@ -9,8 +9,8 @@ The script is easy to setup and maintain, should be running in one minute.
9
9
- Check the [Version of PowerShell] (http://stackoverflow.com/questions/1825585/determine-installed-powershell-version) and update it to [PowerShell v4] (https://www.microsoft.com/en-US/download/details.aspx?id=40855) or above (POSH 2.x will cause problems, the Script will abort if the PowerShell Version is <4).
10
10
- Check if the ["Statistics Level" in VCenter] (http://rettl.org/scripts/vcenter.png) for the shortest period is set to "Level 2" or higher.
11
11
- Download the VMPerf-To-Graphite.ps1 script and save it on your server.
12
-
- Open a new PowerShell Window, read the documentation of the script carefully and discover all the various options and parameters (call `PS C:\> Get-Help VMPerf-To-Graphite.ps1 -full`).
13
-
- The script is not signed, if you receive an Execution Policy Error, just execute `PS C:\> Set-ExecutionPolicy Unrestricted` and it should work.
12
+
- Open a new PowerShell Window, read the documentation of the script carefully and discover all the various options and parameters (call `PS C:\PS> Get-Help VMPerf-To-Graphite.ps1 -full`).
13
+
- The script is not signed, if you receive an Execution Policy Error, just execute `PS C:\PS> Set-ExecutionPolicy Unrestricted` and it should work.
14
14
15
15
## How to use the script?
16
16
### Modes of Operation
@@ -32,7 +32,7 @@ You also have to tell the script just to run once and then quit using the `-Iter
32
32
33
33
Calling the script could look something like this:
It does not matter if you wait 5 minutes or 30 minutes until you run the script the next time, it will gather all metrics starting at the time of the last succesfull poll. But remember that VCenter only stores real-time data for the last hour!
@@ -44,207 +44,196 @@ The script has extensive error handling but nevertheless it could happen that a
44
44
45
45
To call the script to run infinitely, waiting 5 minutes between each iteration, call this:
- By design principles a PowerShell Script should not generate any output, unless an error orrurs. We follow this principle and if you want to see what the script is doing, add the `-Verbose` parameter to your call.
52
52
- For the user who will access VCenter, read-only permissions are enough.
53
53
54
54
## To-Do List
55
-
-[ ] Sending metrics to more than one Carbon host at a time.
56
55
-[ ] Ability to read from non-clustered ESX implementations.
Run the cmdlet just once. Write the date and time of the Poll to Vienna_Poll.xml. The next time the script runs, it will read the file and gather the metrics from VCenter starting at the last poll.
Read the counters from the VCenter server myvcenter.vienna.acme.com, send the metrics to graphite1.it.acme.com with a metrics path of "vmperf.Vienna." and then wait 5 minutes before the next iteration.
Read the counters from Cluster TESTDEV in the VCenter server myvcenter.vienna.acme.com, send the metrics to graphite1.it.acme.com with a metrics path of "vmperf.Vienna." and then wait 5 minutes before the next iteration.
Run the cmdlet just once, but do not send the metrics to Graphite, instead open a window and display the results.
248
237
249
238
## Licensing
250
239
This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License] (http://creativecommons.org/licenses/by-nc-sa/4.0/).
0 commit comments