Monitor Vmware ESX
Moderators: Developers, Moderators
Re: Monitor Vmware ESX
hello all,
the guide is very good, everything went well except that when testing the script, they indicate that connect ok, but I did not give details, check firewall and all is well .. the problem is that it displays data, look:
CHECK_ESX3.PL OK - "machine" net Receive = 0.00 KB / s, send = 0.00 KB / s | = 0.00KB net_receive;; net_send = 0.00KB;;
. / machine my_ip net_vm esxiograph.sh user "password"
read: 0 write: 0
My cacti version is 0.8.7d
vCenter version: 4.1.0
Any ideas on who may be going on ...
if anyone can help I would appreciate
the guide is very good, everything went well except that when testing the script, they indicate that connect ok, but I did not give details, check firewall and all is well .. the problem is that it displays data, look:
CHECK_ESX3.PL OK - "machine" net Receive = 0.00 KB / s, send = 0.00 KB / s | = 0.00KB net_receive;; net_send = 0.00KB;;
. / machine my_ip net_vm esxiograph.sh user "password"
read: 0 write: 0
My cacti version is 0.8.7d
vCenter version: 4.1.0
Any ideas on who may be going on ...
if anyone can help I would appreciate
Re: Monitor Vmware ESX
Has anyone got this working for ESX5 yet?
Cacti Version 0.8.7e
Cacti OS win32
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.2.x
PHP Version 5.2.9
Cacti OS win32
SNMP Version NET-SNMP version: 5.4.2.1
RRDTool Version RRDTool 1.2.x
PHP Version 5.2.9
Re: Monitor Vmware ESX
i have ESX 5X505 wrote:Mine isnoshybabs wrote:Has anyone got this working for ESX5 yet?
http://www.hypervisor.fr/?p=3361
and i have empty graphs..
i don,t know, why.
Re: Monitor Vmware ESX
I am also having trouble with getting zeroes back in the response:
CHECK_ESX3.PL OK - "XXX" net receive=0.00 KB/s, send=0.00 KB/s | net_receive=0.00KB;; net_send=0.00KB;;
The really strange thing is this works for some VMs, but not others. I have set up nine VMs using the same method, and 3 of the 9 aren't returning results at all. All numbers are 0.00 (as opposed to -nan). Some of these VMs are even on the same ESX host, yet one works and the other doesn't. Is there any explanation for that? Any help would be appreciated. Thanks. This is Cacti 0.8.7g, vSphere 4.1. I don't see any version for check_esx3.pl.
CHECK_ESX3.PL OK - "XXX" net receive=0.00 KB/s, send=0.00 KB/s | net_receive=0.00KB;; net_send=0.00KB;;
The really strange thing is this works for some VMs, but not others. I have set up nine VMs using the same method, and 3 of the 9 aren't returning results at all. All numbers are 0.00 (as opposed to -nan). Some of these VMs are even on the same ESX host, yet one works and the other doesn't. Is there any explanation for that? Any help would be appreciated. Thanks. This is Cacti 0.8.7g, vSphere 4.1. I don't see any version for check_esx3.pl.
Re: Monitor Vmware ESX
Hello,X505 wrote:Mine isnoshybabs wrote:Has anyone got this working for ESX5 yet?
http://www.hypervisor.fr/?p=3361
i followed your instructions and finally with a bit of fiddling i got this to work on the Cluster via vSphere Client/Host. It also gets me some data on the single ESXi Hosts... except for the VMFS Usage i get 100% only...
I just thougt it would be nice to be able to see how many VM's are on each single ESXi Host... instead of just the total on the Cluster.
I wonder how the CPU and Network counts are calculated. I've got a 2 CPU, 4 Core, 2 network Interfaces each for the VM's, the ESXi Host and for the vSPhere Client Network...
Just to show how it looks... but still, the unsolved issue with the VMFS. I did not find out how to show the 8 individuall arrays which are attached to the ESXi system.
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011
Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860
Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011
Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860
Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860
-
- Posts: 2
- Joined: Mon Dec 05, 2011 5:14 am
Re: Monitor Vmware ESX
Hi,
i also wanted to monitor my esxi 5 host with cacti with the scripts from http://www.hypervisor.fr/?p=3361.
My problem is that all graphs shows "0" or "100%" full on the datastore. This seems to be the values if the scripts doesn´t work correctly.
When I try to run one of these scripts directly on the server I get something like this:
I have a Ubuntu 11.10 64Bit and installed (I think) the vmware SDK for perl. What goes wrong here? Any ideas?
i also wanted to monitor my esxi 5 host with cacti with the scripts from http://www.hypervisor.fr/?p=3361.
My problem is that all graphs shows "0" or "100%" full on the datastore. This seems to be the values if the scripts doesn´t work correctly.
When I try to run one of these scripts directly on the server I get something like this:
Code: Select all
root@monitoring:/usr/share/cacti/site/scripts# ./vi_host_cpu.pl
Can't locate VMware/VIRuntime.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/share/cacti/site/scripts/check_vmware.pl line 39.
BEGIN failed--compilation aborted at /usr/share/cacti/site/scripts/check_vmware.pl line 39.
percent:0.00
Re: Monitor Vmware ESX
Is there anyone try to monitor VMware ESXi?
Hope someone can guide me ~
Thanks.
Hope someone can guide me ~
Thanks.
Re: Monitor Vmware ESX
How is everybody's experience that uses cacti to collect stats from ESX hosts? Any pointers would be really appreciated?
Re: Monitor Vmware ESX
Has anyone seen problems with the results from this routine? I have it installed and apparently working, but the totals and 95th percentile do not seem accurate. The graphs are claiming terabytes worth of data being transferred in one month, which is not possible, I have 95th percentile readings that are higher than the max value which is also not possible. Can anyone offer any insight here? If I can provide more helpful info, let me know. Thanks.
The total in is: Total In: |sum:auto:current:2:auto|
The total out is: Total Out: |sum:auto:current:2:auto|
95th percentile is: (|95:bits:6:max:2| mbit in+out)
The total in is: Total In: |sum:auto:current:2:auto|
The total out is: Total Out: |sum:auto:current:2:auto|
95th percentile is: (|95:bits:6:max:2| mbit in+out)
Re: Monitor Vmware ESX
HiNICJerry wrote:Has anyone seen problems with the results from this routine? I have it installed and apparently working, but the totals and 95th percentile do not seem accurate. The graphs are claiming terabytes worth of data being transferred in one month, which is not possible, I have 95th percentile readings that are higher than the max value which is also not possible. Can anyone offer any insight here? If I can provide more helpful info, let me know. Thanks.
The total in is: Total In: |sum:auto:current:2:auto|
The total out is: Total Out: |sum:auto:current:2:auto|
95th percentile is: (|95:bits:6:max:2| mbit in+out)
I was wondering if thats with ESX5?
I'm struggling to get info from ESX5. All I want is network info for the VMs.
Can anyone give some guidance?
Thanks
Re: Monitor Vmware ESX
Is anyone still using these scripts/templates? Are there better ones out there?
I swear, these numbers are not right. I tried removing the CDEF functions and the numbers got a little closer, changed the 95th percentile to bytes instead of bits, but the totals are still WAY off. As you can see from the pic below, the Cacti graph is showing much higher results than the vSphere server.
Anybody?
I swear, these numbers are not right. I tried removing the CDEF functions and the numbers got a little closer, changed the 95th percentile to bytes instead of bits, but the totals are still WAY off. As you can see from the pic below, the Cacti graph is showing much higher results than the vSphere server.
Anybody?
Re: Monitor Vmware ESX
Hi,
I don't like to see passwords in 'ps' or logs.
So I wanne mention the option -f /some/file/auth, that check_esx3.pl has.
content of /some/file/auth
username=root
password=iForget
I have include my esxiograph.sh
I don't like to see passwords in 'ps' or logs.
So I wanne mention the option -f /some/file/auth, that check_esx3.pl has.
content of /some/file/auth
username=root
password=iForget
I have include my esxiograph.sh
- Attachments
-
- esxiograph.sh
- esxiograph.sh using auth file
- (4.21 KiB) Downloaded 762 times
Re: Monitor Vmware ESX
please ,what will write. TKS!
- Attachments
-
- 1.jpg (68.82 KiB) Viewed 9975 times
Re: Monitor Vmware ESX
I've been trying to get this to work with my vCenter. Progress is going slow, but steady. I finally dead ended. Here is my situation:
I read though the post a bit and found this:
Code: Select all
root@cacti:/var/data/cacti/scripts# perl check_esx3.pl -H vcenter.domain -N servername -u readonlyservice -p Passw0rdsareforchumps -l NET
Can't locate Nagios/Plugin.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at check_esx3.pl line 31.
BEGIN failed--compilation aborted at check_esx3.pl line 31.
root@cacti:/var/data/cacti/scripts#
I then proceeded to do this but I got a TON of errors. I am not really sure where to go from here. Any suggestions are welcome. Thanks guys!Echinocactus wrote: You have to install the CPAN Plugin:
perl -MCPAN -e 'install Nagios::Plugin'
Who is online
Users browsing this forum: No registered users and 3 guests