goetzk / ansible-shinken

Ansible configuration role for Shinken monitoring system
1 stars 2 forks source link

Validity check configuration before reloading #8

Closed goetzk closed 7 years ago

goetzk commented 7 years ago

Make reload commands run a configuration validity check before running the reload to ensure the service isn't taken down with broken config.

Allows me to remove any attempts to validate complex configs in Ansible and leaves it as the configurers problem. I Don't like making it other peoples problem but the Nagios config format is just too complex to sensibly handle here

goetzk commented 7 years ago

Looks like sudo service shinken check can be used to do the checking.

goetzk commented 7 years ago

http://shinken.readthedocs.io/en/latest/04_runningshinken/verifyconfig.html for shinken arbiter specifically.

goetzk commented 7 years ago

I fixed this (for real...) in 7fd24de7deb25dd49f414acdb254f69addc2f863