Ignore:
Timestamp:
07/10/12 12:11:48 (12 years ago)
Author:
Sander_Maijers
Message:
  • Add Nagios monitoring plugins for SAML and OAI-PMH (XML validation).
  • Increase robustness of the current simple XML data well-formedness/validity checks, for in case the XML data is non-well-formed.
  • Some small string and message improvements.
File:
1 edited

Legend:

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

    r1737 r2019  
    44
    55nagios_codes = {'OK': 0,
    6 'WARNING': 1,
    7 'CRITICAL': 2,
    8 'UNKNOWN': 3,
    9 'DEPENDENT': 4}
     6                'WARNING': 1,
     7                'CRITICAL': 2,
     8                'UNKNOWN': 3,
     9                'DEPENDENT': 4
     10                }
    1011
    1112def usage():
     
    1516    """
    1617    nagios_return('UNKNOWN',
    17             "usage: {0} -h host".format(sys.argv[0]))
     18            "usage: %s -h host" % (sys.argv[0]))
    1819
    1920def nagios_return(code, response):
Note: See TracChangeset for help on using the changeset viewer.