Can't delete service or host
Posted: Thu Sep 04, 2014 2:53 pm
Hi,
I'm having trouble delete one host and it's related service.
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/antek-server.cfg', starting on line 16)
Here are the contents of the file
Nagios XI Version : 2014R1.4
2.6.32-220.23.1.el6.i686 i686
CentOS release 6.2 (Final)
I'm having trouble delete one host and it's related service.
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/antek-server.cfg', starting on line 16)
Here are the contents of the file
Code: Select all
###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2014-06-04 13:24:21
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################
define service {
host_name antek-server
service_description Ping
use xiwizard_windowsserver_ping_service
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts nagiosadmin
_xiwizard windowsserver
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
2.6.32-220.23.1.el6.i686 i686
CentOS release 6.2 (Final)