use self.observer_name for the observer_last_run file also
diff --git a/xos/openstack_observer/event_loop.py b/xos/openstack_observer/event_loop.py
index d2492a8..04b5c97 100644
--- a/xos/openstack_observer/event_loop.py
+++ b/xos/openstack_observer/event_loop.py
@@ -447,7 +447,7 @@
self.save_run_times()
loop_end = time.time()
- open('/tmp/observer_last_run','w').write(json.dumps({'last_run': loop_end, 'last_duration':loop_end - loop_start}))
+ open('/tmp/%sobserver_last_run'%self.observer_name,'w').write(json.dumps({'last_run': loop_end, 'last_duration':loop_end - loop_start}))
except Exception, e:
logger.error('Core error. This seems like a misconfiguration or bug: %r. This error will not be relayed to the user!' % e)
logger.log_exc("Exception in observer run loop")