ESXi 5.x template - no perl SDK, pure snmp

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Author
Message
macan
Cacti User
Posts: 141
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: ESXi 5.x template - no perl SDK, pure snmp

#31 Post by macan » Thu Dec 03, 2015 8:35 am

remotecontrol wrote:thanks for your quick reply, output below, i also did an snmpwalk grep for StorageRam but it came up empty...

HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6
HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageRamDisk
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageRamDisk
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageRamDisk
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageRamDisk
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageNetworkDisk
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageFixedDisk
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: /vmfs/volumes/55c101bf-9811b526-3fa8-f8bc12053bc0
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: /vmfs/volumes/ba2e4679-b132ce15-e4a7-ebef7411d5ab
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: /vmfs/volumes/2997a57e-baa5d1fb-cc26-fc34a1de75c2
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: /vmfs/volumes/55c101b7-3708b1f2-1c89-f8bc12053bc0
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /vmfs/volumes/nfs_vmware_10g
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /vmfs/volumes/55c101be-a90836a8-b667-f8bc12053bc0
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 65536 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 8192 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 1048576 Bytes
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 65515
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 63929
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 63929
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 36586
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 1342177280
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 277760
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 478
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 44970
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 44793
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 24699
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 261127508
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 973
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0
HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0
maybe bug, maybe feature ;-) I don't know :-(

Try to read relase notes and find any information about snmp mib changes.

pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: ESXi 5.x template - no perl SDK, pure snmp

#32 Post by pradeepspa » Tue Jun 14, 2016 8:44 am

Hi,

The template provide was exactly am looking to implement. However , I am not sure what community string to use? Is that something generic or depends on the manufacturer?

macan
Cacti User
Posts: 141
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: ESXi 5.x template - no perl SDK, pure snmp

#33 Post by macan » Tue Jun 14, 2016 8:54 am

pradeepspa wrote:Hi,

The template provide was exactly am looking to implement. However , I am not sure what community string to use? Is that something generic or depends on the manufacturer?
Step by step instructions are in readme.txt. Community "public" is used very offen. You must set the same community string ESXI (readme.txt) and in cacti -> add host

pradeepspa
Cacti User
Posts: 67
Joined: Wed Nov 25, 2015 2:35 pm

Re: ESXi 5.x template - no perl SDK, pure snmp

#34 Post by pradeepspa » Thu Jun 16, 2016 3:02 pm

Thanks for the response .It worked

jnojr
Cacti User
Posts: 65
Joined: Tue Jul 15, 2008 11:16 am
Location: San Diego, CA
Contact:

Re: ESXi 5.x template - no perl SDK, pure snmp

#35 Post by jnojr » Mon Jun 27, 2016 3:42 pm

macan wrote:Hi,
I prepared template for ESXi. It works with 5.0, 5.1 and 5.5. You can graph:
  • vhosts - number of hosts, running, installed vm client tools
    Logged in Users and number of processes
    Real Memory - on 5.1 and higher
    Processor load for every CPU core (strange works on 5.0, better on 5.1, fine on 5.5)
    HW - state of Logical volumes, FANs, … (does not make sense graphs hw with state unknown (only running(2), warninkg(3)) and make threshold)
    Disk usage
    Interface statistics
"Real Memory" only appears for one of my ESXi 6 hosts. On others, I can snmpwalk .1.3.6.1.2.1.25.2.3.1 but "Real Memory" just doesn't appear. No errors or suggestions to run the query in debug mode :-(

macan
Cacti User
Posts: 141
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: ESXi 5.x template - no perl SDK, pure snmp

#36 Post by macan » Mon Jul 11, 2016 1:21 pm

jnojr wrote:"Real Memory" only appears for one of my ESXi 6 hosts. On others, I can snmpwalk .1.3.6.1.2.1.25.2.3.1 but "Real Memory" just doesn't appear. No errors or suggestions to run the query in debug mode :-(
Please try to compare ESXi version (include patch/service pack). I guess, that Real memory is in version 5.5+

avantat
Posts: 10
Joined: Fri Jun 20, 2014 2:29 pm

Re: ESXi 5.x template - no perl SDK, pure snmp

