This moves "zombies" from info to check, and fails if there are 5 or more zombies.
Additionally, I noticed that there is a problem with error checking when using parallel processes.
Because the checks are done in a subprocess, any edits to "errors" aren't reflected in the main check script. Instead, I write a "1" to a temporary file, and use that to check for errors once all the processes have completed.
This moves "zombies" from info to check, and fails if there are 5 or more zombies.
Additionally, I noticed that there is a problem with error checking when using parallel processes.
Because the checks are done in a subprocess, any edits to "errors" aren't reflected in the main check script. Instead, I write a "1" to a temporary file, and use that to check for errors once all the processes have completed.