<div dir="ltr">Note I have not included all the mandatory objects in the object definition .So please refer to this and include them<br><br><a href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html">http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 7:27 PM, Sunil Sankar <span dir="ltr"><<a href="mailto:sunil@sunil.cc" target="_blank">sunil@sunil.cc</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>For your case you may have to have a custom notify script .Somethis like this and then you may have to include this <br><br>define command{<br> command_name service-notify-oncall<br> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info: $SERVICEOUTPUT$\n\n" | /bin/mail -s "On Call Person $CONTACTNAME$ $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ <br>
}<br><br></div>And then define<br>define contact{<br> contact_name john<br> host_notification_period john-oncall<br> service_notification_period john-oncall<br> host_notification_options d,u,r<br>
service_notification_options c,w,r<br> host_notification_commands host-notify-oncall<br> service_notification_commands service-notify-oncall<br> register 0<br> } <br><br></div>
like this .<br><br></div>Regards<br>Sunil<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Sun, Aug 25, 2013 at 10:46 AM, Kaushal Shriyan <span dir="ltr"><<a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>
On Wed, Aug 21, 2013 at 12:45 PM, Kaushal Shriyan <span dir="ltr"><<a href="mailto:kaushalshriyan@gmail.com" target="_blank">kaushalshriyan@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br>We have a OnCall system in place starting Monday to Sunday. So what i do is send out email to the stakeholders keeping subject matter For example "Systems OnCall Person - > Mr John (Start Date and End Date)" is there a way to automate this as per <a href="http://nagios.sourceforge.net/docs/3_0/oncallrotation.html" target="_blank">http://nagios.sourceforge.net/docs/3_0/oncallrotation.html</a> meaning send out emails automatically instead of composing and sending manually. Please suggest.<br>
<br></div>Regards,<br><br></div>Kaushal<br><div><div><br></div></div></div></blockquote><div><br></div></div></div><div>Hi</div><div><br></div><div>Checking in again for my earlier post to this mailing list. Please suggest</div>
<div>
<br></div><div>Regards</div><span><font color="#888888"><div><br></div><div>Kaushal </div></font></span></div><br></div></div>
<br></div></div>------------------------------------------------------------------------------<br>
Introducing Performance Central, a new site from SourceForge and<br>
AppDynamics. Performance Central is your source for news, insights,<br>
analysis and resources for efficient Application Performance Management.<br>
Visit us today!<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>
Regards<br>Sunil Sankar
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Sunil Sankar
</div>