Script to create nagios config

database connect & beginning parsing(not finished)