CFG File Error - Service has no hosts and/or service_descrip

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

CFG File Error - Service has no hosts and/or service_descrip

Post by awilson »

Hi. We created the following service configuration using the snmp wizard. We are not able to apply the configuration. There are other service configs with the same host name. Is there an error in this configuration?

define service {
host_name ourhost.company.com
use xiwizard_snmp_service
check_command check_xi_service_snmp! -o .1.3.6.1.4.1.9.9.109.1.1.1.1.8.1 -C *N4gi0s* -P 2c
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 0
contacts pgaikwad
_xiwizard snmp
register 1
}

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

Re: CFG File Error - Service has no hosts and/or service_des

Post by scottwilkerson »

Can you click the show errors on the Apply "Configuration" page and show that output.

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: CFG File Error - Service has no hosts and/or service_des

Post by awilson »

Sorry for not getting back to this. We ended up backing that configuration out.

This can be closed. Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: CFG File Error - Service has no hosts and/or service_des

Post by scottwilkerson »

awilson wrote:Sorry for not getting back to this. We ended up backing that configuration out.

This can be closed. Thanks.
Closing
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked