use static_ip instead of fdqn;
remove -csv option from db-exec which encloses result with unwanted '"';