Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
gustavoberman
bygustavoberman, May 5, 2010
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'
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'