Ignore:
Timestamp:
08/15/13 14:10:11 (11 years ago)
Author:
sanmai
Message:
  • Clean up XML namespace handling.
  • Fix check_lat_handle.py to use XML validation on the data, as it is IMDI not HTML.
File:
1 edited

Legend:

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

    r3270 r3385  
    99command_line_parameters = [("-h", "host",),
    1010                           ("-u", "URL",)]
     11IMDI_namespace = "http://www.mpi.nl/IMDI/Schema/IMDI"
    1112
    1213# Warning: old checking condition "if 300 <= r1.status and r1.status < 400:" X-
     
    1617    #result = check_condition(host)
    1718    #generic_tla_monitoring.nagios_return(result['code'], result['message'])
     19
     20    valid_root_element_tag  = "{%s}METATRANSCRIPT" % (OAI_namespace)
    1821
    1922    UP_URLs = (URL,) # X- use frozenset
Note: See TracChangeset for help on using the changeset viewer.