* Michael Goff <michael.goff at sun.com> [2007-03-16 18:18]: > I'd like to be able to tell when my monitored service is restarted as a > result of its process dying vs. started normally upon boot. I've done > some tracing, and it seems that the start/stop methods are called with > the same SMF_FMRI, SMF_METHOD, and SMF_RESTARTER settings in either > case. The %r %m %s %i %f parameter values are also the same. When you say "I", do you mean you as a human operator, you as an administrative tool, or you as any subsequent invocation of the service?
> Is there anything else I can check? The only evidence I see of a fault > is in the log for that service: > > [ Mar 17 00:23:27 Stopping because process received fatal signal from > outside the service. ] > > but I really don't want to have to log scrape or keep state files. I believe we'll need either to determine how to integrate these events with FMA, or introduce some additional interface, depending on the set of information and circumstances involved. - Stephen -- Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems stephen.hahn at sun.com http://blogs.sun.com/sch/