Page 1 of 1
Can see the host but can't configure its services
Posted: Fri Jan 29, 2016 1:02 pm
by wyoder
Hi, All:
We have a host named 'exportrh-00'. It's clearly visible in the "Service Status/Service Detail" list and the "Host Status/Host Detail" list. All good.
I am now trying to increase the number of allowed users using the CCM/Services monitoring screen. Although I can see the service lists for its siblings, exportrh-01, exportrh-02, etc., there is no view of the exportrh-00 Config Name or services in the Services screens. Its services should be almost identical to those of its brothers and sisters.
Could you please help me make the exportrh-00 services visible in the CCM?
Thank you!
Bill Yoder
Re: Can see the host but can't configure its services
Posted: Fri Jan 29, 2016 2:40 pm
by rkennedy
Are you using templates at all?
Can you PM me over a profile for us to review? We should be able to figure out what's going on.
EDIT: profile received.
Re: Can see the host but can't configure its services
Posted: Mon Feb 01, 2016 2:35 pm
by wyoder
Thanks for your help. I've mailed over the profile as requested.
Best,
--Bill
Re: Can see the host but can't configure its services
Posted: Mon Feb 01, 2016 3:41 pm
by rkennedy
I was able to find the file that contained the services, \usr\local\nagios\etc\services\exporth-00.cfg. When you search for 'exportrh-00' in the CCM -> ### Services, are you not seeing anything at all?
Re: Can see the host but can't configure its services
Posted: Tue Feb 02, 2016 10:26 am
by wyoder
We are getting close. Based on your filepath, I took a look in the items in /usr/local/nagios/etc/services/.
The hostname was misspelled! Don't know how it got that way, but it was missing an 'h' as well as its domain name.
So I renamed 'exporth-00.cfg' to 'exportrh-00.clinipace.net.cfg'
After Applying Configuration, I was hoping then to see the exportrh-00 services. Not yet.
Having corrected the hostname in the services subdirectory, are there are other config files I need to update?
Thanks,
--Bill
Re: Can see the host but can't configure its services
Posted: Tue Feb 02, 2016 11:35 am
by lmiltchev
So I renamed 'exporth-00.cfg' to 'exportrh-00.clinipace.net.cfg'
After Applying Configuration, I was hoping then to see the exportrh-00 services. Not yet.
All of the modifications that you make in the CLI will be wiped out when you apply configuration with whatever is in the database. That's why you need to make the changes in the CCM, then apply configuration.
When you search for 'exportrh-00' in the CCM -> ### Services, are you not seeing anything at all?
Re: Can see the host but can't configure its services
Posted: Wed Feb 03, 2016 12:41 pm
by wyoder
"All of the modifications that you make in the CLI will be wiped out when you apply configuration with whatever is in the database. That's why you need to make the changes in the CCM, then apply configuration."
Ahh--makes sense; I understand. Accordingly, I searched in the CCM services for the misspelled set of services for this host, deleted them all, deleted the host, and applied the configuration. Then I used the Linux wizard to set up a new monitor for the host with the correct name. All is well. We're back in business.
Thanks for your help. Please close this support request at your convenience.
--Bill Yoder
Re: Can see the host but can't configure its services
Posted: Wed Feb 03, 2016 12:49 pm
by bwallace
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.