Daily and Weekly Periodic Scripts

Matthew Seaman matthew at FreeBSD.org
Wed Feb 22 09:53:19 UTC 2017

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.

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.

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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170222/f8dc6fd2/attachment.sig>

More information about the freebsd-questions mailing list