From owner-freebsd-questions@FreeBSD.ORG Thu Sep 6 13:01:42 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36FC816A47B for ; Thu, 6 Sep 2007 13:01:42 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 06C2413C468 for ; Thu, 6 Sep 2007 13:01:42 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from Lowell-Desk.lan (Lowell-Desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id AE4BF28426; Thu, 6 Sep 2007 08:46:20 -0400 (EDT) Received: by Lowell-Desk.lan (Postfix, from userid 1147) id 3317F1CC97; Thu, 6 Sep 2007 08:46:20 -0400 (EDT) To: alexus References: <6ae50c2d0709050757s7954b953q55008f5811622fd6@mail.gmail.com> From: Lowell Gilbert Date: Thu, 06 Sep 2007 08:46:19 -0400 In-Reply-To: <6ae50c2d0709050757s7954b953q55008f5811622fd6@mail.gmail.com> (alexus@gmail.com's message of "Wed\, 5 Sep 2007 10\:57\:21 -0400") Message-ID: <44ejhc0xno.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: samba / remote windows machine / nagios X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 13:01:42 -0000 alexus writes: > does anyone knows how i can monitor for a date file on a remote > windows machine from my freebsd through samba client i guess, so > result can be reported to nagios? I can't think of a way to be automatically notified, so you would need to check the file periodically. cron is a good way if you're not checking too often; otherwise you're better off with a daemon (a looping script, even).