Hi,
so, reconfiguration via GUI does not work.
Following error is thrown:
Error: Invalid host object directive 'var1'.
Error: Could not add object property in file '/usr/local/nagios/etc/hosts/FAKE-NAME-SEVER.cfg' on line 25.
FAKE-NAME-SERVER does not exist any more. We even went ahead and manually removed it from mariadb nagios_objects, to no avail.
It does not exist anywhere except .log files.
Maybe ndo2db? Any ideas?
Btw. when we do reconfigure_nagios.sh from shell, it works fine, only over GUI it fails.
Could not add object property in file
Re: Could not add object property in file
That's not the correct database for object configs, and we strongly discourage direct database manipulation as it can seriously harm the system if not done properly.ibnetworking wrote:We even went ahead and manually removed it from mariadb nagios_objects, to no avail.
Go to Configure -> Core Config Manager, then on the left under Tools click Config File Management (or Write Config Files in earlier versions). Then click Delete, then Write, then Verify and post a screenshot.
Then attach a copy of the config file which it complains about (make sure to censor any sensitive info).
Former Nagios employee