Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #567 vm_perf_example.py , Issue #569 vm_perf_example.py, Issue# 570 mk_fcd.py #568

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Chandan-Hegde
Copy link

Appended the unit info in the VM performance metric which is much needed.

@pgbidkar
Copy link
Contributor

Hi @Chandan-Hegde , Thanks for PR. Please can you fix the failures https://travis-ci.org/vmware/pyvmomi-community-samples/builds/526035420?utm_source=github_status&utm_medium=notification?

Also please provide the output of new sample.

Thanks,
Pavan

honor the --disable_ssl_verification flag

Thanks for Contributing
…t_name

samples/deploy_ovf.py fix bad object name in error
@Chandan-Hegde
Copy link
Author

Hi @pgbidkar , Sorry I am new to the community and this is my first small commit.

This was a very small change with just amendment to one line that is line number 51 to include even the unit too.

fullName = c.groupInfo.key + "." + c.nameInfo.key + "." + c.rollupType + "(" + c.unitInfo.key + ")"

I saw the Travis CI output, but couldn't understand what was the issue in the build. Can you please help me out here?

@Chandan-Hegde
Copy link
Author

Chandan-Hegde commented Apr 30, 2019

The output in my tiny environment

(pyvmomi-community-samples) chandan@dev-chandan:~/pyvmomi-community-samples/samples$ ./vm_perf_example.py -s test-vc.local.local -u scriptuser
Enter password for host test-vc.local.local and user scriptuser:
name: chandan4
disk.used.latest(kiloBytes): 3318616
disk.used.latest(kiloBytes) (DELTAFILE): 0
disk.used.latest(kiloBytes) (DISKFILE): 3317760
disk.used.latest(kiloBytes) (OTHERFILE): 856
disk.used.latest(kiloBytes): 3318616
disk.used.latest(kiloBytes) (DELTAFILE): 0
disk.used.latest(kiloBytes) (DISKFILE): 3317760
disk.used.latest(kiloBytes) (OTHERFILE): 856
disk.used.latest(kiloBytes): 3318616
disk.used.latest(kiloBytes) (DELTAFILE): 0
disk.used.latest(kiloBytes) (DISKFILE): 3317760
disk.used.latest(kiloBytes) (OTHERFILE): 856
disk.used.latest(kiloBytes): 3318616
disk.used.latest(kiloBytes) (DELTAFILE): 0
disk.used.latest(kiloBytes) (DISKFILE): 3317760
disk.used.latest(kiloBytes) (OTHERFILE): 856
disk.provisioned.latest(kiloBytes): 25382480
disk.unshared.latest(kiloBytes): 3317760

name: chandan5
cpu.usage.average(percent): 29
cpu.usagemhz.average(megaHertz): 15
cpu.ready.summation(millisecond): 3813
mem.usage.average(percent): 1034
mem.swapinRate.average(kiloBytesPerSecond): 0
mem.swapoutRate.average(kiloBytesPerSecond): 0
mem.vmmemctl.average(kiloBytes): 0
mem.consumed.average(kiloBytes): 342590
mem.overhead.average(kiloBytes): 26895
disk.maxTotalLatency.latest(millisecond): 0
net.usage.average(kiloBytesPerSecond): 0
sys.uptime.latest(second): 16219
disk.used.latest(kiloBytes): 9869627
disk.used.latest(kiloBytes) (DELTAFILE): 356372
disk.used.latest(kiloBytes) (DISKFILE): 7303168
disk.used.latest(kiloBytes) (OTHERFILE): 112935
disk.used.latest(kiloBytes) (SWAPFILE): 2097152
disk.used.latest(kiloBytes): 9869627
disk.used.latest(kiloBytes) (DELTAFILE): 356372
disk.used.latest(kiloBytes) (DISKFILE): 7303168
disk.used.latest(kiloBytes) (OTHERFILE): 112935
disk.used.latest(kiloBytes) (SWAPFILE): 2097152
disk.used.latest(kiloBytes): 9869627
disk.used.latest(kiloBytes) (DELTAFILE): 356372
disk.used.latest(kiloBytes) (DISKFILE): 7303168
disk.used.latest(kiloBytes) (OTHERFILE): 112935
disk.used.latest(kiloBytes) (SWAPFILE): 2097152
disk.used.latest(kiloBytes): 9869627
disk.used.latest(kiloBytes) (DELTAFILE): 356372
disk.used.latest(kiloBytes) (DISKFILE): 7303168
disk.used.latest(kiloBytes) (OTHERFILE): 112935
disk.used.latest(kiloBytes) (SWAPFILE): 2097152
disk.used.latest(kiloBytes): 9869627
disk.used.latest(kiloBytes) (DELTAFILE): 356372
disk.used.latest(kiloBytes) (DISKFILE): 7303168
disk.used.latest(kiloBytes) (OTHERFILE): 112935
disk.used.latest(kiloBytes) (SWAPFILE): 2097152
disk.provisioned.latest(kiloBytes): 86096187
disk.unshared.latest(kiloBytes): 7659520

@Chandan-Hegde Chandan-Hegde changed the title Issue #567 Performance metric Unit was also included in the output Issue #567 vm_perf_example.py , Issue #569 vm_perf_example.py, Issue# 570 mk_fcd.py Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants