Monitor Vmware ESX
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Sun Apr 01, 2007 4:18 am
Same problem here, anybody with a solution??zeki wrote:i'm trying to get the network traffic on the VMs and i'm getting bogus data.
like 200G 100G. I set the maximum for Data Source Item Fields [traffic_in]
and traffic_out to 100000000 during the creation of the rra, yet i'm still getting this bogus data.
Any ideas what is going on?
ds[traffic_in].max = 1.0000000000e+08
ds[traffic_out].max = 1.0000000000e+08
Thnx in advanced.
-
- Posts: 1
- Joined: Thu Oct 30, 2008 3:49 pm
-
- Posts: 13
- Joined: Thu Nov 22, 2007 5:05 am
Create Cacti or op5 Statistics graphs with op5 ESX3 plugin
Hi
I have created a howto to graph Vmware ESX IO by using a nagios plugin developed by op5.
Take a look at http://www.it-slav.net/blogs/?p=262
Regards
Peter Andersson
peter@it-slav.net
I have created a howto to graph Vmware ESX IO by using a nagios plugin developed by op5.
Take a look at http://www.it-slav.net/blogs/?p=262
Regards
Peter Andersson
peter@it-slav.net
Ouups it is a typo in my description try:
./esxiograph.sh io_vm vmware-stockholm demo.op5.com <user> <password>
If you run the command without any parameters:
[root@demo custom]# ./esxiograph.sh
Usage: esxiograph.sh <Command> <VS Host> <VM Name> <Username> <Password>
Command can be any of either: io_vm, io_vs
When using a *_vs command you cannot specify a VM Name
so you can se the syntax
I will update my instructions
Thanks and it makes me happy to see that somebody actually uses my stuff
Check it out at http://www.it-slav.net/blogs/?p=262
/peter@it-slav.net
./esxiograph.sh io_vm vmware-stockholm demo.op5.com <user> <password>
If you run the command without any parameters:
[root@demo custom]# ./esxiograph.sh
Usage: esxiograph.sh <Command> <VS Host> <VM Name> <Username> <Password>
Command can be any of either: io_vm, io_vs
When using a *_vs command you cannot specify a VM Name
so you can se the syntax
I will update my instructions
Thanks and it makes me happy to see that somebody actually uses my stuff
Check it out at http://www.it-slav.net/blogs/?p=262
/peter@it-slav.net
disk and nics pb
Hello,
I have imported the templates successfully.
I can generate graphs for CPU and memory ==> OK
But I have problems with disk and net graphs.
Ex for disk at import :
Cacti has imported the following items:
GPRINT Preset
[success] Normal [update]
Data Input Method
[success] Get Script Server Data (Indexed) [update]
Data Template
[success] VMware ESX - VM disk read/write operations [new]
[success] VMware ESX - VM disk read/write (kB) [new]
Graph Template
[success] VMware ESX - VM disk read/write operations [new]
[success] VMware ESX - VM disk read/write (kB) [new]
Data Query
[success] VMware ESX - Get VM disk statistics [new]
And I obtain :
I have imported the templates successfully.
I can generate graphs for CPU and memory ==> OK
But I have problems with disk and net graphs.
Ex for disk at import :
Cacti has imported the following items:
GPRINT Preset
[success] Normal [update]
Data Input Method
[success] Get Script Server Data (Indexed) [update]
Data Template
[success] VMware ESX - VM disk read/write operations [new]
[success] VMware ESX - VM disk read/write (kB) [new]
Graph Template
[success] VMware ESX - VM disk read/write operations [new]
[success] VMware ESX - VM disk read/write (kB) [new]
Data Query
[success] VMware ESX - Get VM disk statistics [new]
And I obtain :
- Attachments
-
- 1.JPG (22.81 KiB) Viewed 18953 times
its working great ill try this and let you know, the script is great keep up the good workscpetand wrote:Ouups it is a typo in my description try:
./esxiograph.sh io_vm vmware-stockholm demo.op5.com <user> <password>
If you run the command without any parameters:
[root@demo custom]# ./esxiograph.sh
Usage: esxiograph.sh <Command> <VS Host> <VM Name> <Username> <Password>
Command can be any of either: io_vm, io_vs
When using a *_vs command you cannot specify a VM Name
so you can se the syntax
I will update my instructions
Thanks and it makes me happy to see that somebody actually uses my stuff
Check it out at http://www.it-slav.net/blogs/?p=262
/peter@it-slav.net
Okay im still getting an issue just with io_vm so I understand it the synatx should be check_esx3.pl <Virtual Machine Host> <Virtual machine> <Username> <Password>
with this i still get
usage:Unknown read: write:
any ideas? im using the virtual machine name is identified in VIC and from the list generate from
check_esx3.pl -H -u xxxxx -p yyyyyy
-l runtime -s list
im kinda stuck now
Last edited by aceg3905 on Thu Dec 04, 2008 7:06 am, edited 1 time in total.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Hi,
For ESX 3.5 you need to check the following:
in /etc/hosts there must be (!) an entry for localhost:
Here's my snmpd.conf file:
to start the snmp dameon
After that, cacti is able to get the snmp data.
For ESX 3.5 you need to check the following:
in /etc/hosts there must be (!) an entry for localhost:
Code: Select all
127.0.0.1 localhost
Here's my snmpd.conf file:
Code: Select all
###########################################################################
#
# snmpd.conf
#
# - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Access Control Setup
#
# This section defines who is allowed to talk to your running
# snmp agent.
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
# arguments: community [default|hostname|network/bits] [oid]
rocommunity public
###########################################################################
# SECTION: Extending the Agent
#
# You can extend the snmp agent to have it return information
# that you yourself define.
# dlmod: dynamically extend the agent using a shared-object
# arguments: module-name module-path
dlmod SNMPESX /usr/lib/vmware/snmp/libSNMPESX.so
dlmod cmaX /usr/lib/libcmaX.so.1
#
# Unknown directives read in from other files by snmpconf
#
smuxpeer .1.3.6.1.4.1.674.10892.1
smuxpeer .1.3.6.1.4.1.6876.1
Code: Select all
# to enable snmpd thorugh the firewall
esxcfg-firewall -e snmpd
# to start snmpd
service snmpd restart
# to start snmpd automatically after reboot
chkconfig snmpd on
After that, cacti is able to get the snmp data.
Who is online
Users browsing this forum: No registered users and 0 guests