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

#2176
General Support / Re: agent-to-server connections
April 09, 2017, 12:19:43 PM
Hi,

this is short configuration instruction: https://wiki.netxms.org/wiki/How_to_configure_agent_to_server_connection

Best regards,
Victor
#2177
Yes, this is what zones are for. You can have overlapping IP addresses as long as they are in different zones.

Best regards,
Victor
#2178
General Support / Re: 2.1M3 Mqtt support
April 07, 2017, 09:41:03 AM
P.S. You can also use Port, Login, and Password parameters in broker section.
#2179
General Support / Re: 2.1M3 Mqtt support
April 07, 2017, 09:39:32 AM
Hi,

currently agent can connect to broker and pass published data to server as events or provide additional metrics with received data. You can connect multiple brokers to one agent. For each broker you should create section named MQTT/Broker/broker_name where you'll define broker hostname using Hostname parameter. Then you can use sections MQTT/Broker/broker_name/Events and MQTT/Broker/broker_name/Metrics to map receiving data to events and metrics.

Example MQTT subagent configuration:


SubAgent = mqtt.nsm

[MQTT/Brokers/Office]
Hostname = mqtt.office.radensolutions.com

[MQTT/Brokers/Office/Events]
MQTT_METERHUB_RAW_DATA = "cmnd/5C:CF:7F:25:79:D6/#"

[MQTT/Brokers/Office/Metrics]
MeterHub.Telemetry.RSSI = "tele/5C:CF:7F:25:79:D6/RSSI"
MeterHub.Telemetry.Time = "tele/5C:CF:7F:25:79:D6/TIME"


here agent will subscribe to one broker at address mqtt.office.radensolutions.com, will generate event MQTT_METERHUB_RAW_DATA for each message matching pattern cmnd/5C:CF:7F:25:79:D6/#, and provide two additional metrics MeterHub.Telemetry.RSSI and MeterHub.Telemetry.Time.

Best regards,
Victor
#2180
Hi,

as far as I can tell your schedule is not valid cron expression. As stated on web site "Generated expressions are based on Quartz cron format". NetXMS supports subset of UNIX cron format (see here for example: https://en.wikipedia.org/wiki/Cron#Modern_versions). It only supports *, /, -, L, and lists. Try to change your schedule to


30 23 * * 1-5


Best regards,
Victor
#2181
Hi,

you are using assignment operator (=) instead of equals operator (==). This script will work:



if ($1 == 1000000000)
return "1 Gbps";
if ($1 == 100000000)
return "100 Mbps";
if ($1 == 10000000)
return "10 Mbps";


Or you can simplify it a bit to


switch($1)
{
   case 1000000000: return "1 Gbps";
   case 100000000: return "100 Mbps";
   case 10000000: return "10 Mbps";
}


Best regards,
Victor
#2182
Добрый день!

А скрипт трансформации есть на DCI? Если да, то как он выглядит?
#2183
Попробуйте включить уровен дебага 6, дождаться появления дубликата, и прислать лог сервера (или найти в нем записи связанные с дублируючимися объектами).
#2184
Сервер выполняет такой SQL запрос для получения связанных событий по аларму:


SELECT event_id,event_code,event_name,severity,source_object_id,event_timestamp,message FROM alarm_events WHERE alarm_id=? ORDER BY event_timestamp DESC LIMIT 200;


и для каждого полученного события


SELECT e.event_id,e.event_code,c.event_name,e.event_severity,e.event_source,e.event_timestamp,e.event_message
FROM event_log e,event_cfg c WHERE e.root_event_id=? AND c.event_code=e.event_code;


можете попробовать выполнить такие запросы вручную и проверить насколько быстро они выполняются? И если медленно, то почему?
#2185
Hi,

starting with 2.1-M3 we have added integration with Grafana visualization tool. It is not PNG as you wanted, but still can be used to provide web UI for seeing graphs without actually giving access to NetXMS.

Best regards,
Victor
#2186
General Support / Re: Agent Screenshot
April 03, 2017, 11:37:43 AM
Hi,

currently screenshots defaulted to console session. We will add session selector in one of next versions.

Best regards,
Victor
#2187
Hi,

most likely that's because your JVM does not support AES-256, only AES-128. You may need to download and install "JCE Unlimited Strength Jurisdiction Policy Files" into your JVM.

Best regards,
Victor
#2188
Hi,

nxdbmgr supposed to be able yto handle upgrades from any version to current. You can try to run upgrade again, just make sure you check and fix all issues with DB before starting upgrade. If you are interested in paid support from Raden Solutions, just send me private message.

Best regards,
Victor
#2189
Hi,

yes if you are expanding parameter from template. When template is applied on node, you can use %{node_primary_ip} macro (see https://www.netxms.org/documentation/adminguide/data-collection.html#macros-in-template-items for details).

Best regards,
Victor
#2190
Hi,

server caches object data in memory, so direct DB changes while server is working will not be picked up. You can use NetXMS API to modify object custom attributes (either Java API or Python scripts using nxshell).

Best regards,
Victor