Menu

Show posts

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 Menu

Messages - Victor Kirhenshtein

#2836
Hi,

then you can use transformation script on table DCI to find top five values and delete the rest.

Best regards,
Victor
#2837
Hi,

instead of terminating (probably non-existent) alarm for non-core systems you can just use "stop processing" (set by selecting checkbox on Actions property page for the rule). But otherwise looks correct.

Best regards,
Victor
#2838
Hi,

are you using desktop or web client?
As for geo maps, you can setup local tile server (https://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/) and chenge server configuration parameter TileServerURL to point to your local tile server.

Best regards,
Victor
#2839
General Support / Re: "Network Discovery" don't stop
November 06, 2015, 11:53:19 AM
Hi,

seems to be a bug. I've registered it in our bug tracker: https://dev.raden.solutions/issues/973

Best regards,
Victor
#2840
Hi,

below is an example of the script that walks all parents of a node and collects values of custom attribute "contacts" into single string separated by semicolons:


global contacts = "";

foreach(o : GetObjectParents($node))
{
add_contacts(o);
}

println "Contacts: " . contacts;

sub add_contacts(curr)
{
c = GetCustomAttribute(curr, "contacts");
if (c != null)
{
   if (length(contacts) > 0)
contacts = contacts . ";" . c;
else
contacts = c;
}

foreach(o : GetObjectParents(curr))
{
add_contacts(o);
}
}


The only drawback is that it will not detect duplicate values. Duplicates can be eliminated like this:


global contacts = "";
global presense = %{ };

foreach(o : GetObjectParents($node))
{
add_contacts(o);
}

println "Contacts: " . contacts;

sub add_contacts(curr)
{
c = GetCustomAttribute(curr, "contacts");
if ((c != null) && (presense[c] == null))
{
   if (length(contacts) > 0)
contacts = contacts . ";" . c;
else
contacts = c;
presense[c] = true;
}

foreach(o : GetObjectParents(curr))
{
add_contacts(o);
}
}


Note that this script version requires server 2.0-RC1 or higher as it uses hash maps.

Best regards,
Victor
#2841
General Support / Re: Server stop accepting new clients
November 06, 2015, 11:14:14 AM
Hi,

from mane sessions stuck in CMD_GET_OBJECTS most likely there is a deadlock in a server. The only way to recover from that situation is to restart the server. I would suggest to upgrade to 2.0-RC2 or wait for 2.0 release - we have fixed some deadlocks in 2.0 branch so there are good chance problem will gone.

Best regards,
Victor
#2842
Hi,

how instance discovery is configured? Are you sure that you have correct ifIndex in $1 in filter? I just checked WNMP walk part of the script on my system (using execute server script option on node object) and it works fine - returns all IP addresses on my router.

Server will delete DCIs created by instance discovery if instance will gone.

Best regards,
Victor
#2843
Hi,

seems to be packaging problem again. I've fixed package definition.

As for the second problem, location of compiled MIB file (netxms.mib) was changed in RC2 - you have to move it to the root of server's data directory (set by DataDirectory option in netxmsd.conf), default is <installation prefix>/var/lib/netxms

Best regards,
Victor
#2844
да, ветки это webui/webapp и src/java/netxms-eclipse. Для веба используем Mars, RAP 2.3 или 3.0 (должно собираться и с тем и с тем). Релиз пока делаем на 2.3, поскольку 3.0 требует Servlet API 3.0, а некоторые сервера (Weblogic 11 например) его не поддерживают.
#2845
Hi,

so far seems to be network or (less likely) firewall problem. Console should send keepalive packets every minute, so session should not timeout on firewall even if console is idle. Is it possible to get packet capture for TCP port 4701 for the last moments of broken session?

Best regards,
Victor
#2846
Hi,

do you have core file left? If yes, please provide stack trace from it. Alternatively, try tu run netxmsd under debugger, wait for crash, and send us output. Here is the instruction: https://wiki.netxms.org/wiki/Running_NetXMS_under_debugger.

Best regards,
Victor
#2847
Hi,

are your top 5 changes all the time? How often it changes? How do you want to see them on dashboard - as charts or as table?

Best regards,
Victor
#2848
Hi,

you can filter out events from nodes you are not interested in in event processing policy. For example, you can put all important servers into special container and in EPP filter out (action "atop processing") all SYS_NODE_DOWN, SYS_IF_DOWN, etc. events if node is not in that container.

Best regards,
Victor
#2849
Feature Requests / Re: Add contents of container to map
October 29, 2015, 10:25:27 PM
Hi,

currently is is not possible. Feel free to add feature request to our tracker - it is not hard to implement.

Best regards,
Victor
#2850
Общие вопросы / Re: ssmtp send email
October 29, 2015, 10:09:30 PM
Попробуйте поставить параметр сервера MailEncoding в Windows-1251 и CodePage в cp1251.