Cached results - No route to host

Frost, Mark {BIS} mark.frost1 at pepsico.com
Wed Oct 17 14:45:59 CEST 2012


Ollie,

In situations like these, I tend to go look up the actual command that Nagios is running (Configuration -> Services, say) and then run the command directly from a prompt on the Nagios server and try to debug that way.   While I can't see how all the services on this particular host are running, it's generally a good sign that the other checks are running OK.

What about the possibility of some DNS issue?   Like this host you're checking somehow has 2 IP addresses only one of which is accessible from the Nagios server?    That would be a situation that could be fairly easy to verify when running the command directly from the command prompt and possibly substitution IP addresses.

I'm not aware of ever having seen an issue where something is cached within Nagios and is causing a problem, but we've definitely seen situations where OS issues like DNS, caching with nscd or even local /etc/hosts file entries have caused unexpected results.

Mark

From: Ollie Campbell [mailto:Ollie.Campbell at bbh.co.uk]
Sent: Wednesday, October 17, 2012 4:31 AM
To: Nagios Users List
Subject: [Nagios-users] Cached results - No route to host

Hello,

We have a Nagios v3.3.1 installation running on Fedora. Yesterday we had a power outage which caused Nagios to forcibly power off. It was back up within a few hours but has not been reporting back correctly.

95% of checks on all hosts are fine, but some checks are complaining about 'no route to host'. If I force a rescheduled check on the services that are complaining everything goes back to being 'OK' once again.

I've tried restarting Nagios, clearing the objects.cache. I can of course do this for all the problematic checks but want to know if there is a quicker way or if this is a bug.

I've attached an example of what I mean.

[cid:image001.png at 01CDAC43.CD116CF0]


This transmission is from BBH Partners LLP, it is confidential and intended solely for the person or organisation to whom it is addressed. This transmission may contain confidential information within its content or any attachment.  You should not copy, use or distribute in any way any of the information contained within this transmission other than in accordance with the prior written permission of an authorised BBH representative.

Partnership Information:
Registered name: BBH Partners LLP
Registered office: 60 Kingly Street London W1B 5DS
Place of registration: England and Wales
Registered number: OC355051

Although all messages/file attachments passing through this gateway are scanned for viruses we cannot guarantee that any file is 100% virus-free.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121017/4c5f6267/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 51514 bytes
Desc: image001.png
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121017/4c5f6267/attachment.png>
-------------- next part --------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list