Maybe being dense.. notifcation options, email warn, page critical

Jason Martin jhmartin at toger.us
Mon Aug 14 21:41:33 CEST 2006


On Mon, Aug 14, 2006 at 12:34:48PM -0700, Tory M Blue wrote:
> On 8/14/06, Tedman Eng <teng at dataway.com> wrote:
> >
> >Set up multiple contacts, corresponding to the method you wish to be
> >contacted.
> >
> >define contact{
> >      contact_name                    jdoe-email
> >      service_notification_options    w,c,r
> >      service_notification_commands   notify-by-email
> >      email                           jdoe at localhost.localdomain
> >      }
> >
> >define contact{
> >      contact_name                    jdoe-pager
> >      service_notification_options    c
> >      service_notification_commands   notify-by-pager
> >      pager                           888-555-1234
> >      }
> >
> 
> Sorry my reply was late it appears, okay,. i see this, however show me how
> you use this with a single host or service definition?
> 
> I see how your recommending this be done (appreciate it), but I don't see
> how this works unless you in fact setup 2 host or 2 service instances both
> being identical except for the contact-group.
> What am I missing?
You just said it right there, actually. You are confusing
contacts and contact-groups. You would put jdoe-email and
jdoe-pager into the same contact group and assign that to the
service. You only need one host, one service, one contactgroup,
and two contacts in that group.

-Jason Martin
-- 
Let he who takes the plunge remember to return it!
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060814/dbebbeac/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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