Recognition of pathogens by the innate arm of the immune system.