ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti 1.x
Moderators: Developers, Moderators
ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti 1.x
Hi I am looking at monitoring my VM's through Cacti 1.x. As the title says I have ESXi 6.0.0 and am deploying (right now) Vcenter Server 6.0r3. We have 3 host and about 30 or so guest. What I would like to know is what templates/scripts are others using to monitor simalar setups. And yes i have used the search function and nothing match exactly what I have so I am just asking what others have.
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
How in depth do you want to monitor from Cacti? I just used a template I found online for the number of up/down hosts, number with the VMWare client up/down. To monitor the hosts, I placed the correct SNMP settings on the hosts and monitored them directly.
- Attachments
-
- Detail of the ESX graph
- HyperActive2.png (16.75 KiB) Viewed 12163 times
-
- The graphs I have connected directly through the VMWare server.
- HyperActive.png (105.87 KiB) Viewed 12164 times
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
Thanks for replying.. Right now I am monitoring the individual guest through Cacti. I would like monitor the host like you have (up/dwn CPU, RAM, and possible Network traffic) what templates/scripts you used? Are you using vCenter Server? I installed SNMP on vCenter and I tried to put it in cacti with no success yet. I did not spend a lot of time on it as other priorities took over. How did you setup the host for SNMP? I installed the vSphere CLI tool and windows 7 on my workstation keeps trying to open the pl files in note pad. I know I can fix it with time but if you had some tips I would appreciate it.
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
Google was my good friend on most of my inquiries. To set up SNMP on the host (not VCenter), use the below from the command line:
esxcli system snmp set -r
esxcli system snmp set -c <community string>
esxcli system snmp set -p 161
esxcli system snmp set -L "<location>"
esxcli system snmp set -C "<contact name>"
esxcli system snmp set -e yes
exit
Items in brackets <> should be replaced with your information.
SNMP v1 & v2
VMware templates:
http://forums.cacti.net/viewtopic.php?f ... lit=vmware
http://forums.cacti.net/viewtopic.php?f ... pu#p256881
esxcli system snmp set -r
esxcli system snmp set -c <community string>
esxcli system snmp set -p 161
esxcli system snmp set -L "<location>"
esxcli system snmp set -C "<contact name>"
esxcli system snmp set -e yes
exit
Items in brackets <> should be replaced with your information.
SNMP v1 & v2
VMware templates:
http://forums.cacti.net/viewtopic.php?f ... lit=vmware
http://forums.cacti.net/viewtopic.php?f ... pu#p256881
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
Appreciate the help.. I was looking at them scripts as well. I ssh'd into the host and did them commands and I am still getting snmp errors on cacti. I am still working on it. On and off in-between other projects.
camerabob wrote:Google was my good friend on most of my inquiries. To set up SNMP on the host (not VCenter), use the below from the command line:
esxcli system snmp set -r
esxcli system snmp set -c <community string>
esxcli system snmp set -p 161
esxcli system snmp set -L "<location>"
esxcli system snmp set -C "<contact name>"
esxcli system snmp set -e yes
exit
Items in brackets <> should be replaced with your information.
SNMP v1 & v2
VMware templates:
http://forums.cacti.net/viewtopic.php?f ... lit=vmware
http://forums.cacti.net/viewtopic.php?f ... pu#p256881
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
Update... I got it working on 2 of my 3 host.. one needs to be reset.. it is also the busiest I got.. so that might not happen for awhile.. thanks for all the help.
Ubuntu 16.04.2 LTS
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
Cacti 1.1.17
Spine 1.1.17
RRDtool 1.5.5
PHP 7.0.18
mysql 14.14 (5.7.19)
Cycle 4.0
Monitor 2.1
Gexport 1.0
Thold 1.02
PHP Weathermap 0.98a
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
Glad I could.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
camerabob wrote:Google was my good friend on most of my inquiries. To set up SNMP on the host (not VCenter), use the below from the command line:
esxcli system snmp set -r
esxcli system snmp set -c <community string>
esxcli system snmp set -p 161
esxcli system snmp set -L "<location>"
esxcli system snmp set -C "<contact name>"
esxcli system snmp set -e yes
exit
Items in brackets <> should be replaced with your information.
SNMP v1 & v2
VMware templates:
http://forums.cacti.net/viewtopic.php?f ... lit=vmware
http://forums.cacti.net/viewtopic.php?f ... pu#p256881
i use follow template http://docs.cacti.net/usertemplate:host:esxi
get the storage status with Get Mounted Partitions,
the storage name can display like /volume/uuid, not volume name ,
how can i fix it to show the volume name
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
camerabob wrote:Google was my good friend on most of my inquiries. To set up SNMP on the host (not VCenter), use the below from the command line:
esxcli system snmp set -r
esxcli system snmp set -c <community string>
esxcli system snmp set -p 161
esxcli system snmp set -L "<location>"
esxcli system snmp set -C "<contact name>"
esxcli system snmp set -e yes
exit
Items in brackets <> should be replaced with your information.
SNMP v1 & v2
VMware templates:
http://forums.cacti.net/viewtopic.php?f ... lit=vmware
http://forums.cacti.net/viewtopic.php?f ... pu#p256881
very useful ,
is there any templates to use monitor disk usage, i use "SNMP - Get Mounted Partitions" , but it can only display data like this
[hostname] - Used Space - /vmfs/volumes/uuid---
is there any templates for display volume name ?
thanks so much!
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
Can someone tell me if the ESXi host graph works with vCenter appliance 6.5.0?
I've implemented this and all I see is 0 for everything for that graph.
Would appreciate some help.
Other things work, CPU, users, processes, users, used space, etc.. just nothing on the ESXi vHosts graph...
running Version 0.8.8a btw (just updated my sig)
Thanks!
I've implemented this and all I see is 0 for everything for that graph.
Would appreciate some help.
Other things work, CPU, users, processes, users, used space, etc.. just nothing on the ESXi vHosts graph...
running Version 0.8.8a btw (just updated my sig)
Thanks!
CactiEZ v0.7 running Cacti 0.8.8a
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
I just entered the VMWare console, found which UUID matched which mounted partition and manually changed the label to a more human readable name.jerry1122 wrote:camerabob wrote:Google was my good friend on most of my inquiries. To set up SNMP on the host (not VCenter), use the below from the command line:
esxcli system snmp set -r
esxcli system snmp set -c <community string>
esxcli system snmp set -p 161
esxcli system snmp set -L "<location>"
esxcli system snmp set -C "<contact name>"
esxcli system snmp set -e yes
exit
Items in brackets <> should be replaced with your information.
SNMP v1 & v2
VMware templates:
http://forums.cacti.net/viewtopic.php?f ... lit=vmware
http://forums.cacti.net/viewtopic.php?f ... pu#p256881
very useful ,
is there any templates to use monitor disk usage, i use "SNMP - Get Mounted Partitions" , but it can only display data like this
[hostname] - Used Space - /vmfs/volumes/uuid---
is there any templates for display volume name ?
thanks so much!
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
My VMWare is version 6.0.0. I have older hardware and cannot upgrade any further.vodka wrote:Can someone tell me if the ESXi host graph works with vCenter appliance 6.5.0?
I've implemented this and all I see is 0 for everything for that graph.
Would appreciate some help.
Other things work, CPU, users, processes, users, used space, etc.. just nothing on the ESXi vHosts graph...
running Version 0.8.8a btw (just updated my sig)
Thanks!
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
camerabob wrote:My VMWare is version 6.0.0. I have older hardware and cannot upgrade any further.vodka wrote:Can someone tell me if the ESXi host graph works with vCenter appliance 6.5.0?
I've implemented this and all I see is 0 for everything for that graph.
Would appreciate some help.
Other things work, CPU, users, processes, users, used space, etc.. just nothing on the ESXi vHosts graph...
running Version 0.8.8a btw (just updated my sig)
Thanks!
No worries, just to be clear: For the graph ESXi Hosts, do I need to use it on the physical hosts, or on my vCenter Appliance? I'm thinking that it's the latter and this is why I'm not getting any results by polling the vCenter Appliance.
CactiEZ v0.7 running Cacti 0.8.8a
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
I always thought that as long as you didn't have a free license, SNMP would work from the hosts. I don't recall you polling the vCenter directly.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
I installed on a per-host basis. Cacti isn't aware if the host is physical or virtual.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Who is online
Users browsing this forum: No registered users and 2 guests