Shock wave generation triggered by a weak background in optical fibers