ESXI service-check-timeout in Nagios

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
murali969
Posts: 22
Joined: Thu Mar 20, 2014 11:01 am

ESXI service-check-timeout in Nagios

Post by murali969 »

Hi All,

I have added ESXI servers in Nagios for monitoring the ALL services like ( cpu usage ,memeory usage) but the services are going to (Service Check Timed Out)

all these services are running ESXI custom scripts
Note :its not SNMP services

====
ESXI01 ESXI_HOST_CPU_USAGE critical SERVICECHECK TIMEDOUT
===

can some help me on this

Thanks
Murali
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: ESXI service-check-timeout in Nagios

Post by eloyd »

Do you have an agent running on the ESXi host? Did you update the firewall on the ESXi host to allow connectivity to the agent? ESXi servers are just like other servers - you need to have something running on the box (an agent) that will give results passively back to Nagios or will accept NRPE requests from Nagios.

So to help you out, we'll need to know what your scripts are, what your commands.cfg file contains related to the checks, and what your services.cfg file has related to the checks. It might also help to see your /usr/local/nagios/var/nagios.log file output (again, related to the checks).
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
murali969
Posts: 22
Joined: Thu Mar 20, 2014 11:01 am

Re: ESXI service-check-timeout in Nagios

Post by murali969 »

Hi

Thanks for your reply,

As we are running custom scripts(check_esx3-0) running resource for ESXI sever and no agent & snmp configured

Esx connectivity is working fine

Please find the below Logs

====
[1410304558] SERVICE ALERT: ESXi01;ESXi_Host_IO_Read;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304558] SERVICE ALERT: ESXi01;ESXi_Host_Runtime_Health;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304558] SERVICE ALERT: ESXi01;ESXi_Host_CPU_Usage;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304558] SERVICE ALERT: ESXi01;ESXi_Host_Runtime_Issues;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304558] SERVICE ALERT: ESXi01;ESXi_Host_Storage_Lun;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304559] SERVICE ALERT: ESXi03;ESXi_Host_Runtime_Health;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304559] SERVICE ALERT: ESXi05;ESXi_Host_Runtime_Health;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304559] SERVICE ALERT: ESXi06;ESXi_Host_IO_Write;CRITICAL;SOFT;1;(Service Check Timed Out)
[1410304559] SERVICE ALERT: ESXi01;ESXi_Host_IO_Services;CRITICAL;SOFT;1;(Service Check Timed Out)
====


Thanks
Murali Muppa
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: ESXI service-check-timeout in Nagios

Post by eloyd »

I am not familiar with this script specifically, but you need an agent running on the ESXi box or something that is listening to be able to respond to the Nagios request for status information. In addition, ESXi runs a firewall service (look in the Configuration section) that you will also need to update to allow access to your ESXi host from your Nagios server.

It looks like one or both of these is not set up.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
murali969
Posts: 22
Joined: Thu Mar 20, 2014 11:01 am

Re: ESXI service-check-timeout in Nagios

Post by murali969 »

Hi

Thanks for your response

We are not installing agents and we are using the check_esx3

These custom scripts monitoring ESX server resources

The firewall is allowed to all on ESXI server

Thanks
Murali Muppa
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: ESXI service-check-timeout in Nagios

Post by eloyd »

You would need to look at your Nagios log to see if there are any specific error messages for this service, but a service check timeout means, basically, the service check did not receive a response in the time allowed.

If you run the command manually from the command line on your Nagios server as the nagios user, does it work?

Can you share with us what the specific command is that you're using?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: ESXI service-check-timeout in Nagios

Post by slansing »

Yeah if can provide output of manually running the commands from your SSH session that would be great. Looks like the nagios logs are not offering anything particularly useful, but that is due to the plugin itself. Where did you download this from?
Locked