Skip to content

Commit 3bb0e3d

Browse files
committed
Update README.md
1 parent 0344a0a commit 3bb0e3d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ The script is easy to setup and maintain, should be running in one minute.
99
- 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).
1010
- Check if the ["Statistics Level" in VCenter] (http://rettl.org/scripts/vcenter.png) for the shortest period is set to "Level 2" or higher.
1111
- 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.
1414

1515
## How to use the script?
1616
### Modes of Operation
@@ -32,7 +32,7 @@ You also have to tell the script just to run once and then quit using the `-Iter
3232

3333
Calling the script could look something like this:
3434

35-
`PS C:\>VMPerf-To-Graphite.ps1 -Verbose -Server myvcenter.vienna.acme.com -User ACME\StatsReader -Password mypass
35+
`PS C:\PS> VMPerf-To-Graphite.ps1 -Verbose -Server myvcenter.vienna.acme.com -User ACME\StatsReader -Password mypass
3636
-Graphiteserver graphite1.it.acme.com -Iterations 1 -FromLastPoll Vienna_Poll.xml`
3737

3838
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,7 +44,7 @@ The script has extensive error handling but nevertheless it could happen that a
4444

4545
To call the script to run infinitely, waiting 5 minutes between each iteration, call this:
4646

47-
`PS C:\>VMPerf-To-Graphite.ps1 -Verbose -Server myvcenter.vienna.acme.com -User ACME\StatsReader -Password mypass
47+
`PS C:\PS> VMPerf-To-Graphite.ps1 -Verbose -Server myvcenter.vienna.acme.com -User ACME\StatsReader -Password mypass
4848
-Sleepseconds 300 -Graphiteserver graphite1.it.acme.com -Group Vienna`
4949

5050
## Some additional notes

0 commit comments

Comments
 (0)