I have to remove custom HTTP check from nagios so commented check_http part in two files namely 1. commands.cfg 2. services.cfg
However when I restarted server, I get following error.
Checking objects...
Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere!
Checked 225 services.
Checked 66 hosts.
Checked 11 host groups.
Checked 6 service groups.
Checked 16 contacts.
Checked 21 contact groups.
Checked 29 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 66 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
So kindly assist to resolve this issue.