On Tue, 2008-11-18 at 02:57 -0500, alexus wrote: > for some reason I'm not getting any alerts for any of services, I > think I've checked everywhere... > > I've created a dummy service > > [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL > [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL
you have notification logging in nagios.cfg enabled? if so, I think you should see messages that look like "SERVICE NOTIFICATION". I see those in my logs among the "SERVICE ALERT" messages. this might help you decide if it's a nagios configuration issue or command issue somewhere else. > > besides these two, nothing.. no NOTIFICATION > > this is my host configuration > > define host { > host_name XXX > alias XXX > address XXX > parents XXX > hostgroups XXX > check_command check_icmp > max_check_attempts 1 > check_interval 0 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups staff > notification_interval 30 > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > register 1 > } > > and this is my service > > define service { > host_name XXX > service_description check_dummy > is_volatile 0 > check_command check_dummy!2 > max_check_attempts 2 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > failure_prediction_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups staff > notification_interval 4 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > register 1 > } > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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