* Using audit for service monitoring...
[not found] <20060928160020.D6AB3732D6@hormel.redhat.com>
@ 2006-09-28 20:29 ` Randy Zagar
2006-09-28 20:46 ` Steve Grubb
0 siblings, 1 reply; 2+ messages in thread
From: Randy Zagar @ 2006-09-28 20:29 UTC (permalink / raw)
To: linux-audit
If I wanted to use the audit subsystem to log something like stale NFS
handles, would this work?
# ESTALE == -13
auditctl -a exit,always -S all -F exit=-13
More importantly, is this an appropriate use of the audit subsystem, or
should I be doing this some other way?
If this is the right way to do it, how can I easily determine which
syscalls can return ESTALE? Using '-S all' seems wasteful...
Suggestions always welcome,
-RZ
--
Randy Zagar Sr. Unix Systems Administrator
E-mail: zagar@arlut.utexas.edu Applied Research Laboratories
Phone: 512 835-3131 Univ. of Texas at Austin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using audit for service monitoring...
2006-09-28 20:29 ` Using audit for service monitoring Randy Zagar
@ 2006-09-28 20:46 ` Steve Grubb
0 siblings, 0 replies; 2+ messages in thread
From: Steve Grubb @ 2006-09-28 20:46 UTC (permalink / raw)
To: linux-audit, Randy Zagar
On Thursday 28 September 2006 16:29, Randy Zagar wrote:
> More importantly, is this an appropriate use of the audit subsystem, or
> should I be doing this some other way?
Generally, the audit system is used for logging security relevant artifacts.
But its been used for bootup readahead analysis, too. So, you could use it
for this, but you might get more data than you want. Try it and see.
> If this is the right way to do it, how can I easily determine which
> syscalls can return ESTALE? Using '-S all' seems wasteful...
Maybe you can try "auditctl -a exit,always -F perm=all -F exit=-13"
perm selects filesystem classes of syscalls.
-Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-28 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060928160020.D6AB3732D6@hormel.redhat.com>
2006-09-28 20:29 ` Using audit for service monitoring Randy Zagar
2006-09-28 20:46 ` Steve Grubb
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.