{"id":244,"date":"2013-04-29T20:00:00","date_gmt":"2013-04-29T18:00:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/04\/29\/logcheck-scans-your-logfiles-and-warns-you\/"},"modified":"2013-04-29T20:00:00","modified_gmt":"2013-04-29T18:00:00","slug":"logcheck-scans-your-logfiles-and-warns-you","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/04\/29\/logcheck-scans-your-logfiles-and-warns-you\/","title":{"rendered":"logcheck \u2013 scans your logfiles and warns you"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/www.logcheck.org\/\">www.logcheck.org<\/a><\/li>\n<li><a href=\"http:\/\/sourceforge.net\/projects\/logcheck\/\">sourceforge.net\/projects\/logcheck\/<\/a><\/li>\n<li><a href=\"http:\/\/linuxaria.com\/pills\/logcheck-scan-your-logs-and-warns-you\">linuxaria.com\/pills\/logcheck-scan-your-logs-and-warns-you<\/a>\u00a0\u2013 this is the nicest overview page<\/li>\n<\/ul>\n<div>Dependencies and restrictions:<\/div>\n<ul>\n<li>logcheck depends on logtail<\/li>\n<li>logtail runs on exactly one file \u2026<\/li>\n<li>\u2026 and only once on that file, as it keeps a sister file called <i>logfile<\/i>.offset<\/li>\n<li>improving this should actually be &#8220;easy&#8221;, e.g. keeping a sister file called <i>logfile<\/i>.offset.<i>user<\/i><\/li>\n<\/ul>\n<div><\/div>\n<div>Pros:<\/div>\n<div>\n<ul>\n<li>abstracting resp. filtering log files like \/var\/log\/messages<\/li>\n<li>this happens &#8220;realtime&#8221; i.e. instantly<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<div>Cons:<\/div>\n<\/div>\n<div>\n<ul>\n<li>the results get to you resp. a whole crowd via e-mail \u2013 isn&#8217;t that a little excessive regarding the resources necessary to look at the output?<\/li>\n<li>if you already have a utilty in place, that filters daily chunks of log files, this is \u2026<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<div>Ideas \/ inspirations taken from here:<\/div>\n<\/div>\n<div>\n<ul>\n<li>the output could actually go to another log file, that you may want to &#8220;logtail&#8221; or &#8220;tail -f&#8221; as to your needs<\/li>\n<li>\u2026<\/li>\n<\/ul>\n<div><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>www.logcheck.org sourceforge.net\/projects\/logcheck\/ linuxaria.com\/pills\/logcheck-scan-your-logs-and-warns-you\u00a0\u2013 this is the nicest overview page Dependencies and restrictions: logcheck depends on logtail logtail runs on exactly one file \u2026 \u2026 and only once on that file, as it keeps a sister file called logfile.offset improving this should actually be &#8220;easy&#8221;, e.g. keeping a sister file called logfile.offset.user Pros: abstracting resp. filtering [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[62,671,673],"tags":[1147],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-cli","category-unix","category-unix_utilities","tag-logtail"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-3W","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=244"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/244\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}