Health script version 0.008 released

By | April 16, 2007

Dafa has done it again and added:

– Added show number of cpu cores and KHz

2 thoughts on “Health script version 0.008 released

  1. Nick Rosenberg

    Great script although I found a small problem with the way you pull out the ntp servers from the ntp.conf using tr. A better way is to use sed so the line becomes:
    my_ntp_server=`grep ^server /etc/ntp.conf|sed -e ‘s/^server *//’`

    Additionally changing the check for ssh rootlogin to ignore comments is a bit cleaner (at least in my environment)

    my_ssh_rootlogin=`grep PermitRootLogin /etc/ssh/sshd_config | grep -v ‘#’`

    Thanks

    Nick

Leave a Reply

Your email address will not be published. Required fields are marked *