Regarding Update "Apply configurations"

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Regarding Update "Apply configurations"

Postby ashok.verma » Wed Oct 06, 2021 9:11 pm

I have deleted host & Services from Nagios Xi -ISKVVSP01

But when we apply configuration using CCM it is showing below error..
-Error: Invalid max_check_attempts value for host 'ISKVVSP01'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/ISKVVSP01.cfg', starting on line 16)

i have already check -/usr/local/nagios/etc/hosts & /usr/local/nagios/etc/services. No ISKVVSP01.cfg file available inside this location.

Please help us
...
ashok.verma
 
Posts: 10
Joined: Tue May 25, 2021 7:24 am

Re: Regarding Update "Apply configurations"

Postby gormank » Thu Oct 07, 2021 3:14 pm

Have a look at max_check_attempts for the host in CCM.
gormank
 
Posts: 911
Joined: Tue Dec 02, 2014 12:00 pm

Re: Regarding Update "Apply configurations"

Postby mcapra » Thu Oct 07, 2021 6:17 pm

If you're confident all objects associated with the ISKVVSP01 host have been deleted, you could try a "delete, write, verify":

tgriep wrote:Login to the XI GUI and go to the Core Config Manager

Under "Tools", click "Write Config Files" or if you are running a newer versions of XI, The menu is called "Config File Management"
Click on the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button.
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after ALL of the errors are resolved.
Former Nagios employee
https://www.mcapra.com/
User avatar
mcapra
 
Posts: 3726
Joined: Thu May 05, 2016 3:54 pm

Re: Regarding Update "Apply configurations"

Postby benjaminsmith » Wed Oct 13, 2021 5:03 pm

HI ashok.verma,

Were you able to get it worked out? Let us know when you have a minute.

Thanks,
Benjamin
Nagios Support Team
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benjaminsmith
 
Posts: 5206
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Regarding Update "Apply configurations"

Postby ashok.verma » Wed Oct 13, 2021 9:08 pm

Thanks , it is working fine
ashok.verma
 
Posts: 10
Joined: Tue May 25, 2021 7:24 am


Return to Community Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 13 guests