cannot save configuration changes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

cannot save configuration changes

Post by srikanth.kallu »

Not able to change configuration changes

I als0 tried this from CCM, but not able to save there as well.
You do not have the required permissions to view the files attached to this post.
kruserm
Posts: 19
Joined: Thu Aug 02, 2012 2:41 pm

Re: cannot save configuration changes

Post by kruserm »

Click on 'View the latest configuration snapshots' and click on the view output button. This will give you info as to what it errored out on. I just had one recently where I had to delete the service, save the config, then re-add the service. Not sure what happened as that client/service had been configured for some time now. If that doesnt work post the log.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: cannot save configuration changes

Post by scottwilkerson »

kruserm is correct, you can also go to Configure -> CCM -> Tools -> Write config files
and click
Write
Verify

Look to see what the error is, and fix the error before proceeding.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
srikanth.kallu
Posts: 243
Joined: Thu Jul 26, 2012 10:48 am

Re: cannot save configuration changes

Post by srikanth.kallu »

Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'check filesize' on host 'b4sl01'
Error: Could not register service (config file '/usr/local/nagios/etc/services/b4sl01.cfg', starting on line 30)
Error processing object config files!

I think i tried to edit this file which i shouldnt, I was trying to define a service there whch i was not successfull.

Now is there any way to delete that service because " Nagios QL will overwite all manual settings during the next update ".
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: cannot save configuration changes

Post by slansing »

You must set the following values on that service from the CCM then run the above steps again:

Code: Select all

max_attempts, check_interval, retry_interval, or notification_interval value
Locked