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

#3706
Hi!

Could you check what is returned by underlying SQL query? Implementation of this function tries to parse value read from database as double, so there should be no limitation on 32bit integer size.

Actual query is

SELECT avg(coalesce(idata_value,0)) FROM idata_<node_id_here> WHERE item_id=<dci_id_here> AND (idata_timestamp BETWEEN <time1> AND <time2>);

Best regards,
Victor
#3707
General Support / Re: Distributed Monitoring
May 08, 2014, 05:33:10 PM
Hi!

Currently we do not support configuration synchronization between two NetXMS servers (although we have this in roadmap). What is possible now is event forwarding from one NetXMS server to another.

Best regards,
Victor
#3708
Hi!

If topology information is correct, you can try to use this script: http://wiki.netxms.org/wiki/Script_Example:_Additional_Information_About_Connected_Node as an example of how to get connected nodes and for SYS_NODE_DOWN event check if node is connected to the switch which is already down.

Best regards,
Victor
#3709
NetXMS agent uses PDH API to access performance counters. You can add feature request to our bug tracker for instance discovery support for perf counter DCIs.

Best regards,
Victor
#3710
Hi!

You can create filtering script for instance discovery which will attempt to get total space for file system and only return true if data was read successfully and size is non-zero. It could be something like this:


value = AgentReadParameter($node, "FileSystem.Total(" . $1 . ")");
return (value != null) && (value > 0);


Best regards,
Victor
#3711
Description of node class is here: http://wiki.netxms.org/wiki/NXSL:Node and all scripting reference information is here: http://wiki.netxms.org/wiki/Scripting_Guide

Best regards,
Victor
#3712
Hi!

WMI (stands for Windows Management Instrumentation) is not Windows Performance Counters - it's two different things. First you should understand what exactly you want to use. From the name \PhysicalDisk({instance})\Disk Reads/sec I suppose you are trying to use Windows Performance Counters. In this case, instance discovery will not work because DCI origin is not agent. It could be a feature request, but currently it's not possible.

Best regards,
Victor
#3713
No, it's not due to apostrophe character and SQL injection is not possible here. You can see that SQL statement is a prepared statement with placeholders - it is not constructed dynamically from external data. Also, error message clearly states "Violation of PRIMARY KEY constraint 'PK__alarm_ev__E6249E6BFEDA1E4D'. Cannot insert duplicate key in object 'dbo.alarm_events'. The duplicate key value is (1704, 64513)" - actual problem is that system for some reason tries to insert duplicate record into table. It is definitely a bug, but not a security threat.

Best regards,
Victor
#3714
Добавить все устройства из подсети во временный контейнер (если они уже не добавлены в какие-то контейнеры), после чего удалить субнет с неправильной маской и сделать configuration poll (или подождать). Потом временный контейнер можно будет удалить, он нужен чтобы при удалении субнета не удалились хосты.
#3715
Can you please provide more detailed example of correctly and incorrectly displayed connection point (maybe with some screenshots) together with mac address table records?

Best regards,
Victor
#3716
Hi!

No, it's not possible. Custom maps was intended for manual population. You can create IP or link layer map with automatic population and filters.

Best regards,
Victor
#3717
Could you try Java 6?

Best regards,
Victor
#3718
Hi!

Quote from: mialkfl on May 05, 2014, 10:48:12 AM
1. Event Processing: We have set the "ThresholdRepeatInterval" under Server Configuration to 0 and the "Repeat event" of all DCIs' Thresholds is set to "Use default settings". According to the Thresholds' event, an email is sent as an Action to our teammailbox. Due to using Templates for all vessels, there are a few vessels for which we are monitoring services, which are not installed yet. Against our expectations we receive an Email-Alert every week, which should be only once.

Could it be that you re-apply templates periodically? Is it some fixed interval or you get these events at random moments?

Quote from: mialkfl on May 05, 2014, 10:48:12 AM
2. Configuration File Policies: As we have a standardized structure for every vessel, some nodes are disabled for some vessels. If we try to install a policy on one of these nodes, an error occurs, because no NetXMS client is installed on the disabled nodes and therefore the necessary action is not available. This is especially tricky, when we would like to install a policy on all nodes. Maybe there is a possibility to only link disabled nodes to the policy and install the linked policies, when the node is enabled?

3. Package Manager: Due to communication via satellite, we are facing a lot of connection issues. If we are distributing a new NetXMS Client Package via Package Manager to all of our vessels, only approx. 20% will be completed successfully. In the Package Deployment Monitor we have no possibility to restart failed deployments and if we restart the Deployment via Package Manager for all nodes, the deployment runs for every node (no matter if it has been deployed successfully before or not) again. So finally we don't have a general overview, where the packaged has been deployed successfully and where we do have to restart the deployment.

Both are possible. I've created feature requests for them:

https://www.radensolutions.com/chiliproject/issues/563
https://www.radensolutions.com/chiliproject/issues/564

Best regards,
Victor
#3719
Hi!

I cannot reproduce console freeze on my development system - so there are chance that your problem will gone after upgrade. However, filtering script will not help you - it is intended for automatically populated maps and filters what object should be added to the map by server. It will not affect manually added objects. You can use nxshell as proposed in previous post to populate map (or delete unwanted objects).

Best regards,
Victor
#3720
General Support / Re: Log parsing
May 07, 2014, 06:12:01 PM
It seems to be server log but I need agent log (because problem is on agent side - server just process events coming from agent).

Best regards,
Victor