CHECK_ESX Unkown

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagiosjam
Posts: 81
Joined: Thu Feb 04, 2016 2:47 am

CHECK_ESX Unkown

Post by nagiosjam »

Hello
I have a VMWARE server that takes a few days giving this error when executing the check_esx_net

The rest of checks with check_esx does not fail. I have rebooted the vmware server and it continues giving this error,
please help. Thank you

CHECK_ESX UNKNOWN - plugint time out (timeout 30s)


define service{
use linuxvmware
hostgroup_name vmware
service_description ESXi Network usage
check_command check_esx_net!502400!512000
}

Define command {
Command_name check_esx_net
Command_line $ USER1 $ / check_esx -H $ HOSTADDRESS $ -u nagios -p xxxx -l net -s usage -w $ ARG1 $ -c $ ARG2 $
}
Attachments
1.jpg
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: CHECK_ESX Unkown

Post by mcapra »

Could you share where you got the check_esx plugin from? It probably has a timeout value you can increase up to 60 seconds. That might prevent the false negatives.
Former Nagios employee
https://www.mcapra.com/
nagiosjam
Posts: 81
Joined: Thu Feb 04, 2016 2:47 am

Re: CHECK_ESX Unkown

Post by nagiosjam »

Hello
I increased the timeout from 30 to 40 in the file check_esx and now everything ok, thank you very much
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: CHECK_ESX Unkown

Post by cdienger »

Is it okay to close this thread or did you have any further questions?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nagiosjam
Posts: 81
Joined: Thu Feb 04, 2016 2:47 am

Re: CHECK_ESX Unkown

Post by nagiosjam »

good morning
I fail the plugin again.
I increase the timeout to 59 and it continues giving me CHECK_ESX UNKNOWN - plugin timed out (timeout 59s)

If I put timeout 60 instead of UNKOWN I get critical and this error (Service check timed out after 60.01 seconds)
Please help
Thank you
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: CHECK_ESX Unkown

Post by mcapra »

check_esx is just a really heavy plugin. If you've added checks to your Nagios Core machine recently, you may need to increase the available physical resources. Have you either added checks to this machine recently or adjusted it's available physical resources?
Former Nagios employee
https://www.mcapra.com/
nagiosjam
Posts: 81
Joined: Thu Feb 04, 2016 2:47 am

Re: CHECK_ESX Unkown

Post by nagiosjam »

Hello
No, nothing has been added or nothing has been adjusted.
It's just the way it was before it failed.
I am using check_esx with other servers and they do not give me problems
Thank you
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: CHECK_ESX Unkown

Post by mcapra »

Can you send us copies of your nagios logs for the last few days? They're typically found in /usr/local/nagios/var/archives or whatever path is set under log_archive_path in your nagios.cfg.

Can we also see some sample Service definitions leveraging check_esx?
Former Nagios employee
https://www.mcapra.com/
nagiosjam
Posts: 81
Joined: Thu Feb 04, 2016 2:47 am

Re: CHECK_ESX Unkown

Post by nagiosjam »

Again, ok again and work, thank you, hopefully it will not fail again. You can close the thread
Locked