Code: Select all
/etc/nagios/objects/computers/hotels/amcourt.cfg: host_name Amsterdam Court
/etc/nagios/objects/computers/hotels/amcourt.cfg: host_name Amsterdam Court
/etc/nagios/objects/computers/hotels/amcourt.cfg: host_name Amsterdam Court
ahgmonitor:~ # grep -R 'AMCourt innGate' /etc/nagios/objects/* | grep -i 'host_name'
/etc/nagios/objects/devices/inngates/ant_amcourt.cfg: host_name AMCourt innGate
ahgmonitor:~ #
Code: Select all
Would those be the files? "Amsterdam Court and AMCourt innGate"
To make it clear "I do not want to remove the Amcourt parent" I want to remove the Amcourt inngate without crashing the whole system.
amcourt.cfg below
Code: Select all
parents AH-AMCourt
}
5>
define service{
use generic-service
host_name Amsterdam Court
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l C -w 80 -c 90
notification_interval 1440
notification_options w,r
notification_period work-holiday
servicegroups drivespace
}
{>
(>define service{
use generic-service
host_name Amsterdam Court
service_description D:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l D -w 90 -c 95
notification_interval 1440
notification_options w,r
.> notification_period work-holiday
Code: Select all
I wanted to remove the .cfg to this node "sw_amct.cfg" nothing more. would commenting #AH-Parent out of those two files remove whole site?
or maybe I need to make a different object the parent?