AW: Notification periods question

Daniel Bimschas Bimschas at phase4.de
Tue Oct 11 14:58:25 CEST 2005


Hey Jonas,

that solutions looks great, will try that later!

Thanks a lot!



-----Ursprüngliche Nachricht-----
Von: Karsch, Jonas [mailto:j.karsch at radeberger-gruppe.de]
Gesendet: Dienstag, 11. Oktober 2005 14:54
An: Daniel Bimschas
Betreff: AW: [Nagios-users] Notification periods question


Hi,

maybe you can do it with hostescalations:

define hostescalation{ 
       hostgroup_name  	Exchangeserver
       contact_groups  	exchange-admins
       first_notification 	1 
       last_notification 	0 
       notification_interval 	120 
	 escalation_options	w,u,c,r
       escalation_period 	workhours
       } 

define hostescalation{ 
       hostgroup_name  	Exchangeserver
       contact_groups  	exchange-admins
       first_notification 	1 
       last_notification 	0 
       notification_interval 	120 
	 escalation_options	c,u
       escalation_period 	nonworkhours
       } 

regards 

Jonas Karsch 
IT-Service 
Tel.: +49 - (0)30 - 68992 - 254 



-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Daniel
Bimschas
Gesendet: Di, 11. Oktober 2005 11:45
An: Greg Vickers; nagios-users at lists.sourceforge.net
Betreff: AW: [Nagios-users] Notification periods question


first, thank you for your answer, greg.

but unfortunately i've come so far too. the problem now is
that nagios reschedules the notifications that occur during
non-notification hours for the specific contact. it then
sends the notifications when the timeperiod is valid for this
contact.

with this i will always get notified about all problems that 
occured at night, in the night AND in the morning.

my notifications will also be sent out via SMS, so it would
be really stressy to get so many notifications.


you also have an idea regarding this?

thanks




-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Greg
Vickers
Gesendet: Dienstag, 11. Oktober 2005 11:31
An: nagios-users at lists.sourceforge.net
Betreff: Re: [Nagios-users] Notification periods question


Hi Daniel,

Daniel Bimschas wrote:
> hi there!
> 
> i have the following problem and it seems i can't solve it
> without greater effort.
> 
> i have a service that is checked 24x7. during "workhours",
> meaning from 09:00 - 22:00 i want to notify always if the
> service is warning, critical or unknown (w,u,c,r) and when
> it recovers.
> 
> at "non-workhours" (22:00-09:00) i want only to notify if
> the service is critical or unknown.
> 
> can i realise that with nagios without writing my own
> notification plugin and how?

Here's one way to do it:

Notifications during work hours:
define contact{
contact_name fredworkhours
alias Notifications to Fred during work hours
host_notification_period something
service_notification_period workhours
host_notification_options n
service_notification_options w,u,c,r
email fred at someserver
}

Notifications during non-work hours:
define contact{
contact_name frednonworkhours
alias Notifications to Fred outside of work hours
host_notification_period something
service_notification_period nonworkhours
host_notification_options n
service_notification_options w,u
email fred at someserver
}

> thanks for your replies

Such a spoon-fed reply is given because I am feeling out of touch with 
my server atm :)

-- 
Greg Vickers
Project Manager, IT Security
Information Technology Services
Queensland University of Technology
L12, 126 Margaret St, Brisbane

Phone: (07) 3864 9536
Email: g.vickers at qut.edu.au
IT Security web site: http://www.its.qut.edu.au/itsecurity/

CRICOS No. 00213J


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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