Page 1 of 1

Apply configuration not working .

Posted: Fri Jun 08, 2018 5:45 am
by radhika
Hi Team ,

Kindly guide , the apply configuration is not working for my nagios XI . its throwing back a error for a service that is not in monitoring currently.

Steps taken to solve.
1.Tried restoring the last last snapshort .
2.Tried delete the file , write it following up verify and restarting nagios core services from console .
3.Check on the server end , and killed and restarted nagios services .
4.Tried repairing the db services .

Still getting the error , let me know what else i can do to resolve it .
"Error: Could not find any host matching 'lpdverp05.kc1.broadcom.net' (config file '/usr/local/nagios/etc/services/lpdverp05.kc1.broadcom.net.cfg', starting on line 168)
Error: Failed to expand host list 'lpdverp05.kc1.broadcom.net' for service 'Swap Usage' (/usr/local/nagios/etc/services/lpdverp05.kc1.broadcom.net.cfg:168)"

radhika

Re: Apply configuration not working .

Posted: Fri Jun 08, 2018 1:45 pm
by npolovenko
Hello, @radhika.

In XI web interface please go to Configure -> Core Configurations Manager, then click on Tools -> Config File Management in the left column. Then perform the following actions in order:
1)Write
2)Delete
3)Write
4)Verify

Right after that please copy and upload the following file(do not click on the Apply Configuration):

Code: Select all

/usr/local/nagios/etc/services/lpdverp05.kc1.broadcom.net.cfg

Re: Apply configuration not working .

Posted: Mon Jun 11, 2018 6:08 am
by radhika
Hi @ npolovenko

We had tried the steps that were provide , but still getting the same error .
we are not able to apply any configurations , can you please provide any further resolution steps .

Re: Apply configuration not working .

Posted: Mon Jun 11, 2018 3:32 pm
by scottwilkerson
First - Do you expect Nagios should be monitoring lpdverp05.kc1.broadcom.net ?

Re: Apply configuration not working .

Posted: Tue Jun 12, 2018 5:09 am
by radhika
yes , it should .

Re: Apply configuration not working .

Posted: Tue Jun 12, 2018 5:11 am
by radhika
Can anyone tell me why these errors are occurring ?

Re: Apply configuration not working .

Posted: Tue Jun 12, 2018 2:32 pm
by scottwilkerson
Can you go to Configure -> CCM -> Hosts - lpdverp05.kc1.broadcom.net
Can you verify that the host exists, and also that it is marked "Active"?

Re: Apply configuration not working .

Posted: Tue Jun 12, 2018 10:28 pm
by radhika
Hi ,

Yes its in monitoring and is active ,however the error is not going away , can i get the resolution a little quicker as productivity is getting effected.

Re: Apply configuration not working .

Posted: Wed Jun 13, 2018 8:31 am
by scottwilkerson
radhika wrote:Hi ,

Yes its in monitoring and is active ,however the error is not going away , can i get the resolution a little quicker as productivity is getting effected.
If you have a support contract I would recommend opening a ticket for faster resolution
https://support.nagios.com/tickets/