whats wrong with these definitions ? help please!

Mehmet Fatih AKBULUT mfatihakbulut at gmail.com
Wed Nov 30 12:09:22 CET 2005


hi all.

# Service definition
define service{
    use                                   generic-service        ; Name of
service template to use
    host_name                       blablabla
    service_description          DNS
    is_volatile                         0
    check_period                   24x7
    max_check_attempts     3
    normal_check_interval    3
    retry_check_interval        1
    contact_groups                blablabla
    notification_interval         120
    notification_period            24x7
    notification_options          w,u,c,r
    check_command              check_dns /* is it necessary to add something
here ?*/
    }

# Service definition
define service{
    use                generic-service        ; Name of service template to
use
    host_name            blablabla
    service_description        LDAP
    is_volatile            0
    check_period            24x7
    max_check_attempts        3
    normal_check_interval        3
    retry_check_interval        1
    contact_groups            blablabla
    notification_interval        120
    notification_period        24x7
    notification_options        w,u,c,r
    check_command            check_ldaps /* is it necessary to add something
here ?*/
    }

why these services dont appear on nagios ? do i have to add anything after
check_dns & check_ldaps ???

and is this command definition below correct ?

# 'check_ldaps' command definition
define command{
    command_name    check_ldaps
    command_line    /usr/local/nagios/libexec/check_ldaps /*do i have to add
something here?*/
    }

help me please ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051130/05f2a666/attachment.html>


More information about the Users mailing list