Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Sep 2007 08:46:19 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        alexus <alexus@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: samba / remote windows machine / nagios
Message-ID:  <44ejhc0xno.fsf@Lowell-Desk.lan>
In-Reply-To: <6ae50c2d0709050757s7954b953q55008f5811622fd6@mail.gmail.com> (alexus@gmail.com's message of "Wed\, 5 Sep 2007 10\:57\:21 -0400")
References:  <6ae50c2d0709050757s7954b953q55008f5811622fd6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
alexus <alexus@gmail.com> 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ejhc0xno.fsf>