* [Sysadmins] web к ulogd через mysql
@ 2008-06-01 12:20 Vasyuk_Maksim
2008-06-02 5:29 ` Мерзляков Евгений Анатольевич
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Vasyuk_Maksim @ 2008-06-01 12:20 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Привет всем!
Подскажите пожайлусат вебинтерфейс к такой связке. Хотя где будет
храниться статистика без разницы.
Нуже сооветствуюший просмотровщик по веб.
Необходимо человку для просмотра трафика по айпи. Хотел было netams, но
в конторе всего 5 компов, сильно мощно получиться, мне кажеться )
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-01 12:20 [Sysadmins] web к ulogd через mysql Vasyuk_Maksim
@ 2008-06-02 5:29 ` Мерзляков Евгений Анатольевич
2008-06-02 5:59 ` Мерзляков Евгений Анатольевич
2008-06-02 7:27 ` Алексей Шенцев
2008-06-19 19:51 ` Alexey Shabalin
2 siblings, 1 reply; 16+ messages in thread
From: Мерзляков Евгений Анатольевич @ 2008-06-02 5:29 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Sunday 01 June 2008 18:20:53 Vasyuk_Maksim написал(а):
> Привет всем!
> Подскажите пожайлусат вебинтерфейс к такой связке. Хотя где будет
> храниться статистика без разницы.
> Нуже сооветствуюший просмотровщик по веб.
> Необходимо человку для просмотра трафика по айпи. Хотел было netams, но
> в конторе всего 5 компов, сильно мощно получиться, мне кажеться )
если хотите, могу поделиться самописной (на php) приблудой
--
Мерзляков Е.А.
Jabber ID: humptydumpty@jabber.ru
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-02 5:29 ` Мерзляков Евгений Анатольевич
@ 2008-06-02 5:59 ` Мерзляков Евгений Анатольевич
2008-06-04 7:42 ` Vasyuk_Maksim
0 siblings, 1 reply; 16+ messages in thread
From: Мерзляков Евгений Анатольевич @ 2008-06-02 5:59 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
> если хотите, могу поделиться самописной (на php) приблудой
но там ulogd пишет в текстовый файл, который затем анализируется и переносится в mysql
точнее даже не совсем ulogd а ulog-acctd, но можно ipcad использовать, лишь бы инфа о трафике
была в текстовом файле в формате:
source_ip dest_ip packets bytes
снимок экрана в рассылку не пролез, выложил тут: http://acoustics.ru/1/traf.png
--
Мерзляков Е.А.
Jabber ID: humptydumpty@jabber.ru
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-02 5:59 ` Мерзляков Евгений Анатольевич
@ 2008-06-04 7:42 ` Vasyuk_Maksim
2008-06-04 9:21 ` Алексей Шенцев
2008-06-05 5:24 ` Eugene Prokopiev
0 siblings, 2 replies; 16+ messages in thread
From: Vasyuk_Maksim @ 2008-06-04 7:42 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Мерзляков Евгений Анатольевич пишет:
>> если хотите, могу поделиться самописной (на php) приблудой
>>
>
> но там ulogd пишет в текстовый файл, который затем анализируется и переносится в mysql
> точнее даже не совсем ulogd а ulog-acctd, но можно ipcad использовать, лишь бы инфа о трафике
> была в текстовом файле в формате:
> source_ip dest_ip packets bytes
> снимок экрана в рассылку не пролез, выложил тут: http://acoustics.ru/1/traf.png
>
Вот по поду самописного, я и хотел узнать, если ничего общедоступного
нету то хотел взяться за написание вебморды под модуль ulog-mysql или
sqlite3 или pg.
Скрин понравился )) Просто хочу чтобы телодвижений было минимум, притом
если ulogd будет сразу траф лить в базу это же лучше чем еще через
текстовый файл. Офисный маршутизатор у нас сейчас очень востребован, на
подходе еще 2 заказа. Хотел сделать пакет и чтобы это все побыстрому
ставилось.
Алексей Шенцев пишет:
> 1) alterator-ulog, думаю office server вам подойдёт;
> 2) посмотреть в сторону nulog.
Дело в том что в алтераторе кнопочек не хватает, и по умолчанию хотелось
бы чтобы вылазила стастика на текущий месяц, а дальше уже чего
натыкаешь. А можно через альтератор дать доступ пользователю чтобы он
видел только модуль от ulog?
Про nulog чета толком ничего не нашел, а на русском вообще ничего. Может
подскажите ссылочку?
Пока поставил netams, все норм, но хотелось бы полегче чтобы это выглядело.
Всем спасибо! Жду откликов...
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-04 7:42 ` Vasyuk_Maksim
@ 2008-06-04 9:21 ` Алексей Шенцев
2008-06-04 19:24 ` Gennady Kovalev
2008-06-05 5:24 ` Eugene Prokopiev
1 sibling, 1 reply; 16+ messages in thread
From: Алексей Шенцев @ 2008-06-04 9:21 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Wednesday 04 June 2008 11:42:23 Vasyuk_Maksim написал(а):
> Дело в том что в алтераторе кнопочек не хватает, и по умолчанию хотелось
> бы чтобы вылазила стастика на текущий месяц, а дальше уже чего
> натыкаешь. А можно через альтератор дать доступ пользователю чтобы он
> видел только модуль от ulog?
Это к авторам alterator-ulog
> Про nulog чета толком ничего не нашел, а на русском вообще ничего. Может
> подскажите ссылочку?
http://www.inl.fr/Open-Source.html
http://software.inl.fr/trac/wiki/EdenWall/NuLog
Я даже его опакетил. Но что то меня остановило от заливки в сизиф.
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-04 9:21 ` Алексей Шенцев
@ 2008-06-04 19:24 ` Gennady Kovalev
2008-06-04 19:31 ` Gennady Kovalev
2008-06-05 8:14 ` Алексей Шенцев
0 siblings, 2 replies; 16+ messages in thread
From: Gennady Kovalev @ 2008-06-04 19:24 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Wednesday 04 June 2008 13:21:19 Алексей Шенцев написал(а):
> В сообщении от Wednesday 04 June 2008 11:42:23 Vasyuk_Maksim написал(а):
> > Дело в том что в алтераторе кнопочек не хватает, и по умолчанию хотелось
> > бы чтобы вылазила стастика на текущий месяц, а дальше уже чего
> > натыкаешь. А можно через альтератор дать доступ пользователю чтобы он
> > видел только модуль от ulog?
>
> Это к авторам alterator-ulog
>
> > Про nulog чета толком ничего не нашел, а на русском вообще ничего. Может
> > подскажите ссылочку?
>
> http://www.inl.fr/Open-Source.html
> http://software.inl.fr/trac/wiki/EdenWall/NuLog
> Я даже его опакетил. Но что то меня остановило от заливки в сизиф.
Может осилим эту нелегкую задачу, например с помощью Deadalus? Че-то мне
понравилась ссылочка.
--
Gennady Kovalev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-04 19:24 ` Gennady Kovalev
@ 2008-06-04 19:31 ` Gennady Kovalev
2008-06-05 8:14 ` Алексей Шенцев
1 sibling, 0 replies; 16+ messages in thread
From: Gennady Kovalev @ 2008-06-04 19:31 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Wednesday 04 June 2008 23:24:29 Gennady Kovalev написал(а):
> ... Deadalus? Че-то мне
Тьфу, айм-сорри :-)
--
Gennady Kovalev
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-04 19:24 ` Gennady Kovalev
2008-06-04 19:31 ` Gennady Kovalev
@ 2008-06-05 8:14 ` Алексей Шенцев
2008-06-05 21:09 ` Gennady Kovalev
1 sibling, 1 reply; 16+ messages in thread
From: Алексей Шенцев @ 2008-06-05 8:14 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Wednesday 04 June 2008 23:24:29 Gennady Kovalev написал(а):
> Может осилим эту нелегкую задачу, например с помощью Deadalus?
Попытка не пытка ... ;)
> Че-то мне понравилась ссылочка.
Сейчас есть два варианта: nulog-1.2.7 и nulog2. Чего изволите?
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-05 8:14 ` Алексей Шенцев
@ 2008-06-05 21:09 ` Gennady Kovalev
0 siblings, 0 replies; 16+ messages in thread
From: Gennady Kovalev @ 2008-06-05 21:09 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Thursday 05 June 2008 12:14:11 Алексей Шенцев написал(а):
> В сообщении от Wednesday 04 June 2008 23:24:29 Gennady Kovalev написал(а):
> > Может осилим эту нелегкую задачу, например с помощью Deadalus?
>
> Попытка не пытка ... ;)
>
> > Че-то мне понравилась ссылочка.
>
> Сейчас есть два варианта: nulog-1.2.7 и nulog2. Чего изволите?
Ну, видимо, nulog2 как-то "правильней"?
--
Gennady Kovalev,
BIGUR, http://www.bigur.ru/
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-04 7:42 ` Vasyuk_Maksim
2008-06-04 9:21 ` Алексей Шенцев
@ 2008-06-05 5:24 ` Eugene Prokopiev
2008-06-06 4:32 ` Vasyuk_Maksim
1 sibling, 1 reply; 16+ messages in thread
From: Eugene Prokopiev @ 2008-06-05 5:24 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
> если ulogd будет сразу траф лить в базу это же лучше чем еще через текстовый
> файл.
По транзакции СУБД (пусть даже MySQL) на каждый пакет? Не страшно? ;)
Идеальным средством был бы гибрид ulogd и ulog-acctd, который бы умел и
группировать/откладывать запись, и писать в разные источники,
используя подгружаемые модули
--
С уважением,
Прокопьев Евгений
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-05 5:24 ` Eugene Prokopiev
@ 2008-06-06 4:32 ` Vasyuk_Maksim
2008-06-06 5:07 ` Eugene Prokopiev
0 siblings, 1 reply; 16+ messages in thread
From: Vasyuk_Maksim @ 2008-06-06 4:32 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Страшно ; ) я про это думал.
Необходима агрегация. У мну была мысля чтобы скрипток из основной
таблицы агрегировал трафик в какуюнить другую таблицу, а из основой
удалял те строки какие обработал.
Так а что страшно то что база растет быстро или то что много обращений к
базе?
Если по первой проблеме маленько есть думки, по второй нет ;)
По nlog глянул чета я там ничего не понял )) где там глядеть просто по
айпи кто сколько скачал в одной таблице.
А так красиво ) Подожду когда опакеченный скинут попробовать поставить.
Спасибо за сылки :)
Eugene Prokopiev пишет:
>> если ulogd будет сразу траф лить в базу это же лучше чем еще через текстовый
>> файл.
>>
>
> По транзакции СУБД (пусть даже MySQL) на каждый пакет? Не страшно? ;)
>
> Идеальным средством был бы гибрид ulogd и ulog-acctd, который бы умел и
> группировать/откладывать запись, и писать в разные источники,
> используя подгружаемые модули
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-01 12:20 [Sysadmins] web к ulogd через mysql Vasyuk_Maksim
2008-06-02 5:29 ` Мерзляков Евгений Анатольевич
@ 2008-06-02 7:27 ` Алексей Шенцев
2008-06-19 19:51 ` Alexey Shabalin
2 siblings, 0 replies; 16+ messages in thread
From: Алексей Шенцев @ 2008-06-02 7:27 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
В сообщении от Sunday 01 June 2008 16:20:53 Vasyuk_Maksim написал(а):
> Подскажите пожайлусат вебинтерфейс к такой связке. Хотя где будет
> храниться статистика без разницы.
> Нуже сооветствуюший просмотровщик по веб.
> Необходимо человку для просмотра трафика по айпи. Хотел было netams, но
> в конторе всего 5 компов, сильно мощно получиться, мне кажеться )
Есть два варианта:
1) alterator-ulog, думаю office server вам подойдёт;
2) посмотреть в сторону nulog.
--
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-01 12:20 [Sysadmins] web к ulogd через mysql Vasyuk_Maksim
2008-06-02 5:29 ` Мерзляков Евгений Анатольевич
2008-06-02 7:27 ` Алексей Шенцев
@ 2008-06-19 19:51 ` Alexey Shabalin
2008-06-23 5:39 ` Alexander Volkov
2008-07-24 14:01 ` Roman Lesnichenko
2 siblings, 2 replies; 16+ messages in thread
From: Alexey Shabalin @ 2008-06-19 19:51 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
1 июня 2008 г. 16:20 пользователь Vasyuk_Maksim <vaksim@gmail.com> написал:
> Привет всем!
> Подскажите пожайлусат вебинтерфейс к такой связке. Хотя где будет храниться
> статистика без разницы.
> Нуже сооветствуюший просмотровщик по веб.
> Необходимо человку для просмотра трафика по айпи. Хотел было netams, но в
> конторе всего 5 компов, сильно мощно получиться, мне кажеться )
>
Господа, посмотрите на следующие ресурсы:
http://www.opennet.ru/base/net/traf_fprobe.txt.html
http://phpal.sourceforge.net/allanbilling
Я попробовал. На ALTLinux устанавливается с минимум изменений(можно
даже пакет замутить и вложить readme.altlinux), статистика
накапливается в flow формате и раз 15 мин (по умолчанию, можно
настроить) экспортируется в mysql.
Проблема в том, что web-интерфейс протухший, т.к. ip-адреса хранятся
не в текстовом формате, как он предполагает.
Знакомые уже вроде поправили эту бяку, переписав sql-запросы понормальному.
Как получу результат их работы, можно опубликовать, да и автору отослать.
Кому интересно обращайтесь.
--
Alexey Shabalin
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-19 19:51 ` Alexey Shabalin
@ 2008-06-23 5:39 ` Alexander Volkov
2008-07-24 14:01 ` Roman Lesnichenko
1 sibling, 0 replies; 16+ messages in thread
From: Alexander Volkov @ 2008-06-23 5:39 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
On 2008-06-19 23:51:38 +0400, Alexey Shabalin wrote:
AS> Господа, посмотрите на следующие ресурсы:
AS> http://www.opennet.ru/base/net/traf_fprobe.txt.html
AS> http://phpal.sourceforge.net/allanbilling
AS> Я попробовал. На ALTLinux устанавливается с минимум изменений(можно
AS> даже пакет замутить и вложить readme.altlinux), статистика
AS> накапливается в flow формате и раз 15 мин (по умолчанию, можно
AS> настроить) экспортируется в mysql.
AS> Проблема в том, что web-интерфейс протухший, т.к. ip-адреса хранятся
AS> не в текстовом формате, как он предполагает.
AS> Знакомые уже вроде поправили эту бяку, переписав sql-запросы понормальному.
AS> Как получу результат их работы, можно опубликовать, да и автору отослать.
AS> Кому интересно обращайтесь.
А озвучьте тут, пжалста , как получится :)
--
Regards, Alexander
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Sysadmins] web к ulogd через mysql
2008-06-19 19:51 ` Alexey Shabalin
2008-06-23 5:39 ` Alexander Volkov
@ 2008-07-24 14:01 ` Roman Lesnichenko
1 sibling, 0 replies; 16+ messages in thread
From: Roman Lesnichenko @ 2008-07-24 14:01 UTC (permalink / raw)
To: shaba, ALT Linux sysadmin discuss
В сообщении от Thursday 19 June 2008 22:51:38 Alexey Shabalin написал(а):
> Господа, посмотрите на следующие ресурсы:
> http://www.opennet.ru/base/net/traf_fprobe.txt.html
> http://phpal.sourceforge.net/allanbilling
> Как получу результат их работы, можно опубликовать, да и автору отослать.
> Кому интересно обращайтесь.
Вот интересно. Получилось ли? :)
Роман.
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2008-07-24 14:01 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-01 12:20 [Sysadmins] web к ulogd через mysql Vasyuk_Maksim
2008-06-02 5:29 ` Мерзляков Евгений Анатольевич
2008-06-02 5:59 ` Мерзляков Евгений Анатольевич
2008-06-04 7:42 ` Vasyuk_Maksim
2008-06-04 9:21 ` Алексей Шенцев
2008-06-04 19:24 ` Gennady Kovalev
2008-06-04 19:31 ` Gennady Kovalev
2008-06-05 8:14 ` Алексей Шенцев
2008-06-05 21:09 ` Gennady Kovalev
2008-06-05 5:24 ` Eugene Prokopiev
2008-06-06 4:32 ` Vasyuk_Maksim
2008-06-06 5:07 ` Eugene Prokopiev
2008-06-02 7:27 ` Алексей Шенцев
2008-06-19 19:51 ` Alexey Shabalin
2008-06-23 5:39 ` Alexander Volkov
2008-07-24 14:01 ` Roman Lesnichenko
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git