A theoretical investigation is made on the formation as well as basic properties of dust-ion-acoustic (DIA) shock waves in a magnetized nonthermal dusty plasma consisting of immobile charge fluctuating dust, inertial ion fluid and nonthermal electrons. The reductive perturbation method is employed to derive the Korteweg-de Vries-Burgers equation governing the DIA shock waves. The combined effects of external static magnetic field, obliqueness, nonthermal electron distribution and dust charge fluctuation on the DIA shock waves are also investigated. It is shown that the dust charge fluctuation is a source of dissipation, and is responsible for the formation of the DIA shock waves. It is also observed that the combined effects of obliqueness, nonthermal electron distribution and dust charge fluctuation significantly modify the basic properties of the DIA shock waves. The implications of our results in space and laboratory dusty plasma situations are briefly discussed.