#37 Post by avantat » Wed Jul 20, 2016 9:43 am

First, great plugin, many thanks!
I also don't see real memory listed, everything else works.
ESXi 5.5.0 Build 3568722, Cacti 0.8.8h, running on Windows 7 Pro x32

Thanks,

macan
Cacti User
Posts: 141
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: ESXi 5.x template - no perl SDK, pure snmp

#38 Post by macan » Mon Jul 25, 2016 5:26 am

avantat wrote:First, great plugin, many thanks!
I also don't see real memory listed, everything else works.
ESXi 5.5.0 Build 3568722, Cacti 0.8.8h, running on Windows 7 Pro x32

Thanks,
Please run this snmpwalk and post result:
snmpwalk -On -v1 -c your_community IP_OF_ES_XI .1.3.6.1.2.1.25.2.3.1

rcjtwdio12
Posts: 2
Joined: Mon Aug 01, 2016 10:56 am

Re: ESXi 5.x template - no perl SDK, pure snmp

#39 Post by rcjtwdio12 » Mon Aug 01, 2016 11:04 am

johnpoz wrote:The query for running hosts, etc. doesn't seem to be working.. Something changed in new build of 5.5?

snmpwalk -v2c -c public 192.168.1.40 .1.3.6.1.4.1.6876
iso.3.6.1.4.1.6876.1.1.0 = STRING: "VMware ESXi"
iso.3.6.1.4.1.6876.1.2.0 = STRING: "5.5.0"
iso.3.6.1.4.1.6876.1.4.0 = STRING: "1892794"
iso.3.6.1.4.1.6876.1.5.0 = STRING: "1"
iso.3.6.1.4.1.6876.1.6.0 = STRING: "28"
iso.3.6.1.4.1.6876.3.1.1.0 = Gauge32: 1
iso.3.6.1.4.1.6876.3.2.1.0 = Gauge32: 8354936
iso.3.6.1.4.1.6876.3.2.2.0 = Gauge32: 0
iso.3.6.1.4.1.6876.3.2.3.0 = Gauge32: 8354936
iso.3.6.1.4.1.6876.3.5.1.0 = INTEGER: 6

snmpwalk -v2c -c public 192.168.1.40 .1.3.6.1.4.1.6876.2
iso.3.6.1.4.1.6876.2 = No Such Object available on this agent at this OID

edit: Never mind I had to restart snmp and now its there

ubuntu:~$ snmpwalk -v2c -c public 192.168.1.40 .1.3.6.1.4.1.6876.2
iso.3.6.1.4.1.6876.2.1.1.2.1 = STRING: "pfsense-vm"
iso.3.6.1.4.1.6876.2.1.1.2.5 = STRING: "w7"
iso.3.6.1.4.1.6876.2.1.1.2.9 = STRING: "Ubuntu"
iso.3.6.1.4.1.6876.2.1.1.2.10 = STRING: "XP"
iso.3.6.1.4.1.6876.2.1.1.2.11 = STRING: "storage"
iso.3.6.1.4.1.6876.2.1.1.2.12 = STRING: "w81"

Sorry to resurrect this thread. I'm having the same issue, but it was working for me for few days and then suddenly SNMPv2-SMI::enterprises.6876.2 (.1.3.6.1.4.1.6876.2) group is missing. I've tried restarting snmp services but no luck. Other ESX's does show that group in SNMPwalk. Any tips on how to find what's wrong?

rcjtwdio12
Posts: 2
Joined: Mon Aug 01, 2016 10:56 am

Re: ESXi 5.x template - no perl SDK, pure snmp

#40 Post by rcjtwdio12 » Mon Aug 01, 2016 11:19 am

rcjtwdio12 wrote:
johnpoz wrote:The query for running hosts, etc. doesn't seem to be working.. Something changed in new build of 5.5?

snmpwalk -v2c -c public 192.168.1.40 .1.3.6.1.4.1.6876
iso.3.6.1.4.1.6876.1.1.0 = STRING: "VMware ESXi"
iso.3.6.1.4.1.6876.1.2.0 = STRING: "5.5.0"
iso.3.6.1.4.1.6876.1.4.0 = STRING: "1892794"
iso.3.6.1.4.1.6876.1.5.0 = STRING: "1"
iso.3.6.1.4.1.6876.1.6.0 = STRING: "28"
iso.3.6.1.4.1.6876.3.1.1.0 = Gauge32: 1
iso.3.6.1.4.1.6876.3.2.1.0 = Gauge32: 8354936
iso.3.6.1.4.1.6876.3.2.2.0 = Gauge32: 0
iso.3.6.1.4.1.6876.3.2.3.0 = Gauge32: 8354936
iso.3.6.1.4.1.6876.3.5.1.0 = INTEGER: 6

snmpwalk -v2c -c public 192.168.1.40 .1.3.6.1.4.1.6876.2
iso.3.6.1.4.1.6876.2 = No Such Object available on this agent at this OID

edit: Never mind I had to restart snmp and now its there

ubuntu:~$ snmpwalk -v2c -c public 192.168.1.40 .1.3.6.1.4.1.6876.2
iso.3.6.1.4.1.6876.2.1.1.2.1 = STRING: "pfsense-vm"
iso.3.6.1.4.1.6876.2.1.1.2.5 = STRING: "w7"
iso.3.6.1.4.1.6876.2.1.1.2.9 = STRING: "Ubuntu"
iso.3.6.1.4.1.6876.2.1.1.2.10 = STRING: "XP"
iso.3.6.1.4.1.6876.2.1.1.2.11 = STRING: "storage"
iso.3.6.1.4.1.6876.2.1.1.2.12 = STRING: "w81"

Sorry to resurrect this thread. I'm having the same issue, but it was working for me for few days and then suddenly SNMPv2-SMI::enterprises.6876.2 (.1.3.6.1.4.1.6876.2) group is missing. I've tried restarting snmp services but no luck. Other ESX's does show that group in SNMPwalk. Any tips on how to find what's wrong?
Its Fixed now. SSH'd to ESX host, run "/sbin/services.sh restart". It restarts a bunch of services along with snmp. It does not affect running VM's.

/etc/init.d/snmpd restart does not work.

avantat
Posts: 10
Joined: Fri Jun 20, 2014 2:29 pm

Re: ESXi 5.x template - no perl SDK, pure snmp

#41 Post by avantat » Wed Aug 03, 2016 1:54 pm

Here is the output from the walk. This esxi host has been freshly rebooted as well.

