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

#121
General Support / Re: Using custom attribute in a DCI
November 14, 2017, 07:24:04 PM
Hi,
Please check this forum discussion:
https://www.netxms.org/forum/general-support/custom-attributes-as-parameters-to-dcis/ - described how to get custom attribute as DCI parameter
#122
General Support / Re: Documentation
November 14, 2017, 07:03:49 PM
Hi,

We are doing our best to organize documentation in next way:
- Admin guide - main documentation that will contain overall information about the system and detailed description of views and possible actions. Small amount of very simple examples. (Most of configuration parameters are already described in documentation: https://www.netxms.org/documentation/adminguide/appendix.html#agent-configuration-file-nxagentd-conf and https://www.netxms.org/documentation/adminguide/appendix.html#server-configuration-file-netxmsd-conf)
- Wiki - all "How to" and script/code examples, information for developers
#123
Second level of debug. Messages should be something like: "%s: PDH Error %08X in call to %s (%s)"
#124
General Support / Re: desktop console MIB Explorer
November 14, 2017, 06:01:28 PM
Please check that option "Connect over slow link" is not selected(on the very first login screen). This option basically prevent MIB download to client, so explorer will not work.
#125
We have not faced any issues with auto remove.
Please verify, that "Remove this template automatically when node no longer passes through filter" option is selected for the template on "Automatic Apply Rules" property page.

Also in your script:
Template will be applied to all routers with custom attribute or to bridges(with or without custom attributes). If you want to check custom attributes for bot is should look like:

if ((GetCustomAttribute($node, "RANCID_ENABLED") ~= "1") && (($node->isRouter ~= "1") || ($node->isBridge ~= "1")))
{ return true;
} else {
return false;
}
#126
General Support / Re: DCI Custom Schedule
November 14, 2017, 05:43:26 PM
Do you use custom schedule together with "Agent cache mode"?
This combination will not work - it is known bug, that will be fixed some day: https://track.radensolutions.com/issue/NX-713
#128
Да. Policy бывают теперь 2х видов - по факту это просто файлики которые при наложении передаються на агенты и складываються в папочку для дополнительных конфигов. Дальше уже сам агент знает что за тип конфига и спользует его соответствующе.
Про Agent Configuration Policy можно почитать тут: https://www.netxms.org/forum/general-support/agent-policies-vs-agent-configuration-files-on-server/ и тут https://www.netxms.org/documentation/adminguide/agent-management.html#agent-policies
Log Parser Policy это фалй который будет использоваться для парсинга логов. Для его использования необходимо настроить загрузку SubAgent = logwatch.nsm. Полько вместо создания и загрузки в ручную парсеров на систему можно это делать через Policy. Про лог парсер больше можно узнать тут: https://www.netxms.org/documentation/adminguide/log-monitoring.html
#129
General Support / Re: Retrieve data FROM NetXMS
August 31, 2017, 03:45:13 PM
Hi,
It is possible to get last values for DCI using Rest API.
Rest API information: https://wiki.netxms.org/wiki/Web_service_API

URL for DCI last value history: /objects/{object-id}/datacollection/{dci-id}/values GET request with possible filters from=timeAsUnixTimestamp, to=timeAsUnixTimestamp,t imeInterval=time in seconsds, itemCount=numberOfItemsToReturn

Option to get last values for multiple nodes for the same DCI. AdHoc Table functionality through rest using custom defined table :
URL: http://10.5.3.4:8080/api/summaryTable/adHoc
POST request Json:
{
    "baseObject":"ContainerName",
    "columns": [
        {
        "columnName":"Name1",
        "dciName":"DCIName1"
        },
       {
        "columnName":"Name2",
        "dciName":"DCIName2"
        }
    ]
}
#130
Hi you should add init.d scripts to your system. I have attached examples for centOS.

In those file you should set correctly:
$NETXMS_BINDIR
$NETXMS_LIBDIR
$NETXMSD_CONFIG
$NETXMSD_PID_FILE
#131
Примерно так:
interfaces = GetNodeInterfaces($node);
foreach(i : interfaces)
{
   return i->macAddr like "85:55:*";
}
return false;
#132
Функциональность доступна начиная с версии 2.1-М1. Ссылка на ошибку https://track.radensolutions.com/issue/NX-53
#133
It should look like:


trace(3,$event->toJson());
#134
Announcements / Re: NetXMS 2.1-M2 released
February 16, 2017, 12:56:51 PM
For now only 2.0.x branch is considered as a stable one. All 2.1-Mx are Milestone releases before 2.1.0, which will be considered as a stable release.
#135
Currently working on "Template Market" that will easily accessed from Console. No release date yet.