Changeset 3555 for monitoring/plugins/mpi/check_clarin_vlo.py
- Timestamp:
- 09/12/13 15:37:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
monitoring/plugins/mpi/check_clarin_vlo.py
r3267 r3555 8 8 9 9 command_line_parameters = [("-h", "host",), 10 ("-u", " URL",)]10 ("-u", "http_path",)] 11 11 12 def special_main_subroutine(host, URL) :12 def special_main_subroutine(host, http_path) : 13 13 #result = test_case(host); 14 14 #result = check_condition(host) 15 15 #generic_tla_monitoring.nagios_return(result['code'], result['message']) 16 16 17 UP_URLs = (URL,) # X- use frozenset17 http_path = (http_path,) # X- use frozenset 18 18 19 # Check status for all UP_URLs.19 # Check status for all http_path. 20 20 results = \ 21 map(lambda UP_URL : generic_tla_monitoring.check_condition(host = host, 22 UP_URL = UP_URL, 23 HTTP_method = "GET", 24 validator = generic_tla_monitoring.check_HTML_wellformedness, 25 special_plugin_file_name = special_plugin_file_name), 26 UP_URLs) 21 map(lambda http_path : generic_tla_monitoring.check_condition(host = host, 22 http_path = http_path, 23 HTTP_method = "GET", 24 port_number = 80, 25 authorize = True, 26 validator = generic_tla_monitoring.check_HTML_wellformedness, 27 special_plugin_file_name = special_plugin_file_name), 28 http_path) 27 29 28 30 generic_tla_monitoring.nagios_return_complex(results,
Note: See TracChangeset
for help on using the changeset viewer.