[hobbit] New Version of Admin Scripts (v.0.1.1)

Michael Nemeth michael.nemeth at lmco.com
Fri Jan 5 11:51:10 CET 2007


I  noticed that your still using using :
query=$( $HEAD --bytes="$CONTENT_LENGTH" )
Which is not portable at all.  (its GNU/ linux only)
Rather than :
      read -n $CONTENT_LENGTH query
Is thre any reason NOT to use the read ? 
Have not tested 0.1.1 but saw that its in there.

Also you  should note that #!  must be changed to a   GNU bash, version 
2.05.0(1)  + compatable sh.
ON unix system /bin/sh is either a basic bourne shell or a posix 
enhanced boure.

Thanks for you effort!  I very happy with the veiw graph script; it will 
please my users.  The log view is nice but
IM usualy on  the hobbit sever anyway.  Have not tried the rest , ive no 
pressing need for it any  else and it looks like
it could damage  stuff. 
The chhostservice.sh     script would be handy for me and I maybe thats 
the next one for me to test  but IM hoping that
Henrik  (hint hint!)   can intergrate it into hobbit particularly  on 
the  enable/disable Maintenance page.
I think most of frame work is already there for it.  Note it would be 
nice is the delete test/host  would log some where!


-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth
|  ___| |_____  email(w) michael.nemeth at lmco.com Work: 856 359-1425          
|><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://scorpion/~nemethm/ 
|               Work Page:http://ortfsb/~mnemeth/ 
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the Xymon mailing list