Page 2 of 4

Re: Installing VMWARE sdk

Posted: Wed Jun 16, 2021 1:10 pm
by sneha.irali
When I execute this command it never returns any value:

./check_vmware_api.pl -H 10.61.5.243 -u nagios -p 'Admin' -l cpu -s usage -w 80 -c 90

Re: Installing VMWARE sdk

Posted: Wed Jun 16, 2021 3:07 pm
by gsmith
Hi,

Does the command just hang?
Or does it return you to the command prompt?

Thanks

Re: Installing VMWARE sdk

Posted: Thu Jun 17, 2021 1:37 am
by sneha.irali
it just hangs..!!!
I dont see anything returning..

Re: Installing VMWARE sdk

Posted: Thu Jun 17, 2021 2:07 pm
by gsmith
Hi

Looks like you had the wrong ip (10.61.5.243) when you last ran this command.
Please try:

Code: Select all

./check_vmware_api.pl -H 10.61.50.243 -u nagios -p 'Admin' -l cpu -s usage -w 80 -c 90
Thanks

Re: Installing VMWARE sdk

Posted: Fri Jun 18, 2021 5:38 am
by sneha.irali
I did check with the ryt ip, i altered it when i posted.

however the issue is still the same.

additionally, i checked on the esxi host and found that the memory utilisation on the host is max consumed, would that be causing the nagios command go unresponsive.

Re: Installing VMWARE sdk

Posted: Fri Jun 18, 2021 9:42 am
by gsmith
Good catch.

Yes if the memory is maxed out then the command would probably stall.

I am curious though - when you kill the command does the memory drop down ?

Thanks

Re: Installing VMWARE sdk

Posted: Mon Jun 21, 2021 2:42 am
by sneha.irali
The memory utilization is not because we make a Nagios call, rather due to the other process running on it locally.

I have asked team to clear out the memory so that I can re-initiate the test from Nagios. I will keep you posted.

Re: Installing VMWARE sdk

Posted: Mon Jun 21, 2021 9:16 am
by gsmith
Hi

Great thanks for letting me know.

Thanks

Re: Installing VMWARE sdk

Posted: Wed Jul 14, 2021 7:22 am
by sneha.irali
Hi,

I did have a check today, the host was consuming 80% mem n 6% cpu, however when i do run check command i dont see the results and its just blank as how i had shared a snap earlier.

I think the problem is something else.

Re: Installing VMWARE sdk

Posted: Wed Jul 14, 2021 7:49 am
by sneha.irali
Attaching the utilization snap from host.