Date: Wed, 22 Feb 2017 09:53:09 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Daily and Weekly Periodic Scripts Message-ID: <3483b77e-0836-fdf8-fd7e-32510de3c40b@freebsd.org> In-Reply-To: <58AD5A9A.7070407@fjl.co.uk> References: <18376E93-56AB-4D07-AC78-C66DE4ABFB11@lafn.org> <58AD5A9A.7070407@fjl.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IOB7UdVxfWtiAsClwR38dnUjLUSGVi1qU Content-Type: multipart/mixed; boundary="2ot76xANUav9tOP8w6QBJjsUplqNxp3CQ"; protected-headers="v1" From: Matthew Seaman <matthew@freebsd.org> To: freebsd-questions@freebsd.org Message-ID: <3483b77e-0836-fdf8-fd7e-32510de3c40b@freebsd.org> Subject: Re: Daily and Weekly Periodic Scripts References: <18376E93-56AB-4D07-AC78-C66DE4ABFB11@lafn.org> <58AD5A9A.7070407@fjl.co.uk> In-Reply-To: <58AD5A9A.7070407@fjl.co.uk> --2ot76xANUav9tOP8w6QBJjsUplqNxp3CQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/22/17 09:32, Frank Leonhardt wrote: > For what it's worth, in a similar situation I simply have a cron > triggered script that greps certain files (or the output of certain > utilities) and fires off an email if it finds/doesn't find certain > things. Very simple and flexible, and it keeps nagging if I don't do > anything about it. I keep thinking of doing something more gala, but > over many years I've found this actually works for me. >=20 If anyone is looking for a project, teaching hte daily / weekly /monthly scripts to produce output in a machine parseable form, like JSON or UCL suitable for injecting into a system like logstash would be pretty useful= =2E As it is, the nightly email generated by FreeBSD don't scale well beyond a few dozen machines. If you're dealing with an installation of that size, you'ld be better off redirecting hte output to a log file on the server and then setting up appropriate monitoring to tell you about any problems as they occur -- eg. through nagios or icinga or the like. Cheers, Matthew --2ot76xANUav9tOP8w6QBJjsUplqNxp3CQ-- --IOB7UdVxfWtiAsClwR38dnUjLUSGVi1qU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlitX4UACgkQAFE/EOCp 5OdyJw//f2+EgRCPtq+VsjPJRZegY9c+l7gEWtotXTf42AuNc8FFO6ViKnLymUeB 5lKmmyFqta4XP8JEV82tqWfXAtxs9TmmSBrpDJXk0Qs62g3EnaJif6qSiw3zz6OY mS2Cbwm6pK1bIx2WwW8NrBn+RzNNrkht/Qws0YV+H0EtdUyDrBeVtHlSpCphkuLE QSEnJm6n5Umo1HBOTgZXCLiZGp75nhcDemZSwYpI5wrabH8U26hoDqe9nYGn5Unh MCTIFPE4i13GqmzqpXQU+j6y4jWHUJhqrtGXshKcsRPBQx7yZo0pg1ov/JDDRTLV 7pWr0iyJcutSu6EXqRQbkwT6zT9wmYWbgUWQ5Q3iAb9zckGq1Ff8MVoJST4W1F02 YSzX2kSxR9P+Z5B1nUDRdxmzCfZVY2lEZhXOkaNGTXtzl76iyLJJ0n6c4KvHvLs4 jigf/b+PwsOsomrji/5vMg7fMtZ14qSj7CAuVIzj16sWDFZH/P6L1v+83fLEhR3a UsdsC+JNLT48PllPmu6UsB3Ck3+OTP6QnVQ6cZoUO3xUc44QG1W0upB6sIOnjXO4 CFO0CxsSc5yjs/4M+OjuPXfWQVRv1lISiB5PBBcy7df8y4Lmymbf3jfYehEt8e3Y Fq6u4BG7/GmtUdon6O/pqvoUvSv9bT8gL08Rc8b2gm41Zxx0rNk= =vft8 -----END PGP SIGNATURE----- --IOB7UdVxfWtiAsClwR38dnUjLUSGVi1qU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3483b77e-0836-fdf8-fd7e-32510de3c40b>