<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Just thinking about something here and didn't make sense. Wanted to make sure I was not missing something... <BR>
<BR>
I define a contact like in the documentation... <BR>
<BR>
<FONT face="Courier New">define contact{<BR> contact_name jdoe<BR> alias John Doe<BR> host_notifications_enabled 1<BR> service_notifications_enabled 1<BR> service_notification_period 24x7<BR> host_notification_period 24x7<BR> service_notification_options w,u,c,r<BR> host_notification_options d,u,r<BR> service_notification_commands notify-by-email<BR> host_notification_commands host-notify-by-email<BR> email </FONT><A href="mailto:jdoe@localhost.localdomain"><FONT face="Courier New">jdoe@localhost.localdomain</FONT></A><BR><FONT face="Courier New"> pager </FONT><A href="mailto:555-5555@pagergateway.localhost.localdomain"><FONT face="Courier New">555-5555@pagergateway.localhost.localdomain</FONT></A><BR><FONT face="Courier New"> address1 </FONT><A href="mailto:xxxxx.xyyy@icq.com"><FONT face="Courier New">xxxxx.xyyy@icq.com</FONT></A><BR><FONT face="Courier New"> address2 555-555-5555<BR> can_submit_commands 1<BR> }</FONT><BR><BR>
Sure he gets email alerts just fine, but what if I wanted to make sure the contacts got emails to his default email as well as ADDRESS1 or PAGER for a particular service? I create a "service_notification_command" called "notify-by-address1" which would work, but I can only seem to specify this on the contact level so he would get alerts to both addresses for every service he's a contact for. <BR>
<BR>
I know I could alternatively create a 2nd contact and add that 2nd contact to the particular service, I just didn't know if I'm missing some other way to configure a contact 'method' for a given contact at a service/host level.<BR>
<BR>
Also I'm assuming I can modify this line... <BR>
<FONT face="Courier New">service_notification_commands notify-by-email,notify-by-address1</FONT><BR>
For a given service so they get alerts to both locations for all alerts.<BR>
<BR>
If not... perhaps be able to add something like this at the individual service/host level... <BR>
<BR>
<FONT face="Courier New">contact jdoe:notify-by-email,jdoe:notify-by-pager</FONT><BR>
<BR>
defaulting to email if no method is defined... <BR>
<BR>-- <BR>Mat W. - <A href="http://www.techadre.com">http://www.techadre.com</A><BR><br /><hr />Windows Live™ SkyDrive™: Store, access, and share your photos. <a href='http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_072009' target='_new'>See how.</a></body>
</html>