Skip to content

szaher/vcenter-event-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vcenter-event-collector

Streaming events from vcenter

Print help message

go run main.go -h
Usage of main:
  -b duration
        Start time of events to be streamed (default 10m0s)
  -c int
        Number of events to fetch every time. (default 100)
  -e duration
        End time of events to be streamed
  -f    Follow event stream
  -i    Insecure (default true)
  -p string
        Vcenter password
  -u string
        Vcenter Username (default "[email protected]")
  -url string

Fetch events

go run main.go  -url https://VCENTER_URL/sdk -p VCENTER_PASSWORD   

Stream events in certain period

go run main.go  -url https://VCENTER_URL/sdk -p VCENTER_PASSWORD -b 10h -e 9h  

Stream events

go run main.go  -url https://VCENTER_URL/sdk -p VCENTER_PASSWORD -f  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages