I upgraded Nagios core v3.x to Nagios v4.0.8. I imported all config files from old version and now config check is failing. I have following debug settings in nagios.cfg file but nothing is being collected when I use nagios -v nagios.cfg
debug_level=2048 # Also tried with -1
debug_verbosity=2
debug_file=/usr/local/nagios/var/nagios.debug
max_debug_file_size=1000000
Appreciate your help in advance.
I am getting following error during configuration check:
Error: Service escalation host name or description is NULL
Error: Could not register service escalation (config file '/usr/local/nagios/etc/objects/hosts/xxxdbtst.cfg', starting on line 15)
Error processing object config files!
Debug nagios config check
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Debug nagios config check
There will likely be no debug information created for a config verification, you need to fix the errors being output that you showed:
"Error: Service escalation host name or description is NULL"
Then you should be able to start Nagios. You are likely missing either the host name, description, or both at around line 15 of:
"Error: Service escalation host name or description is NULL"
Then you should be able to start Nagios. You are likely missing either the host name, description, or both at around line 15 of:
Code: Select all
/usr/local/nagios/etc/objects/hosts/xxxdbtst.cfg