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