Changeset 3563 for monitoring


Ignore:
Timestamp:
09/12/13 18:51:15 (11 years ago)
Author:
sanmai
Message:
  • Fix privilege gain and loss function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • monitoring/plugins/mpi/generic_tla_monitoring.py

    r3562 r3563  
    219219         
    220220          if process.returncode == 0 :
    221               LDAP_result_queue.put(True)
     221              return True
     222              #LDAP_result_queue.put(True)
    222223          else :
    223               LDAP_result_queue.put(False)
     224              return False
     225              #LDAP_result_queue.put(False)
    224226
    225227
     
    227229    # LDAP_query_process = multiprocessing.Process(target = LDAP_query, args = (OpenDJ_uid, command, LDAP_result_queue))
    228230    # LDAP_query_process.start()
    229     result = LDAP_result_queue.get()
     231    # result = LDAP_result_queue.get()
    230232    # LDAP_query_process.join()
    231233
    232     LDAP_query(OpenDJ_uid, command, LDAP_result_queue)
     234    result = LDAP_query(OpenDJ_uid, command, LDAP_result_queue)
    233235
    234236    if result == True:
Note: See TracChangeset for help on using the changeset viewer.