Sun Grid Engine

Bookmark and Share

Rating
1 vote
Favoured:
0
Hits
86256
Files:
FileDescription
check_sge.pysge python
check_sge - plugin for nagios to check the status of a host and its queues with SGE.
Reviews (1)
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'