Changeset 3316 for monitoring


Ignore:
Timestamp:
08/08/13 10:07:26 (11 years ago)
Author:
sanmai
Message:
  • Fix command line argument processing and argument passing for check_clarin.ldap.py .
Location:
monitoring/plugins/mpi
Files:
2 edited

Legend:

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

    r3257 r3316  
    2020
    2121def special_main_subroutine(host,
    22                             bindDN) :
     22                            bind_DN) :
    2323
    24     results = map(lambda UP_URL : generic_tla_monitoring.check_ldap(host = host, \
    25                                                                     bindDN = bindDN, \
    26                                                                     validator = generic_tla_monitoring.check_LDAP_validity, \
    27                                                                     special_plugin_file_name = special_plugin_file_name), \
    28                                                                     (host,)
    29                                                                     ) # X- allow for multiple hosts
     24    results = map(lambda host : generic_tla_monitoring.check_ldap(host = host, \
     25                                                                  bind_DN = bind_DN, \
     26                                                                  #special_plugin_file_name = special_plugin_file_name), \
     27                                                                  (host,)
     28                                                                  ) # X- allow for multiple hosts
    3029   
    3130    generic_tla_monitoring.nagios_return_complex(results,
  • monitoring/plugins/mpi/generic_tla_monitoring.py

    r3315 r3316  
    157157
    158158def check_ldap(host,
    159                bind_DN,
    160                validator,
    161                **validator_arguments) :
     159               bind_DN) :
    162160
    163161    OpenDJ_directory_path = '/srv/LDAP/OpenDJ-2.5.0-Xpress1/'
Note: See TracChangeset for help on using the changeset viewer.