host shows down but it is not

Martin Melin mmelin at gmail.com
Wed Oct 14 16:54:10 CEST 2009


The host shows as down because the check_command for the host is CRITICAL.
Given the performance info you pasted, this makes sense, since the
check_command looks like a normal check_ping and you seem to have 80% packet
loss from your Nagios host to 70.62.24.79

If you'd like the host to show as up, set the check_command variable of the
host definition to something that is successful. If you don't care about the
host itself, just the services on the host, maybe you can use something like
check_dummy?

Anyway Mathias Kettner is correct since Nagios will show your host as down
if the host's check_command fails - and you apparently don't have check_mk
as the host's check command.

Regards
Martin Melin

On Wed, Oct 14, 2009 at 1:30 PM, Joe Konecny <jkonecny at rmtohio.com> wrote:

> I configured a host with check_mk and it is monitoring 13 services.
> All of the 13 services are OK.  The host shows as down however and
> I can find no reason for it.  I spoke with Mathias Kettner author
> of check_mk and he claims that it is not check_mk that is the
> problem.  I configured a host in Nagios (without check_mk) and it
> works fine.  I don't understand what is wrong or where to look for
> the problem.  Any tips.
>
>
> *********** Here is the Nagios host...
>
> Host Status:
>   UP
>  (for 0d 0h 1m 5s)
> Status Information:     PING OK - Packet loss = 0%, RTA = 0.41 ms
> Performance Data:
> Current Attempt:        1/10  (HARD state)
> Last Check Time:        10-14-2009 07:22:38
> Check Type:     ACTIVE
> Check Latency / Duration:       0.015 / 4.012 seconds
> Next Scheduled Active Check:    10-14-2009 07:27:46
> Last State Change:      10-14-2009 07:25:23
> Last Notification:      N/A (notification 0)
> Is This Host Flapping?
>   NO
>  (0.00% state change)
> In Scheduled Downtime?
>   NO
> Last Update:    10-14-2009 07:26:26  ( 0d 0h 0m 2s ago)
>
>
> *********** Here is the check_mk host...
>
> Host Status:
>   DOWN
>  (for 0d 5h 2m 10s)
> Status Information:     CRITICAL - 70.62.24.79: rta 0.970ms, lost 80%
> Performance Data:       rta=0.970ms;200.000;500.000;0; pl=80%;40;80;;
> Current Attempt:        1/1  (HARD state)
> Last Check Time:        10-14-2009 07:19:28
> Check Type:     ACTIVE
> Check Latency / Duration:       0.000 / 3.568 seconds
> Next Scheduled Active Check:    10-14-2009 07:20:28
> Last State Change:      10-14-2009 02:17:37
> Last Notification:      N/A (notification 0)
> Is This Host Flapping?
>   NO
>  (0.00% state change)
> In Scheduled Downtime?
>   NO
> Last Update:    10-14-2009 07:19:38  ( 0d 0h 0m 9s ago)
>
>
> *********** Here are the check_mk services...
>
> 70.62.24.79
>
> Perform Extra Host Actions
>
> CPU utilization
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - user:
> 0%, system: 0%, wait: 0%
>
> Check_MK
>
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - Agent
> Version 1.0.38, processed 12 host infos
>
> Disk IO read
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - 0.0MB/s
> (in last 60 secs)
>
> Disk IO write
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - 0.0MB/s
> (in last 60 secs)
>
> Memory used
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - 11.1%
> of RAM (112 MB) used by processes
>
> NIC eth0 counters
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK -
> Receive: 0.00 MB/sec - Send: 0.00 MB/sec
>
> NIC eth0 link
>
> Active checks of the service have been disabled - only passive checks are
> being accepted
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - Link is
> up
>
> NIC eth0 parameter
>
> Active checks of the service have been disabled - only passive checks are
> being accepted
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK -
> 100Mb/s,Full,on
>
> NIC eth1 counters
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK -
> Receive: 0.00 MB/sec - Send: 0.00 MB/sec
>
> NIC eth1 link
>
> Active checks of the service have been disabled - only passive checks are
> being accepted
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - no link
> / NIC unused
>
> NIC eth1 parameter
>
> Active checks of the service have been disabled - only passive checks are
> being accepted
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK -
> 10Mb/s,Half,on
>
> fs_/
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - 11.5%
> used (3.6 of 31.5 GB), (levels at 80.0/90.0%)
>
> fs_/boot
>
> Active checks of the service have been disabled - only passive checks are
> being accepted        Perform Extra Service Actions
>        OK      10-14-2009 07:18:22     0d 21h 9m 45s   1/1     OK - 25.2%
> used (0.0 of 0.1 GB), (levels at 80.0/90.0%)
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091014/bb7b85f8/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-------------- 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