Nagios Hang?

Mike Koponick mkoponick at redhawk.info
Wed Feb 15 18:52:51 CET 2006


Marc,

Thanks for the "is_volatile" tip. 

As for the NSCA, I found further information:

Feb 15 08:01:26 cmi-console nagios: Warning: OCSP command
'/usr/local/nagios/libexec/submit_check_result PHM.2950.110.5
'check_ping' 'OK' 'PING OK - Packet loss = 0%, RTA = 6.81 ms' ''' for
service 'check_ping' on host 'PHM.2950.110.5' timed out after 5 seconds

Feb 15 08:10:09 cmi-console nagios: Warning: OCSP command
'/usr/local/nagios/libexec/submit_check_result 2950-135 'check_ping'
'OK' 'PING OK - Packet loss = 0%, RTA = 3.43 ms' ''' for service
'check_ping' on host '2950-135' timed out after 5 seconds

Feb 15 08:12:36 cmi-console nagios: Warning: OCSP command
'/usr/local/nagios/libexec/submit_check_result 2950-34 'check_ping' 'OK'
'PING OK - Packet loss = 0%, RTA = 1.50 ms' ''' for service 'check_ping'
on host '2950-34' timed out after 5 seconds


This has the appearance that send_nsca is getting timed out. I don't see
the connection ending up on the remote side.

I wonder if this some type of weird NAT issue going on between the two
firewalls. Although, I do see other NSCA traffic working just fine from
the same server.

Thanks!

Mike


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Wednesday, February 15, 2006 8:51 AM
To: Nagios Users
Subject: RE: [Nagios-users] Nagios Hang?



> -----Original Message-----
> From: Mike Koponick [mailto:mkoponick at redhawk.info]
> Sent: Wednesday, February 15, 2006 10:33 AM
> To: Marc Powell; Nagios Users
> Subject: RE: [Nagios-users] Nagios Hang?
> 

[chop]

> Here are a couple of samples of my hosts/services from the sensor:
> 

[chop]

> define  service {
>         hostgroup_name                  Company_Switches
>         service_description             check_ping
>         is_volatile                     1
>         check_command                   check_ping!150.0,20%!200.0,60%

[chop]

> 
>
########################################################################
> ####
> 
> 
> Hosts/Services from the Central Server:

[chop]

> 
> define  service {
>         hostgroup_name                  Company_Switches
>         service_description             check_ping
>         is_volatile                     1
>         check_command                   check_stale
[chop]

You normally do not want to use 'is_volatile' for passive service
checks. They should only be used for services that automatically reset
themselves to an OK state after being checked and you wish to be
notified _every_ time they're checked and not OK. This would account for
your multiple notifications.

 http://nagios.sourceforge.net/docs/2_0/volatileservices.html

Volatile services differ from "normal" services in three important ways.
Each time they are checked when they are in a hard non-OK state, and the
check returns a non-OK state (i.e. no state change has occurred)...

    * the non-OK service state is logged
    * contacts are notified about the problem (if that's what should be
done)
    * the event handler for the service is run (if one has been defined)


These events normally only occur for services when they are in a non-OK
state and a hard state change has just occurred. In other words, they
only happen the first time that a service goes into a non-OK state. If
future checks of the service result in the same non-OK state, no hard
state change occurs and none of the events mentioned take place again.  

--
Marc


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
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