I hear Jim's going to release the nfscheck.monitor he wrote into the mon-contrib tree which is the same basic logic as what I wrote, but implemented in a far cleaner way.
On the topic of NFS; the next step would be to do a compare between mtab and fstab and alert if everything you thought was mounted actually wasn't; seems pretty trivial, but anyone already have something written up? --Augie On Tue, Apr 1, 2008 at 5:02 PM, Augie Schwer <[EMAIL PROTECTED]> wrote: > Thanks everyone who replied (privately and on the list); attached is > what I finally went with; it works well, doesn't stack procs. for hung > mounts and works great using the snmpvar monitor. > > --Augie > > > > On Thu, Mar 27, 2008 at 3:27 PM, Augie Schwer <[EMAIL PROTECTED]> wrote: > > Anyone have a good way to monitor for a hung NFS mount on a remote machine? > > > > I've been at it all day trying to come up with a clever way to check > > the hung mount, not let the monitor get hung and return some useful > > information; like what mount is hung, but I've come to a dead end and > > I think the best that can be done is to let the monitor timeout and > > then sound an alarm based on that timeout. > > > > Anyone else have ideas? > > > > > > -- > > Augie Schwer - [EMAIL PROTECTED] - http://schwer.us > > Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072 > > > > > > -- > Augie Schwer - [EMAIL PROTECTED] - http://schwer.us > Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072 > -- Augie Schwer - [EMAIL PROTECTED] - http://schwer.us Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072 _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon