I created a simply script that just ran 'env > /opt/zenoss/libexec/env.txt' and got this output
_=/bin/env
PWD=/
SHLVL=2
which makes a lot of sense why the script won't run but why would running a command from notification have no environment?