The subject invention is directed toward antimicrobial agents and methods of treating and preventing infection by pathogenic microorganisms and endophytic microorganisms in a plant through the use of SecA inhibitors. According to one embodiment, the method determines if a braking event is underway and, if so, it measures humidity and brake temperature. The present invention is applicable to M2M communication.