fixed
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menufunction GetTree(nodeID)
{
obj = FindObject(nodeID);
if (obj == null) return;
children = obj.children;
for (n : children)
{
if (classof(n) == "Node")
{
ifaces = n.interfaces;
for (iface : ifaces)
{
if (iface.description ~= "WAN")
{
println("Node: " .. n.name .. ", Interface: " .. iface.name .. ", Description: " .. iface.description .. ", IP: " .. iface.ipAddr);
}
}
}
// Рекурсия ВЫНЕСЕНА за пределы условия - обходим все контейнеры
GetTree(n.id);
}
}
GetTree(2);Quote from: Argonauts on January 13, 2026, 11:27:07 AMКак мне удалить все DCI, что я наплодил с созданием DCI под instance discovery? Со временем они появляются обратно![]()
Quote from: cwl on November 22, 2025, 11:10:02 AMQuote from: Filipp Sudanov on November 21, 2025, 03:43:38 PMIs this still with SQLite?But generally speaking if SQLite is provided as an option - it has work correctly.
update alarms set alarm_state=3 where alarm_state <> 3;Quote from: Argonauts on November 10, 2025, 09:50:21 AMАктивных алармов 187к -_-
Я могу их как-то скопом потушить? С момента развертывания не трогали алармы
source = FindObject($alarm.sourceObject());
j = JsonObject();
j.set("id", $alarm.id);
j.set("state", $alarm.state);
j.set("severity", $alarm.severity);
j.set("message", $alarm.message);
j.set("source", source ? source.name : "");
j.set("eventCode", $alarm.eventCode);
j.set("eventName", $alarm.eventName);
trace(0, j.serialize());
Quote from: tolimanjo on September 30, 2025, 05:41:40 AMI was getting the '500' error from the client when using HTTP, and a packet capture showed HTTPS style connection attempts to the server. Perhaps Android was trying to be helpful?
Anyway, putting an HTTPS-HTTP proxy in front of the server (and specifying https:// on the client) fixed the problem.