[171707] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Odd syslog-ng problem

daemon@ATHENA.MIT.EDU (Anurag Bhatia)
Sat May 10 15:15:43 2014

X-Original-To: nanog@nanog.org
From: Anurag Bhatia <me@anuragbhatia.com>
Date: Sun, 11 May 2014 00:45:24 +0530
To: NANOG Mailing List <nanog@nanog.org>
In-Reply-To: <CABL6YZSqeBDDz_1E9gZUf2Ced+qur-=eo9jZ-s8_N-WpE7kb9g@mail.gmail.com>
Errors-To: nanog-bounces@nanog.org


--Apple-Mail=_59A2D221-99A9-4A87-9904-2BD3C5D33A2B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Another off topic (question) - what kind of fronted UI you use with =
syslog-ng? I see log analyser based on PHP is common. In my tests it =
worked fine but it=92s major issue I saw was that I couldn=92t sort all =
logs based on individual hosts/devices.


What kind of open source web UI everyone is using, just wondering?=20




Thanks.=20



On 11-May-2014, at 12:19 am, jamie rishaw <j@arpa.com> wrote:

> Off topic.
> The issue is with the daemon, not your devices.
>=20
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
>=20
>=20
> On Sat, May 10, 2014 at 4:24 AM, Peter Persson <webbax@webbax.se> =
wrote:
>> Hey,
>>=20
>> I got a weird problem with my syslog-ng setup, im logging from alot =
of
>> cisco machines and that works great.
>> The problem is that when i "pass" this further to a shell program, =
some
>> lines disapere.
>>=20
>> My destination looks like this
>> destination hosts {
>>   file("/var/log/ciscorouters/$HOST.log"
>>   owner(root) group(root) perm(0600) dir_perm(0700) =
create_dirs(yes));
>>   program("/scripts/irc/syslog_wrapper_new.sh" template(t_irctempl));
>> };
>> The "/var/log/ciscorouters/$HOST.log" writes correct, but the data =
thats
>> putted trough to "/scripts/irc/syslog_wrapper_new.sh" only get the =
first
>> line, if it gets flooded (like 5 rows per second).
>>=20
>> Do anyone of you have any idea of what might be the problem?
>>=20
>> Regards,
>> Peter
>=20
>=20
>=20
> --=20
> jamie rishaw // .com.arpa@j <- reverse it. ish.
>=20
> "...let's consider this world like a family and care about each =
other..."
>             -Malala Yousafzai




--
Anurag Bhatia
anuragbhatia.com


--Apple-Mail=_59A2D221-99A9-4A87-9904-2BD3C5D33A2B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJTbnrRAAoJEMBt1SQkXljioZMP/RFhIcuzeXi7APxWmvYrx3LP
bLcYotZ8OSG/OYOZPix2kWuomQXgV10uzO39wvHJpqzt8LxYSGkbeBhGxeXbbJnE
yju/y2ZujdJNFRgxyGzJXha9w56InaTaW48HNreEUsguxth9jjVC7qHZIIYk8zzv
hW8Tcui1NWaxnjCN8yHIwjUIjm3kRWPWay7x8lUyRSFHal7bkwkXBtxe5KZm7Dl9
dccVEFrw/JCMzCxXV43bjs0nBX64n3dSvSoE3v7gFKqd4CnLcd5LlKw8z8K6OhU7
eIAmhJhxaHk9SBMQTgwlhqks1rNeYfRt2y7nObhfnSPpgKaD3asYiL9vWAwKiSrd
pl9BLK+1uG8Gskg5J34PsXQPDUS1R+vJEuepKYWYKf6z7IOHdBDp4FNFyoyxQjgG
26yxWcwGApavWU4Vd3XiobEFUs4Vf+PXZM2qgcImkaEnGNtds27uosvw0AYU15Bq
GzW8l/a3gve3KHzLCzywT+SaiXf6N5cKSV+sdd/GoIGaSavSX5q1ZFr48Zie3OfP
5AUwjOFY+97sfjTbL65Sh01aQGoX8Q9hjyBBZcDehk/DPmEXcHWCm5PEvuHTK0Ek
YvSM9ot2PmOYwOEdHitWq7AnA1zJrjyURl75pP17nY1ZmWFby4i43C0Xo/iRqIkY
JpZ9YbXNf903cuFgcnzr
=jsvj
-----END PGP SIGNATURE-----

--Apple-Mail=_59A2D221-99A9-4A87-9904-2BD3C5D33A2B--

home help back first fref pref prev next nref lref last post