ESXi 5.1.0 Monitoring
Moderators: Developers, Moderators
-
- Posts: 23
- Joined: Fri Nov 26, 2010 5:10 am
ESXi 5.1.0 Monitoring
Hi All,
Can someone tell how to monitor ESXi 5.1 from cacti? I have installed cacti and somehow I have enabled SNMP on ESXi 5.1.
As per attached picture you can see that the ESXi host is UP.
I have downloaded a template to monitor this host however I'm not getting any graphs/reading -nan, see attached picture.
Has anyone succeeded monitoring an ESXi 5.1 server from cacti, maybe step by step tutorials,
Thanks!!
Regards,
Brian
Can someone tell how to monitor ESXi 5.1 from cacti? I have installed cacti and somehow I have enabled SNMP on ESXi 5.1.
As per attached picture you can see that the ESXi host is UP.
I have downloaded a template to monitor this host however I'm not getting any graphs/reading -nan, see attached picture.
Has anyone succeeded monitoring an ESXi 5.1 server from cacti, maybe step by step tutorials,
Thanks!!
Regards,
Brian
- Attachments
-
- graph.png (33.71 KiB) Viewed 6118 times
-
- ESXi.png (10.31 KiB) Viewed 6118 times
Re: ESXi 5.1.0 Monitoring
AFAIK you can't do much with SNMP on ESXi.
Usually you perform monitoring via CIM on ESXi, or by the means of vCenter.
I don't know the details but for our Nagios setup I'll have to do the works in the near future.
Usually you perform monitoring via CIM on ESXi, or by the means of vCenter.
I don't know the details but for our Nagios setup I'll have to do the works in the near future.
Re: ESXi 5.1.0 Monitoring
Times have changed.
ESXi 5.1 has a complete SNMPv1/v2c/v3 agent.
There is an ESX Shell 'esxcli'[1] comand to configure the agent (replaces the vicfg-snmp cmd) described here:
http://blogs.vmware.com/vsphere/2012/11 ... i-5-1.html
Or power cli: http://communities.vmware.com/thread/432820
VMware is also publishing its mib modules for all products in one place:
http://communities.vmware.com/community ... agementapi
The zip file contains an 'agentcap' mib named VMWARE-AGENTCAP-MIB
that specifies by release what the agent supports. The ESXi SNMP agent can also be polled
to ask it what MIB modules it implements:
$snmpwalk -v1 -c public localhost:1165 sysORTable
SNMPv2-MIB::sysORDescr.1 = STRING: SNMPv2-MIB, RFC 3418
SNMPv2-MIB::sysORDescr.2 = STRING: IF-MIB, RFC 2863
SNMPv2-MIB::sysORDescr.3 = STRING: IP-MIB RFC 4293
SNMPv2-MIB::sysORDescr.4 = STRING: IP-FORWARD-MIB RFC 4292
SNMPv2-MIB::sysORDescr.5 = STRING: UDP-MIB RFC 4113
SNMPv2-MIB::sysORDescr.6 = STRING: TCP-MIB RFC 4022
SNMPv2-MIB::sysORDescr.7 = STRING: ENTITY-MIB RFC 4133
SNMPv2-MIB::sysORDescr.8 = STRING: IEEE8021-BRIDGE-MIB, REVISION 200810150000Z
SNMPv2-MIB::sysORDescr.9 = STRING: IEEE8021-Q-BRIDGE-MIB, REVISION 200810150000Z
SNMPv2-MIB::sysORDescr.10 = STRING: IEEE8023-LAG-MIB, REVISION 200706200000Z
SNMPv2-MIB::sysORDescr.11 = STRING: LLDP-V2-MIB, REVISION 200906080000Z
SNMPv2-MIB::sysORDescr.12 = STRING: HOST-RESOURCES-MIB, RFC 2790
SNMPv2-MIB::sysORDescr.13 = STRING: VMWARE-SYSTEM-MIB, REVISION 201008020000Z
SNMPv2-MIB::sysORDescr.14 = STRING: VMWARE-VMINFO-MIB, REVISION 201006220000Z
SNMPv2-MIB::sysORDescr.15 = STRING: VMWARE-RESOURCES-MIB, REVISION 200810150000Z
SNMPv2-MIB::sysORDescr.16 = STRING: VMWARE-CIMOM-MIB, REVISION 201008200000Z
SNMPv2-MIB::sysORDescr.17 = STRING: VMWARE-ENV-MIB, REVISION 201005120000Z
Note that this agent provides the latest IETF standards for a complete IPv4 and IPv6 so that
might cause problems for older SNMP mgmt software (RFC 2011 or MIB2/1213).
Lastly here's a useful blog posting describing the networking MIB modules:
http://blogs.vmware.com/vsphere/2013/04 ... art-1.html
[1] ESXCLI command line poster: http://blogs.vmware.com/vsphere/files/2 ... poster.png
ESXi 5.1 has a complete SNMPv1/v2c/v3 agent.
There is an ESX Shell 'esxcli'[1] comand to configure the agent (replaces the vicfg-snmp cmd) described here:
http://blogs.vmware.com/vsphere/2012/11 ... i-5-1.html
Or power cli: http://communities.vmware.com/thread/432820
VMware is also publishing its mib modules for all products in one place:
http://communities.vmware.com/community ... agementapi
The zip file contains an 'agentcap' mib named VMWARE-AGENTCAP-MIB
that specifies by release what the agent supports. The ESXi SNMP agent can also be polled
to ask it what MIB modules it implements:
$snmpwalk -v1 -c public localhost:1165 sysORTable
SNMPv2-MIB::sysORDescr.1 = STRING: SNMPv2-MIB, RFC 3418
SNMPv2-MIB::sysORDescr.2 = STRING: IF-MIB, RFC 2863
SNMPv2-MIB::sysORDescr.3 = STRING: IP-MIB RFC 4293
SNMPv2-MIB::sysORDescr.4 = STRING: IP-FORWARD-MIB RFC 4292
SNMPv2-MIB::sysORDescr.5 = STRING: UDP-MIB RFC 4113
SNMPv2-MIB::sysORDescr.6 = STRING: TCP-MIB RFC 4022
SNMPv2-MIB::sysORDescr.7 = STRING: ENTITY-MIB RFC 4133
SNMPv2-MIB::sysORDescr.8 = STRING: IEEE8021-BRIDGE-MIB, REVISION 200810150000Z
SNMPv2-MIB::sysORDescr.9 = STRING: IEEE8021-Q-BRIDGE-MIB, REVISION 200810150000Z
SNMPv2-MIB::sysORDescr.10 = STRING: IEEE8023-LAG-MIB, REVISION 200706200000Z
SNMPv2-MIB::sysORDescr.11 = STRING: LLDP-V2-MIB, REVISION 200906080000Z
SNMPv2-MIB::sysORDescr.12 = STRING: HOST-RESOURCES-MIB, RFC 2790
SNMPv2-MIB::sysORDescr.13 = STRING: VMWARE-SYSTEM-MIB, REVISION 201008020000Z
SNMPv2-MIB::sysORDescr.14 = STRING: VMWARE-VMINFO-MIB, REVISION 201006220000Z
SNMPv2-MIB::sysORDescr.15 = STRING: VMWARE-RESOURCES-MIB, REVISION 200810150000Z
SNMPv2-MIB::sysORDescr.16 = STRING: VMWARE-CIMOM-MIB, REVISION 201008200000Z
SNMPv2-MIB::sysORDescr.17 = STRING: VMWARE-ENV-MIB, REVISION 201005120000Z
Note that this agent provides the latest IETF standards for a complete IPv4 and IPv6 so that
might cause problems for older SNMP mgmt software (RFC 2011 or MIB2/1213).
Lastly here's a useful blog posting describing the networking MIB modules:
http://blogs.vmware.com/vsphere/2013/04 ... art-1.html
[1] ESXCLI command line poster: http://blogs.vmware.com/vsphere/files/2 ... poster.png
Re: ESXi 5.1.0 Monitoring
Hi,
In my case, I created Input Data Methods, with perl scripts using vSphere SDK for Perl.
And I can retrieve datas for cluster, as host and datastore.
Rgds,
In my case, I created Input Data Methods, with perl scripts using vSphere SDK for Perl.
And I can retrieve datas for cluster, as host and datastore.
Rgds,
Errare humanum est, perseverare diabolicum
-
- Posts: 2
- Joined: Tue May 21, 2013 2:57 pm
Re: ESXi 5.1.0 Monitoring
Is there anyway you can share those perl scripts? I'm trying to get some monitoring going for our 5.1 environment and am at a bit of a loss.DraGun wrote:Hi,
In my case, I created Input Data Methods, with perl scripts using vSphere SDK for Perl.
And I can retrieve datas for cluster, as host and datastore.
Rgds,
Re: ESXi 5.1.0 Monitoring
Someone needs to download the vmware MIBS, find out what fields are present, and then update the existing script(s) or create new ones. http://docs.cacti.net/ contains guides. If you're still unable to figure it out, then hire someone (like me ) who can develop them for you.brianstivala wrote:Can someone tell how to monitor ESXi 5.1 from cacti? I have installed cacti and somehow I have enabled SNMP on ESXi 5.1.
As per attached picture you can see that the ESXi host is UP.
I have downloaded a template to monitor this host however I'm not getting any graphs/reading -nan, see attached picture.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: ESXi 5.1.0 Monitoring
I am running ESXi 5.1 and monitoring most everything with the normal HOST MIB templates without much issue. A few graphs, like Linux Load Average aren't returning anything, but I get the individual CPU Loads.
On another front, I have been playing with a script that logs in and pulls all the VM information from a VCenter host itself. Its loosely based upon a few scripts that I found online, and then fixed to work properly with ESX 5.1 (works from any host, while the perl scripts out there are limited to Windows). I have been working on developing a plugin for it, but haven't updated it much recently. Namely at this point, I am going to add the ability to then add the VM directly to Cacti to monitor. But we can get really fancy from here if we wanted. I can show if CDs are mounted, and what ISO is mounted (to help discover issues with Migrations). We could essentially do anything from here that the VMWare Infrastructure client could do, such as powering on / off VMs, removing snapshots, unmounting ISO, installing VMWare Tools, etc... all just depends on powerful you want it to become.
On another front, I have been playing with a script that logs in and pulls all the VM information from a VCenter host itself. Its loosely based upon a few scripts that I found online, and then fixed to work properly with ESX 5.1 (works from any host, while the perl scripts out there are limited to Windows). I have been working on developing a plugin for it, but haven't updated it much recently. Namely at this point, I am going to add the ability to then add the VM directly to Cacti to monitor. But we can get really fancy from here if we wanted. I can show if CDs are mounted, and what ISO is mounted (to help discover issues with Migrations). We could essentially do anything from here that the VMWare Infrastructure client could do, such as powering on / off VMs, removing snapshots, unmounting ISO, installing VMWare Tools, etc... all just depends on powerful you want it to become.
- Attachments
-
- VCenterPlugin2.png (66.47 KiB) Viewed 5858 times
-
- VCenterPlugin.png (32.58 KiB) Viewed 5858 times
Re: ESXi 5.1.0 Monitoring
I'm using ESXi 5.0 now,Thanks all for the useful information.
Re: ESXi 5.1.0 Monitoring
When you are ready to plug vcenteresxi5.1 for cacti? Thank you.cigamit wrote:I am running ESXi 5.1 and monitoring most everything with the normal HOST MIB templates without much issue. A few graphs, like Linux Load Average aren't returning anything, but I get the individual CPU Loads.
On another front, I have been playing with a script that logs in and pulls all the VM information from a VCenter host itself. Its loosely based upon a few scripts that I found online, and then fixed to work properly with ESX 5.1 (works from any host, while the perl scripts out there are limited to Windows). I have been working on developing a plugin for it, but haven't updated it much recently. Namely at this point, I am going to add the ability to then add the VM directly to Cacti to monitor. But we can get really fancy from here if we wanted. I can show if CDs are mounted, and what ISO is mounted (to help discover issues with Migrations). We could essentially do anything from here that the VMWare Infrastructure client could do, such as powering on / off VMs, removing snapshots, unmounting ISO, installing VMWare Tools, etc... all just depends on powerful you want it to become.
Who is online
Users browsing this forum: No registered users and 1 guest