Create nagios config from database