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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

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

Post 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
Last edited by gsl_ops_practice on Tue May 19, 2015 9:15 am, edited 1 time in total.
gsl_ops_practice
Posts: 151
Joined: Thu Apr 09, 2015 9:14 pm

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

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

I believe this is correctly set in the latest release.

Are we clear to close this thread?
Former Nagios employee
Locked