.1.3.6.1.2.1.25.2.3.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.25.2.3.1.1.2 = INTEGER: 2
.1.3.6.1.2.1.25.2.3.1.1.3 = INTEGER: 3
.1.3.6.1.2.1.25.2.3.1.1.4 = INTEGER: 4
.1.3.6.1.2.1.25.2.3.1.1.5 = INTEGER: 5
.1.3.6.1.2.1.25.2.3.1.1.6 = INTEGER: 6
.1.3.6.1.2.1.25.2.3.1.1.7 = INTEGER: 7
.1.3.6.1.2.1.25.2.3.1.1.8 = INTEGER: 8
.1.3.6.1.2.1.25.2.3.1.1.9 = INTEGER: 9
.1.3.6.1.2.1.25.2.3.1.1.10 = INTEGER: 10
.1.3.6.1.2.1.25.2.3.1.1.11 = INTEGER: 11
.1.3.6.1.2.1.25.2.3.1.1.12 = INTEGER: 12
.1.3.6.1.2.1.25.2.3.1.1.13 = INTEGER: 13
.1.3.6.1.2.1.25.2.3.1.1.14 = INTEGER: 14
.1.3.6.1.2.1.25.2.3.1.2.1 = OID: .1.3.6.1.2.1.25.2.1.8
.1.3.6.1.2.1.25.2.3.1.2.2 = OID: .1.3.6.1.2.1.25.2.1.8
.1.3.6.1.2.1.25.2.3.1.2.3 = OID: .1.3.6.1.2.1.25.2.1.8
.1.3.6.1.2.1.25.2.3.1.2.4 = OID: .1.3.6.1.2.1.25.2.1.8
.1.3.6.1.2.1.25.2.3.1.2.5 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.6 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.7 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.8 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.9 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.10 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.11 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.12 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.13 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.14 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.3.1 = STRING: /vmfs/volumes/54c8ae85-d4a5c94e-7b1e-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.2 = STRING: /vmfs/volumes/c8be6e74-2b5ed05c-ea56-22f3256
56961
.1.3.6.1.2.1.25.2.3.1.3.3 = STRING: /vmfs/volumes/ebb43a7f-74c9a190-f91f-be7edba
c6bd2
.1.3.6.1.2.1.25.2.3.1.3.4 = STRING: /vmfs/volumes/54c8ae78-d30e5e9e-4970-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.5 = STRING: /vmfs/volumes/552e997d-404c6e9a-9432-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.6 = STRING: /vmfs/volumes/54c8ae81-fdac959a-d3de-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.7 = STRING: /vmfs/volumes/552e9b84-500bf952-24df-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.8 = STRING: /vmfs/volumes/55708d94-0ce061ca-4592-b82a72e
07944
.1.3.6.1.2.1.25.2.3.1.3.9 = STRING: /vmfs/volumes/5522f088-a7282b3c-45e1-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.10 = STRING: /vmfs/volumes/5522f367-109b618a-3328-b82a72
e0a78c
.1.3.6.1.2.1.25.2.3.1.3.11 = STRING: /vmfs/volumes/55243ee2-0d92d81a-8eb9-b82a72
e0a78c
.1.3.6.1.2.1.25.2.3.1.3.12 = STRING: /vmfs/volumes/55709a2c-a3b3cb94-0243-b82a72
e07944
.1.3.6.1.2.1.25.2.3.1.3.13 = STRING: /vmfs/volumes/552e94e6-2c7357be-5173-b82a72
e0a78c
.1.3.6.1.2.1.25.2.3.1.3.14 = STRING: /vmfs/volumes/55804572-2bf345de-5d5c-b82a72
e07a40
.1.3.6.1.2.1.25.2.3.1.4.1 = INTEGER: 65536 Bytes
.1.3.6.1.2.1.25.2.3.1.4.2 = INTEGER: 4096 Bytes
.1.3.6.1.2.1.25.2.3.1.4.3 = INTEGER: 4096 Bytes
.1.3.6.1.2.1.25.2.3.1.4.4 = INTEGER: 8192 Bytes
.1.3.6.1.2.1.25.2.3.1.4.5 = INTEGER: 1048576 Bytes
.1.3.6.1.2.1.25.2.3.1.4.6 = INTEGER: 1048576 Bytes
.1.3.6.1.2.1.25.2.3.1.4.7 = INTEGER: 1048576 Bytes
.1.3.6.1.2.1.25.2.3.1.4.8 = INTEGER: 8388608 Bytes
.1.3.6.1.2.1.25.2.3.1.4.9 = INTEGER: 1048576 Bytes
.1.3.6.1.2.1.25.2.3.1.4.10 = INTEGER: 1048576 Bytes
.1.3.6.1.2.1.25.2.3.1.4.11 = INTEGER: 1048576 Bytes
.1.3.6.1.2.1.25.2.3.1.4.12 = INTEGER: 8388608 Bytes
.1.3.6.1.2.1.25.2.3.1.4.13 = INTEGER: 1048576 Bytes
.1.3.6.1.2.1.25.2.3.1.4.14 = INTEGER: 8388608 Bytes
.1.3.6.1.2.1.25.2.3.1.5.1 = INTEGER: 65515
.1.3.6.1.2.1.25.2.3.1.5.2 = INTEGER: 63929
.1.3.6.1.2.1.25.2.3.1.5.3 = INTEGER: 63929
.1.3.6.1.2.1.25.2.3.1.5.4 = INTEGER: 36586
.1.3.6.1.2.1.25.2.3.1.5.5 = INTEGER: 4194048
.1.3.6.1.2.1.25.2.3.1.5.6 = INTEGER: 131584
.1.3.6.1.2.1.25.2.3.1.5.7 = INTEGER: 2621184
.1.3.6.1.2.1.25.2.3.1.5.8 = INTEGER: 196576
.1.3.6.1.2.1.25.2.3.1.5.9 = INTEGER: 3145472
.1.3.6.1.2.1.25.2.3.1.5.10 = INTEGER: 3145472
.1.3.6.1.2.1.25.2.3.1.5.11 = INTEGER: 3145472
.1.3.6.1.2.1.25.2.3.1.5.12 = INTEGER: 259520
.1.3.6.1.2.1.25.2.3.1.5.13 = INTEGER: 4194048
.1.3.6.1.2.1.25.2.3.1.5.14 = INTEGER: 140768
.1.3.6.1.2.1.25.2.3.1.6.1 = INTEGER: 779
.1.3.6.1.2.1.25.2.3.1.6.2 = INTEGER: 47221
.1.3.6.1.2.1.25.2.3.1.6.3 = INTEGER: 47446
.1.3.6.1.2.1.25.2.3.1.6.4 = INTEGER: 25802
.1.3.6.1.2.1.25.2.3.1.6.5 = INTEGER: 3776147
.1.3.6.1.2.1.25.2.3.1.6.6 = INTEGER: 67542
.1.3.6.1.2.1.25.2.3.1.6.7 = INTEGER: 590559
.1.3.6.1.2.1.25.2.3.1.6.8 = INTEGER: 14975
.1.3.6.1.2.1.25.2.3.1.6.9 = INTEGER: 2193568
.1.3.6.1.2.1.25.2.3.1.6.10 = INTEGER: 2041414
.1.3.6.1.2.1.25.2.3.1.6.11 = INTEGER: 2306244
.1.3.6.1.2.1.25.2.3.1.6.12 = INTEGER: 67380
.1.3.6.1.2.1.25.2.3.1.6.13 = INTEGER: 2997573
.1.3.6.1.2.1.25.2.3.1.6.14 = INTEGER: 6047
.1.3.6.1.2.1.25.2.3.1.7.1 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.2 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.3 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.4 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.5 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.6 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.7 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.8 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.9 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.10 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.11 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.12 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.13 = Counter32: 0
.1.3.6.1.2.1.25.2.3.1.7.14 = Counter32: 0

