Hello Markus,

no problem.

Currently there are not escalations defined.

Here are the log entries:

[1337604239] SERVICE ALERT:
HOSTNAME;nrpe_win_uptime_ts;CRITICAL;SOFT;1;Connection refused by host
[1337604419] SERVICE ALERT:
HOSTNAME;nrpe_win_uptime_ts;CRITICAL;SOFT;2;Connection refused by host
[1337604599] SERVICE ALERT:
HOSTNAME;nrpe_win_uptime_ts;CRITICAL;HARD;3;Connection refused by host
[1337605499] SERVICE NOTIFICATION:
icingaadmin;HOSTNAME;nrpe_win_uptime_ts;CRITICAL;notify-service-by-email;Connection
refused by host
[1337637600] CURRENT SERVICE STATE:
HOSTNAME;nrpe_win_uptime_ts;CRITICAL;HARD;3;Connection refused by host
[1337641200] HOST DOWNTIME ALERT: HOSTNAME;STARTED; Host has entered a
period of scheduled downtime
[1337647261] SERVICE ALERT: HOSTNAME;nrpe_win_uptime_ts;OK;HARD;3;OK:
uptime: 0:3
[1337647262] SERVICE NOTIFICATION:
TEissler_b;HOSTNAME;nrpe_win_uptime_ts;OK;notify-service-by-email;OK:
uptime: 0:3
[1337647262] SERVICE NOTIFICATION:
icingaadmin;HOSTNAME;nrpe_win_uptime_ts;OK;notify-service-by-email;OK:
uptime: 0:3
[1337657400] HOST DOWNTIME ALERT: HOSTNAME;STOPPED; Host has exited from
a period of scheduled downtime

And here are the related configuration snippets:

define host {
   host_name         HOSTNAME
   alias             HOSTNAME
   address           <ip address>
   icon_image_alt    Windows
   icon_image        base/win40.gif
   statusmap_image   base/win40.gd2
   check_command     check-host-alive
   contact_groups    bereitschaft,icingaadmins
   parents           Router_XY
   use               generic-host
}

define service {
   service_description     nrpe_win_uptime_ts
   check_command           check_nrpe_win_uptime_ts!
   host_name               HOSTNAME
   contact_groups          bereitschaft,icingaadmins
   display_name            Windows Uptime (Terminalserver)
   notifications_enabled   1
   event_handler_enabled   0
   use                     generic-service
}


define service {
   name                          generic-service
   register                      0
   action_url
/pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$'
class='tips'
rel='/pnp4nagios/index.php/popup?host=$HOSTNAME$&srv=$SERVICEDESC$
   max_check_attempts            3
   check_interval                15
   retry_interval                3
   notification_interval         0
   notification_options          u,c,r
   active_checks_enabled         1
   passive_checks_enabled        1
   notifications_enabled         1
   check_freshness               0
   flap_detection_enabled        1
   event_handler_enabled         0
   process_perf_data             1
   is_volatile                   0
   first_notification_delay      2
   retain_status_information     1
   retain_nonstatus_information  1
   obsess_over_service           0
   check_period                  24x7
   notification_period           24x7
   contact_groups                icingaadmins
}

define contact {
   contact_name   icingaadmin
   alias          Icinga Admin
   email          <email>
   use            generic-contact
}
define contact {
   contact_name                  TEissler_b
   alias                         Bereitschaft Timo Eissler
   email                         <phone>@t-mobile-sms.de
   can_submit_commands           0
   host_notification_period      nonworkhours
   service_notification_period   nonworkhours
   use                           generic-contact
}

define contact {
   name                          generic-contact
   register                      0
   host_notifications_enabled    1
   service_notifications_enabled 1
   host_notification_options     d,u,r
   service_notification_options  u,c,r
   can_submit_commands           1
   retain_nonstatus_information  1
   host_notification_period      24x7
   service_notification_period   24x7
   host_notification_commands    notify-host-by-email
   service_notification_commands notify-service-by-email
}

define contactgroup {
   contactgroup_name bereitschaft
   alias             Bereitschaft
   members           TEissler_b
}

define contactgroup {
   contactgroup_name icingaadmins
   alias             Icinga Administrators
   members           icingaadmin
}

Kind regards,

Timo

Am 23.05.2012 17:30, schrieb Markus Frosch:
> Hello Timo,
>> My problem with that is that the problem notifications was sent to a
>> another contact (e.g. icingaadmin) and the recovery is sent to all
>> contacts (icingaadmin and oncall) which are responsible for the
>> host/service during the downtime.
> 
> Please attach some logs and config snippets regarding the host or
> service which causes your problem. Is there any escalation setup for this?
> 
> Regards
> Markus
> 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to