Changeset 1303 for trunk/noc/nagios/scripts-plugins/check_svn
- Timestamp:
- Aug 17, 2009, 10:00:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/noc/nagios/scripts-plugins/check_svn
r900 r1303 46 46 DEFAULT_TIMEOUT = 10 47 47 48 processes = [] 48 49 49 50 def end(status, message): 50 51 """Prints a message and exits. First arg is the status code 51 52 Second Arg is the string message""" 53 54 for process in processes: 55 try: 56 process.kill() 57 except: 58 pass 52 59 53 60 check_name = "SVN " … … 203 210 stdout=PIPE, 204 211 stderr=STDOUT ) 212 processes.append(process) 205 213 except OSError, error: 206 214 error = str(error)
Note: See TracChangeset
for help on using the changeset viewer.