On Mon, Feb 28, 2011 at 12:27 PM, Max Schubert <span dir="ltr"><<a href="mailto:maxs@webwizarddesign.com">maxs@webwizarddesign.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Please respond to the list with the version of Nagios you are using<br>
and an example contact and/or serviceescalation definition that you<br>
are using.<br>
<font color="#888888"><br>
- Max<br>
</font></blockquote></div><br>Certainly. The version I am using is 3.0.6. Here is a copy of the output:<br><br>Nagios 3.0.6<br>Copyright (c) 1999-2008 Ethan Galstad (<a href="http://www.nagios.org">http://www.nagios.org</a>)<br>
Last Modified: 12-01-2008<br>License: GPL<br><br>This is being run on a 64-bit Linux machine. Here is an example of the serviceescalation definition:<br><br><b><span style="font-family: courier new,monospace;">define serviceescalation{</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> hostgroup_name sms</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> service_description HTTP</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> first_notification 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> last_notification 2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> notification_interval 10</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> contact_groups oncall,email</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">}</span><br style="font-family: courier new,monospace;"></b><br>Here are the contactgroups related to that serviceescalation:<br><br><b style="font-family: courier new,monospace;">define contactgroup{<br>
contactgroup_name oncall<br> alias Oncall<br> members user1,user2,<br>}<br></b><br><b style="font-family: courier new,monospace;">define contactgroup{<br> contactgroup_name email<br>
alias Email<br> members user1_email,user2_email,user3_email,...usern_email,<br>}<br></b><br>For both contactgroups oncall and email, there is a contact defined for each user that is named. I have changed the usernames for privacy reasons.<br>
<br>~Chad<br>