Can't Delete Service in CCM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
J.T.
Posts: 11
Joined: Wed Jun 10, 2015 8:35 am

Re: Can't Delete Service in CCM

Post by J.T. »

I tried the stopping and starting commands you listed and they did not help.

I ran the other commands you listed and attached two pictures of the output.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can't Delete Service in CCM

Post by lmiltchev »

Do you see the service when you log in Nagios Core?

Code: Select all

http://ip address/nagios
Do you have any errors in the mysqld.log?

Code: Select all

tail -50 /var/log/mysqld.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
J.T.
Posts: 11
Joined: Wed Jun 10, 2015 8:35 am

Re: Can't Delete Service in CCM

Post by J.T. »

I tried accessing Nagios Core, but my credentials are not working with it for some reason, and I tried to search for any errors using that code and I could not find any.

Sorry I can't provide you with much information, it is just a confusing situation, and I really have no idea what can be causing it.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Can't Delete Service in CCM

Post by tgriep »

Can you run the following and post back the output?

Code: Select all

grep "Dell Check" /usr/local/nagios/etc/
tail -50 /var/log/mysqld.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
J.T.
Posts: 11
Joined: Wed Jun 10, 2015 8:35 am

Re: Can't Delete Service in CCM

Post by J.T. »

I just ran both of the commands you said and the first one didn't output anything. I attached both of them, let me know what you think.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can't Delete Service in CCM

Post by lmiltchev »

I see that you post on the "General Support" forum but are you by chance a customer? It would be easier to further troubleshoot the issue if we did a remote session.

If you are a customer, you can open a new support ticket in our email ticketing system by sending an email to [email protected].

If this is not an option for you, go to:

Admin->System Profile->Download Profile, save and PM me (or anyone else on the Nagios Tech Support team) the "profile.zip". We will look through the configs and log files and will try to determine what is causing the issue. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can't Delete Service in CCM

Post by lmiltchev »

We looked through the configs and found out that there are multiple "Dell Check" services applied to the "Indiana Harbor" hostgroup. The service shows up under the "ihe-testnagios" as this host is a member of "Indiana Harbor". You will need to go to CCM->Hostgroups->Indiana Harbor->Manage Hosts, remove the "ihe-testnagios", save, and apply configuration. After doing this, the service should no longer show up under the "ihe-testnagios" host.

Let me know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
J.T.
Posts: 11
Joined: Wed Jun 10, 2015 8:35 am

Re: Can't Delete Service in CCM

Post by J.T. »

This solved the problem, thank you so much.
J.T.
Posts: 11
Joined: Wed Jun 10, 2015 8:35 am

Re: Can't Delete Service in CCM

Post by J.T. »

Instead of creating a service for each individual server, would it be a better idea to make one "Dell Check" service and add all of my Dell servers to that?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Can't Delete Service in CCM

Post by lmiltchev »

This solved the problem, thank you so much.
I am glad I could help! Is it OK to close this thread?
Instead of creating a service for each individual server, would it be a better idea to make one "Dell Check" service and add all of my Dell servers to that?
You can create a service, then either add it to multiple hosts (CCM->Services->...->Manage Hosts) or add it to a hostgroup (CCM->Services->...->Manage Hostgroups). If you add it to a hostgroup, the service will be added to each host, that is member of this hostgroup. As you keep adding new members to the hostgroup, the service will be added automatically to each new member.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked