[Nagios-users] HOST - check is not working

2008-05-20 Thread Saulo Silva
Hi All ,

I have a strange situation where my nagios is not recovering after some
server goes to UNREACHABLE state  unless I force a recheck .

That is the state before the Re-schedule the next check of this host

Host Status:  UNREACHABLE
Status Information:CRITICAL - Plugin timed out after 10 seconds Performance
Data:
Current Attempt:1/4 State Type:HARD Last Check Type:ACTIVE Last Check
Time:05-20-2008
10:05:32 Status Data Age: 0d 0h 1m 20s Next Scheduled Active Check:  N/A
Latency:0.000 seconds Check Duration:10.034 seconds Last State
Change:05-17-2008
01:03:56 Current State Duration: 3d 9h 2m 56s
So after the Re-check :

Host Status:  UP
Status Information:PING OK - Packet loss = 0%, RTA = 58.26 ms Performance
Data:
Current Attempt:0/4 State Type:HARD Last Check Type:ACTIVE Last Check
Time:05-20-2008
10:08:24 Status Data Age: 0d 0h 0m 13s Next Scheduled Active Check:  N/A
Latency:5.545 seconds Check Duration:0.077 seconds Last State Change:05-20-2008
10:08:24 Current State Duration: 0d 0h 0m 13s

Any clue ?
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] HOST - check is not working

2008-05-20 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Saulo Silva wrote:

| I have a strange situation where my nagios is not recovering after some
| server goes to UNREACHABLE state  unless I force a recheck .

What service have you assigned to this host? How did you define this host?

Did you read the section about host checks?


Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIMt6TBvzDRVjxmYERAs8iAJkBAlgbOh7Nt5XFxAOip+H6NihoIACfc5QG
zaC5IUC32ARg/h/ximdwjBY=
=RBP6
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] HOST - check is not working

2008-05-20 Thread Saulo Silva
Here some host example

define host{
   host_namehostname
   contact_groups   1
   alias  hostname.fulname
   address  x.xx.xxx.xxx
   parents route1
   use  generic-host-active
}

define host{
   host_nameroute1
   contact_groups   1
   address  x.xx.xxx.xxx
   use  generic-host-active
}

define  host{
   name generic-host-active
   register  0
   notification_options d,u,r
   check_commandcheck-host-alive
   event_handler_enabled1
   flap_detection_enabled   1
   notification_interval120
   notification_period  full_week
   notifications_enabled1
   max_check_attempts   4
}

define command{
   command_name check-host-alive
   command_line /usr/lib/nagios/plugins/check_ping
-H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
}

So that is it . That is a few services associated to the server if necessary
I can include that here .

Thanks for help

Saulo Silva


2008/5/20 Hugo van der Kooij [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Saulo Silva wrote:

 | I have a strange situation where my nagios is not recovering after some
 | server goes to UNREACHABLE state  unless I force a recheck .

 What service have you assigned to this host? How did you define this host?

 Did you read the section about host checks?


 Hugo.

 - --
 [EMAIL PROTECTED]   http://hugo.vanderkooij.org/
 PGP/GPG http://hugo.vanderkooij.org/PGP/GPG? Use:
 http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

 Bored? Click on http://spamornot.org/ and rate those images.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)

 iD8DBQFIMt6TBvzDRVjxmYERAs8iAJkBAlgbOh7Nt5XFxAOip+H6NihoIACfc5QG
 zaC5IUC32ARg/h/ximdwjBY=
 =RBP6
 -END PGP SIGNATURE-

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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

-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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