Fail on apply config reverts config but not database
Posted: Wed Mar 26, 2014 10:06 am
Subject says it all, really. I just ran into this again. I removed (deleted) a host from our Nagios instance (2012R2.9) and then ran the apply configuration. The apply failed because there was a dependency I wasn't aware of. No big deal, I went in and resolved the dependency. Apply the config again which succeeded. However, the host is still being monitored because the .cfg file still exists.
From what I'm seeing, the config files are reverted, but the database isn't reverted. Without the database being reverted, it appears that the only way to resolve this is to manually delete the .cfg file from the file system.
This appears to be similar to this locked topic :
http://support.nagios.com/forum/viewtop ... ot+removed
Is this a known issue? I seem to remember it being brought up before, but I'm not sure I've ever seen a resolution.
From what I'm seeing, the config files are reverted, but the database isn't reverted. Without the database being reverted, it appears that the only way to resolve this is to manually delete the .cfg file from the file system.
This appears to be similar to this locked topic :
http://support.nagios.com/forum/viewtop ... ot+removed
Is this a known issue? I seem to remember it being brought up before, but I'm not sure I've ever seen a resolution.