Page 1 of 2
CRITICAL - Plugin timed out after 10 seconds
Posted: Tue Sep 15, 2015 6:05 pm
by jyoti22
I have configured vMA and vCenter as per doc "box293_check_vmware manual"
I have added few hosts also in monitoring successfully. However when doing it after some time I got below error
Code: Select all
[nagios@NagiosXI libexec]$ /usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H 10.xx.xx.xx -C "~/box293_check_vmware.pl --server xx.xx.xx.xx --check vCenter_Name_Version"
CRITICAL - Plugin timed out after 10 seconds
[nagios@NagiosXI libexec]$
I did not made any changes still this error occurred. Please help me to resolve it
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Tue Sep 15, 2015 7:12 pm
by Box293
Hey that looks like something that belongs to me
How many CPU's and how much memory does your vMA have?
Please refer to page 6 and 72 of the manual.
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Wed Sep 16, 2015 12:41 pm
by jyoti22
vMA was built with default values as
600 MB memory and 1 CPU
I guess this is the reason of error. Please let me know what can be memory and CPU configuration needed if I add more than 70 ESXi hosts on vMA
Thanks.
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Wed Sep 16, 2015 3:17 pm
by tgriep
In the manual, this is what is recommended for the CPU and memory requirements.
I recommended the vMA has 2 CPUs and 2GB Memory at a minimum.
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Wed Sep 16, 2015 4:51 pm
by Box293
I would suggest 4-8 CPUs and at least 8GB RAM.
Page 72 of the manual shows how to check how much memory is being used.
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Fri Sep 18, 2015 5:28 pm
by jyoti22
Thanks a lot!. After adding CPU and memory, ESXi working fine Now.
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Mon Sep 21, 2015 9:06 am
by hsmith
Hi jyoti22,
Are we all right to close this one up and mark it resolved?
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Mon Sep 21, 2015 11:57 am
by jyoti22
Yes. It can be closed. before that I have one question on ESXi. I have few servers which are not part of vCenter. Please advice how can I add those ESXi servers in Nagios.
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Mon Sep 21, 2015 4:27 pm
by tgriep
If you can't add those server to your existing vCenter server, you can use the standard VMWare wizard as long as you know the username and password for them.
Re: CRITICAL - Plugin timed out after 10 seconds
Posted: Mon Sep 21, 2015 4:37 pm
by Box293
The box293_check_vmware plugin works directly against ESXi servers as well. Just put the ESXi host address in the --server argument.
This is explained in the manual.