macan
Cacti User
Posts: 141
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: ESXi 5.x template - no perl SDK, pure snmp

#42 Post by macan » Mon Aug 08, 2016 2:37 am

avantat wrote:Here is the output from the walk. This esxi host has been freshly rebooted as well.
...
.1.3.6.1.2.1.25.2.3.1.3.1 = STRING: /vmfs/volumes/54c8ae85-d4a5c94e-7b1e-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.2 = STRING: /vmfs/volumes/c8be6e74-2b5ed05c-ea56-22f3256
56961
.1.3.6.1.2.1.25.2.3.1.3.3 = STRING: /vmfs/volumes/ebb43a7f-74c9a190-f91f-be7edba
c6bd2
.1.3.6.1.2.1.25.2.3.1.3.4 = STRING: /vmfs/volumes/54c8ae78-d30e5e9e-4970-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.5 = STRING: /vmfs/volumes/552e997d-404c6e9a-9432-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.6 = STRING: /vmfs/volumes/54c8ae81-fdac959a-d3de-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.7 = STRING: /vmfs/volumes/552e9b84-500bf952-24df-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.8 = STRING: /vmfs/volumes/55708d94-0ce061ca-4592-b82a72e
07944
.1.3.6.1.2.1.25.2.3.1.3.9 = STRING: /vmfs/volumes/5522f088-a7282b3c-45e1-b82a72e
0a78c
.1.3.6.1.2.1.25.2.3.1.3.10 = STRING: /vmfs/volumes/5522f367-109b618a-3328-b82a72
e0a78c
.1.3.6.1.2.1.25.2.3.1.3.11 = STRING: /vmfs/volumes/55243ee2-0d92d81a-8eb9-b82a72
e0a78c
.1.3.6.1.2.1.25.2.3.1.3.12 = STRING: /vmfs/volumes/55709a2c-a3b3cb94-0243-b82a72
e07944
.1.3.6.1.2.1.25.2.3.1.3.13 = STRING: /vmfs/volumes/552e94e6-2c7357be-5173-b82a72
e0a78c
.1.3.6.1.2.1.25.2.3.1.3.14 = STRING: /vmfs/volumes/55804572-2bf345de-5d5c-b82a72
e07a40
...
My walk:
.1.3.6.1.2.1.25.2.3.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.25.2.3.1.1.2 = INTEGER: 2
.1.3.6.1.2.1.25.2.3.1.1.3 = INTEGER: 3
.1.3.6.1.2.1.25.2.3.1.1.4 = INTEGER: 4
.1.3.6.1.2.1.25.2.3.1.1.5 = INTEGER: 5
.1.3.6.1.2.1.25.2.3.1.1.6 = INTEGER: 6
.1.3.6.1.2.1.25.2.3.1.2.1 = OID: .1.3.6.1.2.1.25.2.1.8
.1.3.6.1.2.1.25.2.3.1.2.2 = OID: .1.3.6.1.2.1.25.2.1.8
.1.3.6.1.2.1.25.2.3.1.2.3 = OID: .1.3.6.1.2.1.25.2.1.8
.1.3.6.1.2.1.25.2.3.1.2.4 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.5 = OID: .1.3.6.1.2.1.25.2.1.4
.1.3.6.1.2.1.25.2.3.1.2.6 = OID: .1.3.6.1.2.1.25.2.1.20
.1.3.6.1.2.1.25.2.3.1.3.1 = STRING: /vmfs/volumes/fe5a83ec-565719a1-92ad-cde9c7380496
.1.3.6.1.2.1.25.2.3.1.3.2 = STRING: /vmfs/volumes/7f276aed-e4ac24f2-7bed-1d5857ffc4a7
.1.3.6.1.2.1.25.2.3.1.3.3 = STRING: /vmfs/volumes/510bfb90-5c4f8fe4-ab39-2c768a50f195
.1.3.6.1.2.1.25.2.3.1.3.4 = STRING: /vmfs/volumes/510c0522-63355616-95ae-2c768a50f195
.1.3.6.1.2.1.25.2.3.1.3.5 = STRING: /vmfs/volumes/5175196b-a70c065c-7da1-2c768a50f194
.1.3.6.1.2.1.25.2.3.1.3.6 = STRING: Real Memory

