Nagios not reporting alerts and keeping the soft-state
ilohp
ilohp at yahoo.com
Tue Nov 27 16:15:13 CET 2007
I have some remote stores, only with a ping service
checking the server
After a connection failure, nagios see the server
down, but never send the email alert. I believe is
because it never made the second attempt to reach the
HARD state, and always stay on soft state. It was
working well before on the 2.x version, running 3.0b7
now
When you check the interface, the status is always
soft with only one attempt. Configuration is below.
Any idea?
Thanks
Ileana
Host status Down (for 0d 0h 54m 9s)
Status Information: PING CRITICAL - Packet loss = 50%,
RTA = 1080.06 ms
Current Attempt: 1/2 (SOFT state)
Last Check Time:11-26-2007 15:43:56
Check Type ACTIVE
Check Latency / Duration:0.000 / 1.089 seconds
Next Scheduled Active Check: 11-26-2007 15:46:06
Last State Change:11-26-2007 15:44:06
Last Notification: N/A (notification 0)
Is This Host Flapping? N/A
In Scheduled Downtime? NO Last Update: 11-26-2007
16:38:01 ( 0d 0h 0m 14s ago)
The configuration
define host {
host_name PE552
alias Rio Grande,
Store address
192.168.53.14
use Stores
contact_groups store-admins
}
define service {
service_description PING-Stores
use
ping-service-stores
host_name PE552
}
define host {
name Stores
process_perf_data 1
retain_status_information 1
flap_detection_enabled 1
retain_nonstatus_information 1
active_checks_enabled 1
passive_checks_enabled 1
check_period 24x7
obsess_over_host 1
check_freshness 1
check_command
check-far-host-alive
max_check_attempts 2
check_interval 2
event_handler_enabled 1
notifications_enabled 1
notification_interval 120
notification_period 24x7
notification_options d,r
contact_groups store-admins
register 0
}
define command {
command_name
check-far-host-alive
command_line
/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$
-w 600,50% -c 1000,90% -p 1
}
define service {
name
ping-service-stores
is_volatile 0
check_period 24x7
max_check_attempts 2
normal_check_interval 2
retry_check_interval 1
active_checks_enabled 1
passive_checks_enabled 1
parallelize_check 1
obsess_over_service 1
check_freshness 0
notifications_enabled 1
notification_interval 240
notification_period 24x7
notification_options c,r
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
check_command
check_ping!600,40%!1200,60%
contact_groups store-admins
register 0
}
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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