nagios apply configuration error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

nagios apply configuration error

Post by hoegh »

Error: There are no services defined!
Error: There are no hosts defined!
Error: Service notification command 'xi_service_notification_handler' specified for contact 'xi_default_contact' is not defined anywhere!
Error: Host notification command 'xi_host_notification_handler' specified for contact 'xi_default_contact' is not defined anywhere!
Error: Global host event handler command 'xi_host_event_handler' is not defined anywhere!
Error: Global service event handler command 'xi_service_event_handler' is not defined anywhere!

Nagios Core 4.4.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-08-16
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Error: There are no services defined!
Checked 0 services.
Error: There are no hosts defined!
Checked 0 hosts.
Checked 0 host groups.
Checked 0 service groups.
Error: Service notification command 'xi_service_notification_handler' specified for contact 'xi_default_contact' is not defined anywhere!
Error: Host notification command 'xi_host_notification_handler' specified for contact 'xi_default_contact' is not defined anywhere!
Checked 1 contacts.
Checked 0 contact groups.
Checked 0 commands.
Checked 1 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 0 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 1 timeperiods
Checking global event handlers...
Error: Global host event handler command 'xi_host_event_handler' is not defined anywhere!
Error: Global service event handler command 'xi_service_event_handler' is not defined anywhere!
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 6

***> One or more problems was encountered while running the pre-flight check...

Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios apply configuration error

Post by lmiltchev »

We would need more information in order to determine what is causing the issue...

Is this a new, fresh install or an upgrade? What version of Nagios XI? What is the operating system/architecture of the machine that you installed Nagios XI on? How did you install it? Are you using a SSL or a proxy? Is you XI in an offline environment? Can you show us the install.log or upgrade.log? What is your specific question?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: nagios apply configuration error

Post by hoegh »

HI Team,

It was detected that there was Nagios crash after update, we restored from old backup & issue resolved.

Please Close this thread.

Thanks
Hoegh
Thanks
Höegh
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios apply configuration error

Post by scottwilkerson »

hoegh wrote:HI Team,

It was detected that there was Nagios crash after update, we restored from old backup & issue resolved.

Please Close this thread.

Thanks
Hoegh
Glad it is resolved!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked