This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(0,) | |
(0, 0) | |
(1,) | |
(1, 3) | |
(1, 3, 6) | |
(1, 3, 6, 1) | |
(1, 3, 6, 1, 1) | |
(1, 3, 6, 1, 2) | |
(1, 3, 6, 1, 2, 1) | |
(1, 3, 6, 1, 2, 1, 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5 /Users/aliyaman/PycharmProjects/snmp/main.py | |
IF-MIB::ifNumber.0 = 7 | |
IF-MIB::ifIndex.1 = 1 | |
IF-MIB::ifIndex.2 = 2 | |
IF-MIB::ifIndex.3 = 3 | |
IF-MIB::ifIndex.4 = 4 | |
IF-MIB::ifIndex.5 = 5 | |
IF-MIB::ifIndex.6 = 6 | |
IF-MIB::ifIndex.7 = 7 | |
IF-MIB::ifDescr.1 = Device vmnic0 at 02:00.0 tg3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import atexit | |
from pyVmomi import vim, vmodl | |
from pyVim.connect import SmartConnect, Disconnect | |
import humanize | |
MBFACTOR = float(1 << 20) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################## | |
################################################## | |
### datacenter : ofis | |
################################################## | |
################################################## | |
Datastore name: datastore1 (3) | |
Capacity: 550.2 GiB | |
Provisioned space: 241.0 GiB | |
Free space: 432.1 GiB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Written by Lance Hasson | |
Github: https://github.com/JLHasson | |
Script to report all available realtime performance metrics from a | |
virtual machine. Based on a Java example available in the VIM API 6.0 | |
documentationavailable online at: | |
https://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.wssdk.pg. | |
doc%2FPG_Performance.18.4.html&path=7_1_0_1_15_2_4 | |
Requirements: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import atexit | |
from pyVmomi import vim, vmodl | |
from pyVim.connect import SmartConnect, Disconnect | |
import humanize | |
MBFACTOR = float(1 << 20) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"clusterServices.cpufairness.latest": 215, | |
"clusterServices.effectivecpu.average": 276, | |
"clusterServices.effectivemem.average": 277, | |
"clusterServices.failover.latest": 280, | |
"clusterServices.memfairness.latest": 216, | |
"cpu.capacity.contention.average": 19, | |
"cpu.capacity.demand.average": 18, | |
"cpu.capacity.entitlement.average": 16, | |
"cpu.capacity.provisioned.average": 15, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Makina : vcenter 6.0 192.168.1.95 | |
cpu.readiness.average : 2 | |
cpu.readiness.average : 2 | |
cpu.readiness.average : 2 | |
cpu.costop.summation : 0 | |
cpu.costop.summation : 0 | |
cpu.maxlimited.summation : 0 | |
cpu.run.summation : 817 | |
cpu.run.summation : 643 | |
rescpu.actav5.latest : 1500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Server Name : vcenter 6.0 192.168.1.95 | |
Description : VMware vCenter Server Appliance | |
Guest : SUSE Linux Enterprise 11 (64-bit) | |
Snapshot Status : No Snapshots | |
VM .vmx Path : [datastore1 (2)] vcenter 6.0 192.168.1.95/vcenter 6.0 192.168.1.95.vmx | |
Virtual Disks : Hard disk 1 | 12.0GB | Thin: True | [datastore1 (2)] vcenter 6.0 192.168.1.95/vcenter 6.0 192.168.1.95.vmdk | |
Hard disk 2 | 1.0GB | Thin: False | [datastore1 (2)] vcenter 6.0 192.168.1.95/vcenter 6.0 192.168.1.95_1.vmdk | |
Hard disk 3 | 25.0GB | Thin: True | [datastore1 (2)] vcenter 6.0 192.168.1.95/vcenter 6.0 192.168.1.95_2.vmdk | |
Hard disk 4 | 50.0GB | Thin: True | [datastore1 (2)] vcenter 6.0 192.168.1.95/vcenter 6.0 192.168.1.95_3.vmdk | |
Hard disk 5 | 10.0GB | Thin: True | [datastore1 (2)] vcenter 6.0 192.168.1.95/vce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y install python-pip | |
sudo pip install docker-compose | |
mkdir ~/docker | |
cd ~/docker | |
nano docker-compose.yml |