vmware / govmomi

Go library for the VMware vSphere API
Apache License 2.0
2.3k stars 911 forks source link

govc events tailing has repeated events in the output #565

Closed hmahmood closed 8 years ago

hmahmood commented 8 years ago

Sample output:

HMAHMOOD-MBPRO:Volumes hmahmood$ GOVC_URL=root:xxxxx@172.16.127.130 GOVC_INSECURE=1 govc events -f
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set cmmds succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'enable' for rule set cmmds succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set vsanvp succeeded.
...
[Mon Aug 22 10:30:01 2016] [info] User dcui@127.0.0.1 logged in as VMware-client/5.1.0
[Mon Aug 22 10:41:40 2016] [info] User root@127.0.0.1 logged in as VMware-client/5.1.0
[Mon Aug 22 10:41:41 2016] [info] User root@127.0.0.1 logged out (login time: Monday, 22 
...
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'enable' for rule set cmmds succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set vsanvp succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'enable' for rule set vsanvp succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'noallowall' for rule set vsanvp succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'setrequired' for rule set vsanvp succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set rabbitmqproxy succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'enable' for rule set rabbitmqproxy succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set ipfam succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set vvold succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set iofiltervp succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set esxupdate succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set vit succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Firewall configuration has changed. Operation 'add' for rule set vsanhealth-multicasttest succeeded.
[Mon Aug 22 10:27:46 2016] [event..category] Port vmk0 is now protected by Firewall.
[Mon Aug 22 10:27:46 2016] [event..category] Network connectivity restored on virtual switch "vSwitch0", portgroups: "Management Network". Physical NIC vmnic0 is up.
[Mon Aug 22 10:27:46 2016] [event..category] At least one coredump target has been configured. Host core dumps will be saved.
[Mon Aug 22 10:27:46 2016] [event..category] The DCUI has been enabled.
[Mon Aug 22 10:27:46 2016] [event..category] SSH access has been enabled.
[Mon Aug 22 10:30:01 2016] [info] User dcui@127.0.0.1 logged in as VMware-client/5.1.0
[Mon Aug 22 10:41:40 2016] [info] User root@127.0.0.1 logged in as VMware-client/5.1.0
[Mon Aug 22 10:41:41 2016] [info] User root@127.0.0.1 logged out (login time: Monday, 22 August, 2016 15:41:40, number of API invocations: 0, user agent: VMware-client/5.1.0)
[Mon Aug 22 10:41:49 2016] [info] User root@127.0.0.1 logged in as VMware-client/5.1.0
[Mon Aug 22 10:41:49 2016] [info] User root@127.0.0.1 logged out (login time: Monday, 22 August, 2016 15:41:49, number of API invocations: 0, user agent: VMware-client/5.1.0)
[Mon Aug 22 10:48:18 2016] [info] User root@172.16.127.1 logged in as Go-http-client/1.1
[Mon Aug 22 10:48:49 2016] [info] User root@172.16.127.1 logged in as Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
dougm commented 8 years ago

cc @cgtexmex