LogWatch Novell Netware Parser Error
-
-
Всплыла следующая проблема (возможно требуется отдельный топик).
На сервере Novell настроено перенаправление вывода сообщений консоли в файл
Файл настройки парсера (p-cdm.xml)<parser>
<file>SYS:\ETC\LOGs\console.log</file>
<rules>
<rule>
<match>The CDM driver deactivated device</match>
<event params = "1">100004</event>
<event params = "2">The CDM driver deactivated device</event>
</rule>
</rules>
</parser>Только что проверял - при наступлении данного события начинатся бесконечная генерация event-а с кодом 100004
Может быть я чтото не так настраиваю? -
Nu, pravil'nij parser dolzen vigljadet' tak:
<parser>
<file>SYS:\ETC\LOGs\console.log</file>
<rules>
<rule>
<match>The CDM driver deactivated device</match>
<event params = "0">100004</event>
</rule>
</rules>
</parser>parametrov u eventa ne dolzno bit', poskol'ku v regexp'e ne videljajutsja chasti stroki. Pravda pochemu on tak stranno reagiruet - neponjatno...
-
-
Poprobujte vkljuchit' trace u parsera, pomenjav pervuju strochku na
<parser trace="4">
i zapustit' agenta v debug rezime
load nxagentd -D
i prislat' log fail.
-
-
Spasibo za log, vrode ponjal gde problema. Postarajus' segodnja peredelat' i vilozu obnovlennuju versiju.
-
-
Сделал очередное теоретическое исправление, NetWare сервера для тестов пока нет. Попробуйте заменить libnxlp.nlm на приложенный - теоретически проблема должна пропасть.
-
-
На версии 1.0.0.rc3 ошибка не пропала + log-файл агента забивается записями следующего вида:
[17-Mar-2010 13:01:27] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:27] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:28] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:28] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:29] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:29] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:30] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:30] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:31] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:31] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:32] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:32] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:33] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:33] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:34] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:34] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened [17-Mar-2010 13:01:35] LogParser: file name change: fgetstat reports "CONSOLE.LOG" should be "SYS:\ETC\LOGs\console.log" [17-Mar-2010 13:01:35] LogParser: file "SYS:\ETC\LOGs\console.log" successfully opened
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login