can't get host to display in Host Detail panel

Jonathan Wiggins jwiggins at salon.com
Tue Sep 21 22:35:59 CEST 2010


I have 3 web servers, and although they at one time all showed up successfully, now one of them does not.

i have verified on the web server in question that nrpe is running and listening on tcp/5666:

netstat -ntlp | grep nrpe
tcp        0      0 0.0.0.0:5666                0.0.0.0:*                   LISTEN      13920/nrpe

/etc/init.d/nrpe status
nrpe (pid 13920) is running...

I've checked the nrpe.cfg on another server that is showing up, and compared b/t the two, and they look identical.

i've got an IPTables rule that allows connections on the web server:

-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 5666 -j ACCEPT

One of the things that doesn't test right though is the check_nrpe command:

 /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load
NRPE: Unable to read output

but tail /var/log/messages gives me something interesting, perhaps?

Sep 21 13:30:08 mywebserver kernel: Removing netfilter NETLINK layer.
Sep 21 13:30:09 mywebserver kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Sep 21 13:30:10 mywebserver kernel: Netfilter messages via NETLINK v0.30.
Sep 21 13:30:10 mywebserver  kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack

On the nagios server, i've checked the mywebserver.cfg file and it looks legit and cross-compared with the two others, it seems identical (except for IP of course):

# Host definition
# Modified 81610

define host{
	use linux-server ; Inherit default values from a template
        host_name mywebserver ; The name we're giving to this server
        alias mywebserver ; A longer name for the server
        address 10.0.100.139 ; IP address of the server
}

define service{
        use generic-service
        host_name                       mywebserver
        service_description             Home Page
        check_command                   check_http!ww2
}

 

Any feedback, suggestions, thoughts, etc.. is much appreciated in advance

JW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100921/fcc8904e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- 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