Page 1 of 1

Error: Service description, host name, or ...command is NULL

Posted: Tue May 19, 2015 8:56 am
by gsl_ops_practice
Below is the error received while "Apply Configuration" in the Nagios XI GUI.
************************************
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services/backup-server-sin.cfg', starting on line 185)
************************************
* Tried to check in host.cfg, hostgroups.cfg all fine
* In backup-server-sin.cfg file, line 185 is empty line
* Tried to remove couple of services from backup-server-sin hosts still the same issue

Re: Error: Service description, host name, or ...command is

Posted: Tue May 19, 2015 9:14 am
by gsl_ops_practice
Fixed ,

In /usr/local/nagiosxi/scripts/restart_nagios_with_export.sh

From
sudo $BASEDIR/manage_services.sh restart nagios


To
$BASEDIR/manage_services.sh restart nagios

Re: Error: Service description, host name, or ...command is

Posted: Tue May 19, 2015 9:19 am
by tmcdonald
I believe this is correctly set in the latest release.

Are we clear to close this thread?