File Permissions for Log

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
thomasjbs
Posts: 3
Joined: Sun Apr 27, 2014 4:22 pm

File Permissions for Log

Post by thomasjbs »

1) Applying config results in "Configurations failed to write to file."

No Log files are created, so it looks like a permission issue. Which file can it not write too?

2) How can I reset the "Unapplied" configuration? I added a Cisco Switch (SNMP) and it added 1000+ non-existent ports. The switch has 52.
I tried deleting them from the Core Config gui and it says it deleted them, but they are still there.

Edit: Found the problem.

For some reason (perhaps by design), setting the LIMIT RESULTS to "None" limit (none) vs (15,100,200) affected the WITH CHECKED option. Once I set the "limit results" option to 250, it allowed me to delete 250 records at a time.

Once I got rid of the bogus PORTs, the config applied successfully.

NOTE HOWEVER, the log still failed and probably should not have.
Last edited by slansing on Mon Apr 28, 2014 11:23 am, edited 2 times in total.
Reason: Please do not double post, edit your previous post to add more information, it actually places you lower on our list due to age.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: File Permissions for Log

Post by slansing »

Apply configuration fails if you have a configuration error, or you cannot connect to the database, to check for errors use CCM > Tools > Write Config Tools > Write --> Verify. This will show you what you need to fix in the future.
Locked