From: Alex Dehnert Date: Fri, 18 Dec 2009 17:00:45 +0000 (-0500) Subject: Add check-host to facilitate scripts tickets X-Git-Url: https://www.dehnerts.com/gitweb/?p=user%2Falex%2Fsoftware%2Fmy-snippets.git;a=commitdiff_plain;h=d8fac462e4f8eb119d98b1b8a8e89fd47ea78779 Add check-host to facilitate scripts tickets --- diff --git a/Makefile b/Makefile index ff96bc9..f226c21 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ archdir=/mit/$(ATHENA_USER)/arch/ common=$(archdir)/common/ -scripts=bores-me card-access grep-owners ldapfinger list-members list-of-lists-updater lists-lint rt-set rt-resolve +scripts=bores-me card-access grep-owners ldapfinger list-members list-of-lists-updater lists-lint rt-set rt-resolve check-host arches=i386_deb31 i386_deb40 i386_deb50 i386_rhel4 all : install diff --git a/check-host b/check-host new file mode 100755 index 0000000..94d8a76 --- /dev/null +++ b/check-host @@ -0,0 +1,11 @@ +#!/bin/bash +# Alex Dehnert + +for hostname in "$@"; do + echo + echo Now checking $hostname + echo Stella: + stella $hostname.mit.edu + echo Aliases + athrun ops qy ghal $hostname.mit.edu \* +done