Changeset 3559 for monitoring
- Timestamp:
- 09/12/13 18:13:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
monitoring/plugins/mpi/generic_tla_monitoring.py
r3558 r3559 191 191 #pdb.set_trace() 192 192 193 OpenDJ_uid = pwd.getpwnam('opendj')[2] 194 Nagios_uid = pwd.getpwnam('nagios')[2] 195 193 196 current_process_ID = os.fork() 194 197 195 198 if current_process_ID == 0 : 196 199 ## Child process code 197 198 OpenDJ_uid = pwd.getpwnam('opendj')[2]199 Nagios_uid = pwd.getpwnam('nagios')[2]200 200 201 201 try : … … 213 213 214 214 ## Parent process code. Wait for ldapsearch child process. 215 os.waitpid(c hild_process_ID, 0)215 os.waitpid(current_process_ID, 0) 216 216 217 217 try :
Note: See TracChangeset
for help on using the changeset viewer.