hi all.<br>
<br>
# Service definition<br>
define service{<br>
use
generic-service ; Name of service
template to use<br>
host_name
blablabla<br>
service_description DNS<br>
is_volatile
0<br>
check_period
24x7<br>
max_check_attempts 3<br>
normal_check_interval 3<br>
retry_check_interval 1<br>
contact_groups blablabla<br>
notification_interval 120<br>
notification_period 24x7<br>
notification_options w,u,c,r<br>
check_command
check_dns /* is it necessary to add
something here ?*/ <br>
}<br>
<br>
# Service definition<br>
define service{<br>
use
generic-service
; Name of service template to use<br>
host_name blablabla<br>
service_description LDAP<br>
is_volatile 0<br>
check_period 24x7<br>
max_check_attempts 3<br>
normal_check_interval 3<br>
retry_check_interval 1<br>
contact_groups blablabla<br>
notification_interval 120<br>
notification_period 24x7<br>
notification_options w,u,c,r<br>
check_command
check_ldaps /* is it necessary to add something here
?*/ <br>
}<br>
<br>
why these services dont appear on nagios ? do i have to add anything after check_dns & check_ldaps ???<br>
<br>
and is this command definition below correct ?<br>
<br>
# 'check_ldaps' command definition<br>
define command{<br>
command_name check_ldaps<br>
command_line /usr/local/nagios/libexec/check_ldaps /*do i have to add something here?*/<br>
}<br>
<br>
help me please ...<br>
<br>