AW: Notification periods question
Daniel Bimschas
Bimschas at phase4.de
Tue Oct 11 11:45:26 CEST 2005
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
More information about the Users
mailing list