Dennis -

Thank you so much for your response. Can I use a mix of both individuals and contact groups when defining who should be contacted if a problem occurs?

Layne Meier
Atlanta Journal-Constitution
A Cox Newspaper




On Nov 7, 2008, at 2:21 AM, Dennis Hünseler wrote:

Hi Layne,

regarding the config you can configure contacts in stead of complete groups, but the keyword is contacts not contact as in your example :-)

contacts: This is a list of the short names of the contacts 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 contact groups. You must specify at least one contact or contact group in each host definition.

Regards, Dennis

On Thu, 6 Nov 2008 10:54:35 -0500, Layne Meier <[EMAIL PROTECTED]> wrote:

I have a question for anyone that can answer this for me. From the documentation, in configuring a host, this is the example given:

 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
        }
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;
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
        }
Or is there a different command that needs to go there:
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                         lmeier
        notification_interval           30
        notification_period             24x7
        notification_options            d,u,r
        }


Thank you,
Layne Meier
Atlanta Journal-Constitution


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to