A. Mikkelsen VMware ESX scripts, commands, tools and other nice to know things that will make your virtualization days easier!!!!

Tuesday, April 17, 2007

Health script version 0.009 released

Filed under: Scripting — A. Mikkelsen @ 14:16 pm

Thanks to Nick Rosenberg for helping refine some of the commands.

– Edited the gathering of PermitRootLogin to ignore comments
– Edited my_ntp_server to use sed

1 Comment »

  1. Hi, I think your copy/paste messed up slightly as it has put quotes as full stops in the script.

    Should read:
    my_ntp_server=`grep ^server /etc/ntp.conf|sed -e “s/^server *//”`
    my_ssh_rootlogin=`grep PermitRootLogin /etc/ssh/sshd_config | grep -v “#”`

    Thanks

    Nick

    Comment by Nick Rosenberg — Wednesday, April 18, 2007 @ 17:19 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress