| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| What am I doing wrong? check_esx 2.3 http://www.steveshipway.org/forum/viewtopic.php?f=28&t=6956 |
Page 1 of 1 |
| Author: | Pentangle [ Fri Jul 20, 2012 4:25 am ] |
| Post subject: | What am I doing wrong? check_esx 2.3 |
I'm trying to set up the check_esx2 to monitor ESXi CPU Load, ESXi Memory usage, ESXi Network usage and ESXi Runtime status in nagios. I've been doing the services like this: define service{ use generic-service host_name esxi01 service_description ESXi CPU Load check_command check_esx_cpu!80!90 } and the commands like: define command { command_name check_esx_cpu command_line $USER1$/check_esx2 -H $HOSTADDRESS$ -u $USER11$ -p $USER12$ -l CPU -s usage -w $ARG1$ -c $ARG2$ } On my nagios I just get a list of all the hosts with a number in the brackets after, eg VHosts: 10/10 up: ssaas-sbs(304), 2003 Veeam(16) etc. If I try to run the command within the terminal filling in the parameters I get: Unknown option: u then the same VHosts..... I tried dropping the -u but I still get the VHosts. Any idea what I'm doing wrong? Thanks in advanced, Jethro |
|
| Author: | stevesh [ Fri Jul 27, 2012 11:04 am ] |
| Post subject: | Re: What am I doing wrong? check_esx 2.3 |
You should change to using check_vmware instead of check_esx -- the VMWare API has changes and check_esx has been replaced by check_vmware which uses the official API. |
|
| Author: | Gisela9 [ Sat Sep 29, 2012 9:16 am ] |
| Post subject: | Re: What am I doing wrong? check_esx 2.3 |
| Author: | stevesh [ Tue Oct 02, 2012 10:19 am ] |
| Post subject: | Re: What am I doing wrong? check_esx 2.3 |
The VMware API is the new and only supported way to get status information from ESX or virtual centre. You can download the Perl API toolkit from VMware - this is called the vSphere Perl SDK these days, but its the same thing: http://communities.vmware.com/community ... e_sdk_perl You need to install this in order for the check_vmware agent to work. |
|
| Author: | ubik [ Sun Jul 07, 2013 6:13 pm ] |
| Post subject: | Re: What am I doing wrong? check_esx 2.3 |
just replaced check_esx with check_vmware. works like a charm thanks to you steve. _____________________________________ |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|