Quote from: Filipp Sudanov on March 19, 2024, 10:08:33 AMЭто именно на Windows системах? Какой версии Windows? Сколько ядер/процессоров?Системы все Windows
function main(oid, name) {
transport = $node->createSNMPTransport();
if (transport == null) return null;
v = transport->getValue(oid);
h = %{};
for (a : v->split(",")) {
b = a->split("=");
if (b->size == 2) h[b[0]] = b[1];
}
return h[name];
}
<parser checkInterval="10000" name="">
<macros/>
<file>*Security</file>
<rules>
<rule name="">
<match repeatCount="0" repeatInterval="1">.*</match>
<event>A</event>
<metrics class="java.util.ArrayList"/>
<agentAction action=""></agentAction>
</rule>
</rules>
</parser>
SubAgent = logwatch
<parser checkInterval="1" name="Admin activity parser">
<macros/>
<file>*Security</file>
<rules>
<rule name="Login">
<match repeatCount="0" repeatInterval="3600" reset="false">Emelt szintű jogkivonat:\s+Igen(?:.|\r\n)+Fióknév:\s+(\w+)</match>
<event>VV_ADMIN_LOGON</event>
<id>4624</id>
<push group="1"></push>
<agentAction action=""></agentAction>
</rule>
</rules>
</parser>
It didn't crash the server however it also doesn't trigger the event, I tried to:*D* [agent.conn.10794 ] AgentConnectionEx::onWindowsEvent(): Received event from agent at 10.255.7.114, node ID 1814