A series of molecular signals initiated by binding of peptidoglycan to a receptor on the surface of the target cell and ending with regulation of a downstream cellular process. The main outcome of the Imd signaling is the production of antimicrobial peptides.