<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Would it be okay then to have a host entry in the hosts.cfg file like this based upon the response I received from Dennis Hünsler:</div><div><br></div><div><span class="Apple-style-span" style="font-family: verdana; font-size: 11px; "><pre>define host{
        host_name                       bogus-router
        alias                           Bogus Router #1
        address                         192.168.1.254
        parents                         server-backbone
        check_command                   check-host-alive
        max_check_attempts              5
        check_period                    24x7
        process_perf_data               0
        retain_nonstatus_information    0
        contact_groups                  router-admins</pre><pre><span class="Apple-style-span" style="font-family: verdana; white-space: normal; "><pre><span class="Apple-tab-span" style="white-space:pre">     </span>contacts                   lmeier</pre><pre>   notification_interval           30</pre></span></pre><pre>      notification_period             24x7
        notification_options            d,u,r
        }</pre></span></div><div>Thank you,</div><div>Layne Meier</div><div>Atlanta Journal-Constitution</div><div><br></div><div><br></div><br><div><div>On Nov 7, 2008, at 2:21 AM, Dennis Hünseler wrote:</div><br class="Apple-interchange-newline"><p>Hi Layne,</p><p>regarding the config you can configure contacts in stead of complete groups, but the keyword is contact<strong>s</strong> not contact as in your example :-)</p><p><strong>contacts</strong>:  This is a list of the <em>short names</em> of the <a href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact">contacts</a> that should be notified whenever there are problems (or recoveries) with this host. Multiple contacts should be separated by commas. Useful if you want notifications to go to just a few people and don't want to configure <a href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contactgroup">contact groups</a>.  You must specify at least one contact or contact group in each host definition.</p><p>Regards, Dennis</p><p>On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier <<a href="mailto:lmeier@ajc.com">lmeier@ajc.com</a>> wrote:</p> <blockquote style="border-left: 2px solid #1010ff; padding-left: 5px; margin-left: 5px; width: 100%;">I have a question for anyone that can answer this for me.  From the documentation, in configuring a host, this is the example given: <div><br></div> <div><span class="Apple-style-span" style="font-size: 11px; font-family: verdana;"> <pre>define host{
        host_name                       bogus-router
        alias                           Bogus Router #1
        address                         192.168.1.254
        parents                         server-backbone
        check_command                   check-host-alive
        max_check_attempts              5
        check_period                    24x7
        process_perf_data               0
        retain_nonstatus_information    0
        contact_groups                  router-admins
        notification_interval           30
        notification_period             24x7
        notification_options            d,u,r
        }</pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;">In place of the contact_groups as being defined as router-admins, can you put the name of an actual person there (from the contacts.cfg) ie;</span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;"><span class="Apple-style-span" style="font-size: 11px; font-family: verdana;"><pre>define host{
        host_name                       bogus-router
        alias                           Bogus Router #1
        address                         192.168.1.254
        parents                         server-backbone
        check_command                   check-host-alive
        max_check_attempts              5
        check_period                    24x7
        process_perf_data               0
        retain_nonstatus_information    0
        contact_groups                  lmeier
        notification_interval           30
        notification_period             24x7
        notification_options            d,u,r
        }</pre> </span></span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;">Or is there a different command that needs to go there:</span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;"><span class="Apple-style-span" style="font-size: 11px; font-family: verdana;"><pre>define host{
        host_name                       bogus-router
        alias                           Bogus Router #1
        address                         192.168.1.254
        parents                         server-backbone
        check_command                   check-host-alive
        max_check_attempts              5
        check_period                    24x7
        process_perf_data               0
        retain_nonstatus_information    0
        contact<span class="Apple-tab-span" style="white-space:pre">  </span>                   lmeier
        notification_interval           30
        notification_period             24x7
        notification_options            d,u,r
        }</pre> </span></span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;"><br></span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;"><br></span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;">Thank you,</span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;">Layne Meier</span></span></pre> <pre><span class="Apple-style-span" style="font-family: Helvetica; font-size: small;"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;">Atlanta Journal-Constitution</span></span></pre> <pre><br></pre> </span></div> </blockquote></div><br></body></html>