Changeset 4047 for monitoring/plugins/mpi/check_clarin_discojuice_json.py
- Timestamp:
- 11/19/13 11:13:07 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
monitoring/plugins/mpi/check_clarin_discojuice_json.py
r3555 r4047 8 8 special_plugin_file_name = os.path.basename(__file__) 9 9 command_line_parameters = [("-h", "host",), 10 ("-u", "http_path",)] 10 ("-u", "http_path",), 11 ("-p", "port_number",)] 11 12 12 13 13 def special_main_subroutine(host, http_path) : 14 def special_main_subroutine(host, 15 http_path, 16 port_number) : 14 17 15 18 http_paths = (http_path,) 16 19 17 # Check status for all http_paths.20 ## Check status for all http_paths. 18 21 results = \ 19 22 map(lambda http_path : generic_tla_monitoring.check_condition(host = host, 20 23 http_path = http_path, 21 24 HTTP_method = "GET", 22 port_number = 80,25 port_number = port_number, 23 26 authorize = True, 24 27 validator = generic_tla_monitoring.check_JSON_wellformedness,
Note: See TracChangeset
for help on using the changeset viewer.