This commit is contained in:
Páll Guðjón Sigurðsson 2010-09-02 23:42:54 +00:00
parent b118e2c9e9
commit fd83e788bc
1 changed files with 2 additions and 1 deletions

View File

@ -122,6 +122,7 @@ def set_path(path):
path = ";C:\Program Files\Hewlett-Packard\Sanworks\Element Manager for StorageWorks HSV"
path = path + ";C:\Program Files (x86)\Compaq\Hpacucli\Bin\hpacucli.exe"
path = path + ";C:\Program Files\Compaq\Hpacucli\Bin\hpacucli.exe"
print "Tons of path added"
else:
path = ":/usr/local/bin"
current_path = "%s%s" % (current_path,path)
@ -261,12 +262,12 @@ def check(object, field, valid_states = ['OK']):
return state
def main():
set_path('')
if __name__ == '__main__':
main()
set_path('')
check_controllers()
check_logicaldisks()
check_physicaldisks()