Ignore:
Timestamp:
08/06/13 14:16:15 (11 years ago)
Author:
sanmai
Message:
  • Adapt monitoring plugins to new command line argument processing.
  • Fix MPI monitoring checks table so that every check is on a separate line.
File:
1 edited

Legend:

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

    r3043 r3270  
    77special_plugin_description = "IMDI browser"
    88special_plugin_file_name = os.path.basename(__file__)
     9command_line_parameters = [("-h", "host",),
     10                           ("-u", "URL",)]
    911
    10 def special_main_subroutine(host) :
     12def special_main_subroutine(host, URL) :
    1113
    12     UP_URLs = ('/ds/imdi_browser/viewcontroller?request=view&nodeid=MPI299144%23',)
     14    UP_URLs = (URL,)
    1315    #UP_URLs_encoded  = urllib.parse.quote_plus()
    1416
     
    3032
    3133if __name__ == "__main__" :
    32     generic_tla_monitoring.main(special_main_subroutine)
     34    generic_tla_monitoring.main(special_main_subroutine,
     35                                command_line_parameters)
Note: See TracChangeset for help on using the changeset viewer.