Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun May 26, 2019 2:17 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti 1.x
PostPosted: Thu Mar 30, 2017 11:24 am 
Offline
User avatar

Joined: Thu Mar 16, 2017 8:43 am
Posts: 32
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. 8)

_________________
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


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Fri Mar 31, 2017 10:58 am 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
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:
File comment: Detail of the ESX graph
HyperActive2.png
HyperActive2.png [ 16.75 KiB | Viewed 6121 times ]
File comment: The graphs I have connected directly through the VMWare server.
HyperActive.png
HyperActive.png [ 105.87 KiB | Viewed 6122 times ]

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4
Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Sat Apr 01, 2017 8:31 pm 
Offline
User avatar

Joined: Thu Mar 16, 2017 8:43 am
Posts: 32
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


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Sun Apr 02, 2017 7:32 am 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
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:
ESXi 5.x template - no perl SDK, pure snmp
long691216 @ MultiCPU avg load

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Tue Apr 04, 2017 12:25 pm 
Offline
User avatar

Joined: Thu Mar 16, 2017 8:43 am
Posts: 32
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=12&t=52122&hilit=vmware
http://forums.cacti.net/viewtopic.php?f=12&t=52884&p=256881&hilit=multicpu#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


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Tue Apr 04, 2017 2:44 pm 
Offline
User avatar

Joined: Thu Mar 16, 2017 8:43 am
Posts: 32
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


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Wed Apr 05, 2017 9:18 am 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
Glad I could.

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Tue Apr 25, 2017 2:27 am 
Offline

Joined: Mon May 23, 2016 9:23 pm
Posts: 3
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=12&t=52122&hilit=vmware
http://forums.cacti.net/viewtopic.php?f=12&t=52884&p=256881&hilit=multicpu#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


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Wed Apr 26, 2017 7:37 am 
Offline

Joined: Mon May 23, 2016 9:23 pm
Posts: 3
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=12&t=52122&hilit=vmware
http://forums.cacti.net/viewtopic.php?f=12&t=52884&p=256881&hilit=multicpu#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!


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Mon Apr 16, 2018 10:02 am 
Offline

Joined: Mon Sep 28, 2015 1:07 pm
Posts: 16
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!

_________________
CactiEZ v0.7 running Cacti 0.8.8a


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Mon Apr 16, 2018 12:25 pm 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
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:
ESXi 5.x template - no perl SDK, pure snmp
long691216 @ MultiCPU avg load




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!

I just entered the VMWare console, found which UUID matched which mounted partition and manually changed the label to a more human readable name.

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Mon Apr 16, 2018 12:27 pm 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
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!

My VMWare is version 6.0.0. I have older hardware and cannot upgrade any further.

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Mon Apr 16, 2018 6:49 pm 
Offline

Joined: Mon Sep 28, 2015 1:07 pm
Posts: 16
camerabob wrote:
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!

My VMWare is version 6.0.0. I have older hardware and cannot upgrade any further.



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


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Mon Apr 16, 2018 7:05 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2474
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.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: ESXi 6.0.0 and Vcenter Server 6.0r3 monitoring in Cacti
PostPosted: Mon Apr 16, 2018 9:09 pm 
Offline
Cacti User
User avatar

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 237
Location: Long Island, New York, USA
I installed on a per-host basis. Cacti isn't aware if the host is physical or virtual.

_________________
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.e17
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.45-17.e17.remi
Maint @ 1.2
Monitor @ 2.3.4
Thold @ 1.0.4


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group