News:

We really need your input in this questionnaire

Main Menu
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 - Tatjana Dubrovica

#136
Try to check server log on debug lvl 6.
#137
General Support / Re: Send alert when DCI states error
February 15, 2017, 04:43:59 PM
If Ping DCI is polled once per minute you can set "Samples" to 5(1min*5 = 5min). This means: if last 5 values returned collection error - generate Event. Same as last 5 min offline.
#138
Можно но сложно.
В EPP нужно написать скрипт который (во время прихода события о неправильном логине) будет сохранять список пришедших трапов за последний час в строку и в случае если их было больше 10 генерить другое событие который уже будет создавать аларм. Строку можно хранить в Situations, которые в релизе 2.1-M3 мы заменим на PersistentStorage. Если в NXSL использовать посик Situations по имени, то переход на PersistentStorage будет не заметен.
Вот пример который делает похожую задачу в пределах 1 узла и хранит значения в CustomAttribute узла:

array attr;

for (i = 0; i < 5; i++)
{
   attr = GetCustomAttribute($node, "collectedEventTime" . i);
}

step = GetCustomAttribute($node, "collectedEventStep");

for (i = 0; i < 5; i++) {
   if(attr == null)
   {
      SetCustomAttribute($node, "collectedEventTime" . i, time());
      SetCustomAttribute($node, "collectedEventStep", i);
      return;
   }
}

step++;
if(step > 4)
   step = 0;   

//Cehck that value that we will change occured more than 5 minutes ago
if((time() - attr[step]) < 300)
{
   //generate alarm
   PostEvent($node, "MARK_EVENT_AS_CRITICAL", null, "Event marked as critical");
}

//set new time value
SetCustomAttribute($node, "collectedEventTime" . step, time());
SetCustomAttribute($node, "collectedEventStep", step);

#139
General Support / Re: Send alert when DCI states error
February 15, 2017, 03:53:45 PM
Yes you can create event on data collection error. Screenshot of threshold configuration attached.
Additional information about Alarm configuration form event can be found in documentation: https://www.netxms.org/documentation/adminguide/event-processing.html
#140
Is implemented in 2.1-M2 release.
#141
General Support / Re: Network discovery
February 15, 2017, 03:03:19 PM
What version of NetXMS do you use?
Any object that is added to NetXMS should be shown in object tree. Have you tryed to serach in using object tree filter IP address search like: ">10.5.0.27"

PS. May be connected https://www.netxms.org/forum/general-support/ip-conflict-with-deletedchanged-node/?topicseen
#142
General Support / Re: Presets greater than 12 hour
February 15, 2017, 02:33:10 PM
Fix is not yet released. It will be included in 2.0.9 and 2.1-M3. Now it is available only in development branch (bug was in UI so if anyonle will make buld form development is is required to rebuild console).
#143
General Support / Re: Apply Node to Template Problem
February 14, 2017, 12:19:18 PM
Was able to reproduce. Thank you.
#144
General Support / Re: Apply Node to Template Problem
February 14, 2017, 11:38:30 AM
Was not able to reproduce on development enviroments.
Can you please provide the log for console?
Standalone console log can be found under your user home folder .nxmc/data/.metadata/.log
Web console log can be found under servlet container log folder for applications. In my case it is:  /var/lib/tomcat8/work/Catalina/localhost/nxmc/eclipse/workspace/.metadata
#145
Стандартные шаблоны перезаписываются после рестарта сервера если серверный конфигурационный параметр ImportConfigurationOnStartup выставлен в 1. Если вы не хотите обновлять стандартные шаблоны - выставите ImportConfigurationOnStartup в 0.

Ваши изменения в стандартных шаблонах уже переписаны и восстановить их можно только из backup базы NetXMS(если она делалась).
#146
Bug fixed. Will be included in new stable release.
#147
General Support / Re: File.Count
January 25, 2017, 03:34:50 PM
You can check Example 2 : https://www.netxms.org/documentation/adminguide/file-meta-info-monitoring.html#example-2
Check that the count of files that were created in last 24 hours is bigger than zero.
#148
We have implemented option to have different switch port layouts on "Ports" tab (non default like down-to-up, right-to-left). For now we have changed port layout only for HP A-series (former H3C) as we have one. If you know other SNMP devices that have non standard port layout configuration please share. Will be happy to set correct configuration for them.
#149
It the code I found that this may happen when it's not possible to run "stat" on this folder. But there is not printed why it was not possible(I can add this to code, but no idea about next release date).
One of possible problems can be that user that runs NetXMS does not have access to this folder.
#150
Чтобы в ручную запустить синхронизацию нужно запустить серверную консольную команду "ldap sync". Есть несколько вариантов:
1. В консоли(не веб) запустите tools->server Console. Там запустите команду "ldap sync". Но серверная консоль не доступна в веб версии консли, поэтому второй вариант
2. Запустите серверную команду через nxadm(пример: /opt/netxms/bin/nxadm -c "ldap sync") и посмотрите результат в логе или запустите сервер из консоли(пример: /opt/netxms/bin/netxmsd -D6). Уровень дебага должне быть 4 или выше.

Результатом синхронизации должно быть то что все пользователи и группы будут автоматически добавлены к списку пользователей NetXMS.