Changeset 3051 for monitoring


Ignore:
Timestamp:
06/20/13 14:18:31 (11 years ago)
Author:
bvonstvieth
Message:

former version was only for oai/cql backward-compatible, now it should be for all probes if you call them only with -h.

File:
1 edited

Legend:

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

    r3049 r3051  
    250250        else :
    251251            usage()
    252    
    253     special_main_subroutine(host, url)
     252           
     253    # this is necessary for all old probes (annex, etc).
     254    # -u only works for cql/oai
     255    if url:   
     256        special_main_subroutine(host, url)
     257    else:
     258        special_main_subroutine(host)
    254259
    255260if __name__ == "__main__" :
Note: See TracChangeset for help on using the changeset viewer.