Random Project

Great

It’s what I needed.
The only problem was that it didn’t take the environment variables when used by nagios. If used at command line it worked ok.
So I had to manually add the SGE environment variables like this:
os.environ[‘SGE_ROOT’] = ‘/opt/gridengine’
os.environ[‘SGE_QMASTER_PORT’] = ‘536’
os.environ[‘SGE_CELL’] = ‘default’
os.environ[‘SGE_EXECD_PORT’] = ‘537’