We are using only HP servers and their custom ESXi image (added smart array driver, ...). Maybe SNMP real memory value is custom modification of HP image.

https://my.vmware.com/web/vmware/detail ... ductId=491

avantat
Posts: 10
Joined: Fri Jun 20, 2014 2:29 pm

Re: ESXi 5.x template - no perl SDK, pure snmp

#43 Post by avantat » Mon Aug 08, 2016 9:14 am

That could be. We are running Dell servers with a customized image. I'm upgrading them to ESXi 6.x later this year, possibly I get the real memory there.
Thanks again for the great template though!

Ololz
Posts: 6
Joined: Wed Jul 06, 2016 2:09 pm

Re: ESXi 5.x template - no perl SDK, pure snmp

#44 Post by Ololz » Tue Aug 09, 2016 10:17 am

Hello,

I used the template to monitor my ESXi 6.0. it works fine for " Data Query ESXI - CPU" , but " Data Query ESXI - hw " shows only empty graphs .
Can you help me ? Is this a mistake on my part ?

I use Dell servers.

Thank you !

macan
Cacti User
Posts: 141
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Contact:

Re: ESXi 5.x template - no perl SDK, pure snmp

#45 Post by macan » Mon Aug 15, 2016 10:06 am

Ololz wrote:Hello,

I used the template to monitor my ESXi 6.0. it works fine for " Data Query ESXI - CPU" , but " Data Query ESXI - hw " shows only empty graphs .
Can you help me ? Is this a mistake on my part ?

I use Dell servers.

Thank you !
From readme.txt:
2) copy file scripts/ss_esxi_vhosts.php to your_cacti_instalation/scripts/
3) copy files resource/snmp_queries to your_cacti_instalation/resource/snmp_queries/

Did you do this? Do you have right file permissions on scripts/ss_esxi_vhosts.php and resource/snmp_queries/esxi_hw.xml?

Post Reply