Zenoss API Shell / Bash script