I've started using the check_procs plugin to monitor a few processes (java, mysql). It works good, but during the process of setting it up I renamed the service from check_java to blackduck_java. That actually worked good but I still have the old service name listed under services. This is distracting to some users who are monitoring these hosts. Is there anyway to remove these legacy services from the display?
EDIT:
Nagios version is 4.1.1
Host and remote are both Centos 6.5
Renamed service
Re: Renamed service
After renaming it, it shouldn't be there still. Do you have multiple processes running by any chance? Please run the following and post back the output - ps -ef | grep 'nagios'
Also, please attach your /usr/local/nagios/var/objects.cache file for us to look at. What is the host / service that shouldn't be there?
Also, please attach your /usr/local/nagios/var/objects.cache file for us to look at. What is the host / service that shouldn't be there?
Former Nagios Employee
Re: Renamed service
Hey, thanks for replying. Found the error in the host's config file on the monitoring server. I usually self check pretty hard before posting and missed this somehow. Thanks for the debugging tips though, I'm sure I'll use those in the future.
R
R
Re: Renamed service
No problem. The objects.cache file is really handy as it'll show how Nagios has compiled all of your hosts / services together after templates.rdubya wrote:Hey, thanks for replying. Found the error in the host's config file on the monitoring server. I usually self check pretty hard before posting and missed this somehow. Thanks for the debugging tips though, I'm sure I'll use those in the future.
R
Are we good to mark this thread as resolved?
Former Nagios Employee