Changeset 3269 for monitoring


Ignore:
Timestamp:
08/06/13 14:00:05 (11 years ago)
Author:
sanmai
Message:
  • Adapt to new command line processing.
File:
1 edited

Legend:

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

    r3043 r3269  
    77special_plugin_description      = "Lexus"
    88special_plugin_file_name        = os.path.basename(__file__)
     9command_line_parameters = [("-h", "host",),
     10                           ("-u", "URL",)]
    911
    10 def special_main_subroutine(host) :
    1112
    12     UP_URLs          = ('/mpi/lexusDojo/',) # X- use frozenset
     13def special_main_subroutine(host, URL) :
     14
     15    UP_URLs          = (URL,) # X- use frozenset
    1316   
    1417    # Check status for all UP_URLs.
     
    2326
    2427if __name__ == "__main__" :
    25     generic_tla_monitoring.main(special_main_subroutine)
     28    generic_tla_monitoring.main(special_main_subroutine,
     29                                command_line_parameters)
    2630   
Note: See TracChangeset for help on using the changeset viewer.