Nagios XI 5.5.2 - service depencies issue...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

Nagios XI 5.5.2 - service depencies issue...

Post by vishfx »

Hi Team,

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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI 5.5.2 - service depencies issue...

Post by lmiltchev »

Do you see any config errors when you write configs and verify files from the GUI?

CCM > Config File Management > Write Configs > Verify Files

Run the following commands and show the output in code wraps:

Code: Select all

su - nagios
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
service nagios status
chage nagios -l
Be sure to check out our Knowledgebase for helpful articles and solutions!
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

Re: Nagios XI 5.5.2 - service depencies issue...

Post by vishfx »

This ticket can be closed.

I no longer encounter this issue.

Thanks for the support.

Regards,
Vish.
Locked