<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6556.0">
<TITLE>Nagios V2 Hostgroup escalations </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Folks</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">As I understand Hostgroup / Service escalations have now been removed.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am sure there must have been a good reason for this , but now need to re-write *.cfg files.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">A small sample of the autogenerated nagios config file </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"># Host abe-u-s00055 sun check host alive </FONT>
<BR><FONT SIZE=2 FACE="Arial">define host{</FONT>
<BR><FONT SIZE=2 FACE="Arial">use generic-host</FONT>
<BR><FONT SIZE=2 FACE="Arial">host_name abe-u-s00055</FONT>
<BR><FONT SIZE=2 FACE="Arial">alias abe_geoportal_apps_servers</FONT>
<BR><FONT SIZE=2 FACE="Arial">address 134.What.ever</FONT>
<BR><FONT SIZE=2 FACE="Arial">check_command check-host-alive</FONT>
<BR><FONT SIZE=2 FACE="Arial">max_check_attempts 10</FONT>
<BR><FONT SIZE=2 FACE="Arial">notification_interval 7</FONT>
<BR><FONT SIZE=2 FACE="Arial">notification_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial">notification_options d,u,r</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial">#Serviceescalation definition abe-u-s00055 sun PING</FONT>
<BR><FONT SIZE=2 FACE="Arial">define serviceescalation{</FONT>
<BR><FONT SIZE=2 FACE="Arial">host_name abe-u-s00055</FONT>
<BR><FONT SIZE=2 FACE="Arial">service_description PING</FONT>
<BR><FONT SIZE=2 FACE="Arial">first_notification 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">last_notification 2</FONT>
<BR><FONT SIZE=2 FACE="Arial">contact_groups sun-admins-escalation</FONT>
<BR><FONT SIZE=2 FACE="Arial">notification_interval 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">#Service Definition abe-u-s00055 sun PING</FONT>
<BR><FONT SIZE=2 FACE="Arial">define service{ </FONT>
<BR><FONT SIZE=2 FACE="Arial">use generic-service </FONT>
<BR><FONT SIZE=2 FACE="Arial">host_name abe-u-s00055</FONT>
<BR><FONT SIZE=2 FACE="Arial">service_description PING</FONT>
<BR><FONT SIZE=2 FACE="Arial">is_volatile 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">check_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial">max_check_attempts 3</FONT>
<BR><FONT SIZE=2 FACE="Arial">normal_check_interval 5</FONT>
<BR><FONT SIZE=2 FACE="Arial">retry_check_interval 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">contact_groups sun-admins</FONT>
<BR><FONT SIZE=2 FACE="Arial">notification_interval 7</FONT>
<BR><FONT SIZE=2 FACE="Arial">notification_period 24x7</FONT>
<BR><FONT SIZE=2 FACE="Arial">notification_options c,r</FONT>
<BR><FONT SIZE=2 FACE="Arial">check_command check_newping</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial"># List of which machines are part of Sun-Servers group</FONT>
<BR><FONT SIZE=2 FACE="Arial">define hostgroup{</FONT>
<BR><FONT SIZE=2 FACE="Arial">hostgroup_name sun-servers</FONT>
<BR><FONT SIZE=2 FACE="Arial">alias Sun Servers</FONT>
<BR><FONT SIZE=2 FACE="Arial">contact_groups sun-admins</FONT>
<BR><FONT SIZE=2 FACE="Arial">members abe-u-s00055</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"># Hostgroup 'sun-servers' escalation definition</FONT>
<BR><FONT SIZE=2 FACE="Arial">define hostgroupescalation{</FONT>
<BR><FONT SIZE=2 FACE="Arial"> hostgroup_name sun-servers</FONT>
<BR><FONT SIZE=2 FACE="Arial"> first_notification 2</FONT>
<BR><FONT SIZE=2 FACE="Arial"> last_notification 2</FONT>
<BR><FONT SIZE=2 FACE="Arial"> contact_groups sccalert-admins</FONT>
<BR><FONT SIZE=2 FACE="Arial"> notification_interval 0</FONT>
<BR><FONT SIZE=2 FACE="Arial"> }</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">Any idea , on how to re-write this under Nagios V2.X</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Matt</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<P><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Matthew Garrett</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Linux / Unix Help Desk EP</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Shell Information Technology International Limited</FONT></SPAN>
<BR><SPAN LANG="en-us"><FONT SIZE=2 FACE="Arial">Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom</FONT></SPAN>
</P>
<P><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Tel:</FONT></B> <FONT SIZE=2 FACE="Arial">+44 (0)1224 81 7920</FONT><B><FONT SIZE=2 FACE="Arial"> Other Tel:</FONT></B> <FONT SIZE=2 FACE="Arial">Internal 630 1506</FONT></SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Email:</FONT></B> </SPAN>
<BR><SPAN LANG="en-us"><B><FONT SIZE=2 FACE="Arial">Internet:</FONT></B> <FONT SIZE=2 FACE="Arial"><A HREF="http://www.shell.com">http://www.shell.com</A></FONT></SPAN>
</P>
</BODY>
</HTML>