When I apply the below service dependency, Apply Changes goes through, however nagios core does not seem to come up.
Code: Select all
###############################################################################
#
# Servicedependencies configuration file
#
# Created by: Nagios CCM 2.7.0
# Date: 2018-09-21 02:46:20
# Version: Nagios Core 4.x
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define servicedependency {
# config_name MDC_RR2C_PCFDEV_p-metric_svc_dependency
dependent_host_name p-metrics-71415ddea442ea30c867
dependent_service_description jmx-firehose-nozzle/17ea07c5-fdc3-4e27-a45c-69a783397913/disk_ephemeral_inode_percent,jmx-firehose-nozzle/17ea07c5-fdc3-4e27-a45c-69a783397913/disk_ephemeral_percent,jmx-firehose-nozzle/17ea07c5-fdc3-4e27-a45c-69a783397913/disk_persistent_inode_percent,jmx-firehose-nozzle/17ea07c5-fdc3-4e27-a45c-69a783397913/disk_persistent_percent
host_name cf-d9e5d142a1824d66533f
service_description router/0003dc5d-c6ab-4a6b-a6b9-8a0390ea1436/system_healthy
inherits_parent 1
execution_failure_criteria w,u,c,p,
notification_failure_criteria w,u,c,p,
dependency_period 24x7
}
###############################################################################
#
# Servicedependencies configuration file
#
# END OF FILE
#
###############################################################################
Neither do I see any errors in nagios.log
Code: Select all
-bash-4.2$ tail -f /usr/local/nagios/var/nagios.log
[1537516407] ndomod registered for external command data'
[1537516407] ndomod registered for aggregated status data'
[1537516407] ndomod registered for retention data'
[1537516407] ndomod registered for contact data'
[1537516407] ndomod registered for contact notification data'
[1537516407] ndomod registered for acknowledgement data'
[1537516407] ndomod registered for state change data'
[1537516407] ndomod registered for contact status data'
[1537516407] ndomod registered for adaptive contact data'
[1537516407] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
Kindly assist.
Regards,
Vish.