Page 1 of 1

Re: [Nagios-devel] Nagios 3.0b2 - Not sending Notifications?

Posted: Wed Aug 29, 2007 9:01 am
by Guest
This is a cryptographically signed message in MIME format.

--------------ms050203080304010804090506
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

Sorry for double posting...

I've had enabled debug_level = 48 and got:

[1188406203.151628] [016.1] [pid=18818] Current/Max Attempt(s): 4/4
[1188406203.151642] [016.1] [pid=18818] Service has reached max number
of rechecks, so we'll handle the error...
[1188406203.151962] [032.0] [pid=18818] ** Service Notification Attempt
** Host: 'hotel7', Service: 'xinetd Processes', Type: 0, Current State
: 2, Last Notification: Thu Jan 1 01:00:00 1970
[1188406203.151999] [032.0] [pid=18818] Notification viability test passed.
[1188406203.152019] [032.1] [pid=18818] Current notification number: 1
[1188406203.152037] [032.1] [pid=18818] Service notification will NOT be
escalated.

[1188406203.152060] [032.0] [pid=18818] No contacts were found for
notification purposes. No notification was sent out.

[1188406203.152190] [016.1] [pid=18818] Rescheduling next check of
service at Wed Aug 29 18:50:53 2007

....

That with the "non contacts" is not true...

Out of the actual objects.cache:

define service {
host_name hotel7
service_description xinetd Processes
check_period 24x7
check_command check_local_procs_cmd!1:15!1:30!xinetd
contact_groups admins
notification_period 24x7
initial_state o
check_interval 60.000000
retry_interval 5.000000
max_check_attempts 4
is_volatile 0
parallelize_check 1
active_checks_enabled 1
passive_checks_enabled 1
obsess_over_service 1
event_handler_enabled 1
low_flap_threshold 0.000000
high_flap_threshold 0.000000
flap_detection_enabled 1
flap_detection_options o,w,u,c
freshness_threshold 0
check_freshness 0
notification_options u,w,c,r
notifications_enabled 1
notification_interval 1800.000000
first_notification_delay 0.000000
stalking_options n
process_perf_data 1
failure_prediction_enabled 1
retain_status_information 1
retain_nonstatus_information 1
}


define contactgroup {
contactgroup_name admins
alias Nagios Administrators
members nagios-admin
}


define contact {
contact_name nagios-admin
alias Nagios Admin
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email [email protected](faked)
host_notifications_enabled 1
service_notifications_enabled 1
can_submit_commands 1
retain_status_information 1
retain_nonstatus_information 1
}

So... I think all should be fine...

Regards

--------------ms050203080304010804090506
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFuDCC
AtgwggJBoAMCAQICCQCm2uXMgNJKLDANBgkqhkiG9w0BAQUFADBPMQswCQYDVQQGEwJERTEM
MAoGA1UECBMDTlJXMRwwGgYDVQQKExNCYWVja2VyIElUIFNlcnZpY2VzMRQwEgYDVQQDEwtp
bnRlcm5hbCBDQTAeFw0wNzA4MDgxMzExMThaFw0wODA4MDcxMzExMThaMHsxCzAJBgNVBAYT
AkRFMQwwCgYDVQQIEwNOUlcxHDAaBgNVBAoTE0JhZWNrZXIgSVQgU2VydmljZXMxGDAWBgNV
BAMTD0hlbmRyaWsgQmFlY2tlcjEmMCQGCSqGSIb3DQEJARYXYW5kdXJpbkBwcm9jZXNzLXpl
cm8uZGUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJ9MdGOUbOUVjqr6sVAmSmwM4pl4
RCpOhRkLcZsxqS01xSdtsk60O9zKTNIM23A05WTECJwQL9jtdf2yjEpRrdBlwXGnU+muYZX7
L64RrdjqCRRdNqUlaM1YBRFTGKLSEjBfiF3B5SI6U19Gs4JdVH/Tnq9F/VmL7wPTBPT6HQfH
AgMBAAGjgY8wgYwwCQYDVR0TBAIwADARBglghkgBhvhCAQEEBAMCBaAwLAYJYIZIAYb4QgEN
BB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1UdDgQWBBQeM6m5375Z0mi+
4fR2vjs/33lYVzAfBgNVHSMEGDAWgBS3rNDUwCvH3HcY6lNfn7uOxsWp4DANBgkqhkiG9w0B
AQUFAAOBgQC/NdkSRFIVzD21pqbGnX3NpG0l77QI5/GUraeWTiAUI1MCb+coUg7ySWqRwYl3
lVyrRY8vpf45xNib8LncgzoP4M6/T/YUWeYv+YIzrePEJS0oEUIwJcKTsdflVzoeiUipa64r
G2xpp/pln+zcRK75elz0ELKlp5YMc0IJpwXAMDCCAtgwggJBoAMCAQICCQCm2uXMgNJKLDAN
BgkqhkiG9w0

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]