Allow 24x7 email, but restrict winpopup to Bus iness Hours
Bishop, Dean
dean.bishop at tcdsb.org
Fri Sep 27 14:35:07 CEST 2002
This is exactly what i ended up doing.
What do i think? sux but i don't see an alternative. This might be a nice
to have feature???
-----Original Message-----
From: Freddy Frouin [mailto:freddy.frouin at fluxus.net]
Sent: Friday, September 27, 2002 5:46 AM
To: Greg Vickers
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Allow 24x7 email, but restrict winpopup to
Business Hours
just look the contacts defs:
define contact{
contact_name freddy
alias Freddy Frouin
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email freddy.frouin at fluxus.net
pager ff at fluxus.net
}
with this, you can specify notification period for all your contacts
individualy, so you just have to define multiple virtual contacts for
one phisical contact, you will have:
define contact{
contact_name freddy-email
alias Freddy Frouin Email
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email freddy.frouin at fluxus.net
pager ff at fluxus.net
}
define contact{
contact_name freddy-popup
alias Freddy Frouin Popup
service_notification_period 8x5
host_notification_period 8x5
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-by-popup
host_notification_commands host-notify-by-popup
email freddy.frouin at fluxus.net
pager ff at fluxus.net
}
define contact{
contact_name freddy-page
alias Freddy Frouin Page
service_notification_period nights-and-we
host_notification_period nights-and-we
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-by-page
host_notification_commands host-notify-by-page
email freddy.frouin at fluxus.net
pager ff at fluxus.net
}
I hope this help... what do you think about this solution ??
Freddy.
On Fri, 27 Sep 2002 19:27:28 +1000
Greg Vickers <g.vickers at qut.edu.au> wrote:
> Hi all again,
> I've had an RTFM and I don't think there is a way of doing this, but I was
> wondering if someone knows how to:
>
> Have my contacts receive email 24x7
> Have my contacts receive winpopup messages in Business Hours
> (and when I get the pager set up)
> Have my contacts receive a page outside of BH.
>
> These notifications include both host and service types, so I can't use
> host_notification_period and service_notification_period to provide the
> filtering.
>
> Looking at the problem from a timeperiod point of view, (rather than
> getting winpopup machine names defined from within a contact - i'll let
you
> all know if I find a way) I can't seem to find a way of doing this.
>
> Has anyone done this?
>
> As always,
> TIA,
>
> =================================
> Greg Vickers
> Computer Systems Officer
> Student Support and Systems
> Teaching and Learning Support Systems, QUT
> Kelvin Grove Campus, CRICOS No 00213J
>
> Ph: 07 3864 8276 Fax: 07 3864 5425
> Mob: 0416 001 674 SD: x6147
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
--
Freddy Frouin
Responsable Supervision
Fluxus - British Telecom
30, rue du Château des Rentiers
75013 Paris
Tél: +33 (0)1 44 97 70 00
Fax: +33 (0)1 44 97 70 07
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list