Changeset 3270 for monitoring/plugins/mpi/check_clarin_discojuice_json.py
- Timestamp:
- 08/06/13 14:16:15 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
monitoring/plugins/mpi/check_clarin_discojuice_json.py
r3242 r3270 4 4 import os, pdb 5 5 6 6 7 special_plugin_description = "Discojuice JSON" 7 8 special_plugin_file_name = os.path.basename(__file__) 9 command_line_parameters = [("-h", "host",), 10 ("-u", "URL",)] 8 11 9 12 10 def special_main_subroutine(host ) :11 UP_URLs = ("/discojuice/metadata_clarin1.json", 12 "/discojuice/metadata_clarin2.json",)13 def special_main_subroutine(host, URL) : 14 15 UP_URLs = (URL,) 13 16 14 17 # Check status for all UP_URLs. … … 25 28 26 29 if __name__ == "__main__" : 27 generic_tla_monitoring.main(special_main_subroutine) 30 generic_tla_monitoring.main(special_main_subroutine, 31 command_line_parameters)
Note: See TracChangeset
for help on using the changeset viewer.