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

#2806
Hi,

what alarm keys you are using for alarm creation and termination?

Best regards,
Victor
#2807
General Support / Re: SNMP Credentials
November 06, 2015, 04:59:57 PM
I can confirm that there is a bug that causes NetXMS to use some incorrect community strings in polls. We are working on the fix.

Best regards,
Victor
#2808
Grace period when DCIs won't be deleted immediately after instance disappear should solve your problem as well. When tunnel goes up again data collection will continue (assuming it is on same OID).

Best regards,
Victor
#2809
Quote from: blazarov on November 06, 2015, 01:34:21 PM
I just still don't understand what happens when some interface is deleted and instance discovery runs. Are the DCI with their history completely deleted? Is there a way to control that - for example leave - delete them one month after disappearing?

currently no - DCIs deleted instantly when instance discovery poll founds that instance do not exist anymore. Feel free to register a feature request - it sounds reasonable and should be relatively easy to implement.

Best regards,
Victor
#2810
Можно для интерфейсов сделать дополнительную иконку (скажем в правом верхнем углу) для обозначение operational state. Добавил в трекер: https://dev.raden.solutions/issues/974.
#2811
Quote from: hsvt on November 05, 2015, 10:47:44 PM
У меня для тех у кого ignore (абоненты, например) эвент не генерируется, состояние нормал, Иконки в разделе Ports - красные. Другой вопрос, если бывает, нужно поставить на мониторинг абонентский порт с какой нибудь плавающей проблемой, а у тебя по Hook::ConfigurationPoll всё равно будет ставиться Ignore. Как вот тут лучше сделать?

Можно проверять custom attribute интерфейса и не ставить ему ignore если атрибут выставлен в какое-то специальное значение.
#2812
Quote from: hsvt on November 05, 2015, 10:47:44 PM
Ну и с почтой и эвентом SYS_NODE_DOWN тоже не понятно, надо чтобы от одних устройств были только алармы, а от других и алармы и письма еще...

А как эти устройства различаются? Самое простое - положить все устройства где нужна почта в отдельный контейнер, и в EPP отсылку писем фильтровать еще и по контейнеру. Другой вариант - использовать custom attributes для отметки устройств, по которым надо почту слать.
#2813
General / Re: Action
November 06, 2015, 12:47:33 PM
You have to specify agent address in command line as well (before action name).

Best regards,
Victor
#2814
General Support / Re: NetXMS server crashed by SNMP trap
November 06, 2015, 12:31:52 PM
Hi,

can you please repeat this test with debug level set to 6? Also, are you using SNMPv3 for sending traps?

Best regards,
Victor
#2815
Hi,

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

Best regards,
Victor
#2816
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
#2817
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
#2818
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
#2819
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
#2820
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