NagiosXI 2014 Problems

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
BenCowan
Posts: 86
Joined: Thu Jul 28, 2011 11:34 am

NagiosXI 2014 Problems

Post by BenCowan »

Not sure where to begin. I stupidly upgraded all my NagiosXI instances to the 2014 R1.0 level today
and I got problems galore. First of all, I noticed that I am not able to disable any of the monitoring
features from the Tactical Display in Core or XI... From Core, it just hangs. In XI, I get the message:

Your request was not processed in a timely manner. It may still execute, as the server may be temporarily busy.

...but nothing ever happens. Also, if I shutdown Nagios, it will not restart due to CONFIG ERROR! The
following configuration verification command reveals the following:

[root@warpath ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting at line 711)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting at line 435)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting at line 791)
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/Win2008_Ping.cfg', starting on line 14)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. 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.

If I deactivate the above Service, it just fails on another, and so on... Oddly,
if I reboot or run restore_xi.sh, then Nagios will restart one time for me.

Does anyone, have any suggestions on how to get out of this mess?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: NagiosXI 2014 Problems

Post by slansing »

You may be in limbo between 2012 and 2014 since you have that config error, you will need to fix what it is telling you, then re-run the upgrade. Navigate to CCM > Services > Win2008 host's ping service, and make sure that it is properly assigned as the verification shows you is failing, then apply configuration.
BenCowan
Posts: 86
Joined: Thu Jul 28, 2011 11:34 am

Re: NagiosXI 2014 Problems

Post by BenCowan »

Thanks, you were right. What a nightmare!

I had to inactivate about 100 Services that had no associated hosts/groups. Seems
stable now.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NagiosXI 2014 Problems

Post by lmiltchev »

Let us know if we can lock the topic and mark it as "resolved". Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked