Another uptime story
apseudoutopia at gmail.com
Thu May 28 03:39:30 UTC 2009
On Wed, May 27, 2009 at 5:00 PM, Karl Vogel <vogelke+unix at pobox.com> wrote:
>>> On Wed, 27 May 2009 09:02:08 -0500,
>>> Andrew Gould <andrewlylegould at gmail.com> said:
> A> You could write a script that sends uptime output and a start/stop
> A> flag to a database when the system starts and stops. This wouldn't
> A> account for improper shutdowns, although you could tell when a "stop"
> A> date/time was missing.
> I have a script which runs fping on a bunch of servers and writes
> a timestamp for any host that answers. It's run every minute from
> cron on our loghost. Another script watches the results and sends
> me an IM if any of my boxes fails to respond for 3 minutes.
> I can put up a tarball if anyone's interested.
I'd be interested in a set of scripts like that.
I appreciate it.
More information about the freebsd-questions