Page 1 of 1

Active Checks DISABLED host remains in "DOWN" status

Posted: Wed Feb 23, 2011 12:29 am
by ffjia
Some of our linux servers are behind firewalls, so we use NSCA to send the
passive service (only service checks, not host checks) infos to Nagios server.
All of the clinets work well, except one (let's call it "foo", for now). After
I started the Nagios daemon, foo unexpectedly changed to "DOWN" status.

Code: Select all

CURRENT HOST STATE: foo;DOWN;SOFT;1;(Host Check Timed Out)
Everythings fine on foo, our monitoring script send data back every 10min, the
host is up for more 1000 days... If I understand correctly, this means that
check-host-alive runs to check foo, and (of course) return Time Out.

Other hosts which use the same configuration, is in the "PENDING" status
forever. I think foo should be in "PENDING" status, too, right?

I tried to submit passive check result for foo:

Code: Select all

PROCESS_HOST_CHECK_RESULT;foo;0;Up! Up! Up!|
But nothing changed :(

Related infos:

Code: Select all

CentOS 4.8

Nagios 3.2.3
Nagios Plugins 1.4.15
NRPE 2.12
NSCA 2.7.2

define host{
        use                     linux-server
        host_name               foo
        address                 203.192.xx.xx
        checks_enabled          0
        }

"linux-server" is the default template of Nagios

Active Checks: DISABLED
Passive Checks: ENABLED
Obsessing: ENABLED
Notifications: ENABLED
Event Handler: ENABLED
Flap Detection: ENABLED
============================================================

Other "good" hosts configuration, like bar:

Code: Select all

define host{
        use                     linux-server
        host_name               bar
        address                 211.147.xx.xx
        checks_enabled          0
        }
============================================================

I want to know:
1. what's the cause of this issue?
2. how can I solve this problem elegantly, so that foo can be changed to
"PENDING" status?

Thanks in advance.