Changeset 2019 for monitoring/plugins/mpi/check_lat_annex.py
- Timestamp:
- 07/10/12 12:11:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
monitoring/plugins/mpi/check_lat_annex.py
r1737 r2019 4 4 5 5 nagios_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 } 10 11 11 12 def usage(): … … 15 16 """ 16 17 nagios_return('UNKNOWN', 17 "usage: {0} -h host".format(sys.argv[0]))18 "usage: %s -h host" % (sys.argv[0])) 18 19 19 20 def nagios_return(code, response):
Note: See TracChangeset
for help on using the changeset viewer.