Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Jul 22, 2017 3:56 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 9 posts ] 
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: 27
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.6
Spine 1.1.6
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

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 40
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 1373 times ]
File comment: The graphs I have connected directly through the VMWare server.
HyperActive.png
HyperActive.png [ 105.87 KiB | Viewed 1374 times ]
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: 27
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.6
Spine 1.1.6
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

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 40
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


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: 27
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.6
Spine 1.1.6
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: 27
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.6
Spine 1.1.6
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

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 40
Glad I could.


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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 7 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