Working and tested version of check_jenkins_nodes.pl