Reworked diagnostics updates to support traffic separation

Sorry. last minute cut and paste error that was not detectable during test since $namespace_prefix is always undefined in the script. Yes, the intent for that ping to run in the default namespace.