From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Llq8E-0002Kc-7k for garchives@archives.gentoo.org; Mon, 23 Mar 2009 19:48:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBEDFE05B4; Mon, 23 Mar 2009 19:48:20 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by pigeon.gentoo.org (Postfix) with ESMTP id 7C1A1E05B4 for ; Mon, 23 Mar 2009 19:48:20 +0000 (UTC) Received: from localhost ([92.50.83.196]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1Llq8B2EUF-0007Wv; Mon, 23 Mar 2009 20:48:19 +0100 Date: Mon, 23 Mar 2009 20:48:18 +0100 From: Sebastian =?iso-8859-1?Q?G=FCnther?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Syslog-ng using a spectacular amount of CPU time... (I'm using sshguard) Message-ID: <20090323194818.GA5950@marvin.heimnetz.local> References: <49C7ACEB.9050307@shic.co.uk> <49C7E293.9040705@shic.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <49C7E293.9040705@shic.co.uk> User-Agent: Mutt/1.5.19 (2009-01-05) X-Provags-ID: V01U2FsdGVkX1/Vxv6A19ZYtadG2Ah6TaRViG25DUhBOmo6+uX 2syVnhWv/ES5W7N2fgbTUB/305mJxEji1GxW6/ELrioa/MGHCE 9sQf8+X5yvbBlCQKyHrPA== X-Archives-Salt: e4cafa97-fa30-433f-926d-abb3ca39aa61 X-Archives-Hash: c07845876e9458cdd8c5d595fdaa38f1 --gKMricLos+KVdGMg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Steve (gentoo_sjh@shic.co.uk) [23.03.09 20:27]: > Steve wrote: > >> destination sshguardproc { > >> program("/usr/local/sbin/sshguard" > >> template("$DATE $FULLHOST $MESSAGE\n")); > >> }; > >> program() only takes 1 argument: the programname. Any thing you want to pass, you have to define via a log statement. BTW: Just curious: you do not use the sshguard from portage, or why is=20 it a /usr/local/sbin? HTH Sebastian --=20 " Religion ist das Opium des Volkes. " Karl Marx SEB@STI@N G=DCNTHER mailto:samson@guenther-roetgen.de --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAknH54IACgkQ4zavaU1MGbTwKgCfbbEWdO5u+W6EPP8SZBFuUJrp a7cAnic1uYoUA4lXcm1SydqX9PdzQ7M2 =hsEr -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--