[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Process ID Tracking.
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Process ID Tracking.
- From: "Haertig, David F (Dave)" <haertig (at) avaya.com>
- Date: Tue, 29 Jan 2008 10:24:45 -0700
- References: <D37F185EE956F144A2A48A587C2AF0520D58378B (at) ASHEVS006.mcilink.com>
- Thread-index: AchiiBfVpTbl3Ch6Qlu82cn2wRSMLQAEzWHw
- Thread-topic: [hobbit] Process ID Tracking.
You could write a custom script to do this easily (you'd need to
remember state, but that's easy). I'm not aware of any built-in Hobbit
check that would do this however. Maybe somebody else knows.
Other things to consider trying (using standard Hobbit stuff):
When the process restarts, does it do anything in a logfile? i.e.,
could you have Hobbit search for a restart text message in a logfile?
Is the logfile deleted and recreated at restart? You could have Hobbit
check the timestamp on the logfile possibly. When the process restarts,
does it write it's PID to a file? Check the timestamp of that PID file.
________________________________
From: Moore, Paul [mailto:Paul.Moore (at) verizonbusiness.com]
Sent: Tuesday, January 29, 2008 8:03 AM
To: hobbit (at) hswn.dk
Subject: [hobbit] Process ID Tracking.
Is hobbit capable of tracking the PID of a process that it is watching
for? I am in need of identifying if a process restarts with a new
process id. Several of our applications are self healing but we still
need notification that this did indeed restart. Any suggestions would
be helpful.
Paul Moore