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

#676
Quote from: Akira on March 02, 2021, 08:08:25 AM
Quote from: Victor Kirhenshtein on March 01, 2021, 06:55:21 PM
Ну значит он падает, а не виснет. Сможете прислать дампы?

сервис запущен был.
Там дамп 200мб, как передать?

Можно сюда залить: https://cloud.radensolutions.com/s/GAWHMA9ppyz78LF
#677
Hi,

second issue (404 errors for certain parameters) are normal system activity - server requests various data from nodes, but not every node support all parameters, so 404 response is expected.

PDH error is a bit more strange. When collecting performance counter metadata, agent reads all available objects and counters for each object. Such error means that PDH API reports object, but on attempt to read counters for that object returns error that such object is not found. We will add actual object name to this error message in next patch release - it will help to debug this issue further.

Best regards,
Victor
#678
Yes, it is working. Make sure that nxmc really picks up Java 11.

Best regards,
Victor
#679
General Support / Re: Set Web Console server IP
March 02, 2021, 01:45:46 PM
File nxmc.properties should be placed anywhere in class path. For Tomcat 9 good choice will be shared class path, by default it is $CATALINA_BASE/lib (unless redefined by the common.loader property in $CATALINA_BASE/conf/catalina.properties). You can find more details on Tomcat 9 class loader here: https://tomcat.apache.org/tomcat-9.0-doc/class-loader-howto.html.

Best regards,
Victor
#680
Ну значит он падает, а не виснет. Сможете прислать дампы?
#681
Rule number 5 - it has no condition, so it catches every event, and sends notification.

Best regards,
Victor
#682
Most likely you have some sort of "catch all" rule that also triggered for those events without explicitly listing them (like "all events from object"). If you can show your full policy I can comment further.

Best regards,
Victor
#683
Hi,

seems that there are two different problems. One is with CSV export - currently management console uses current system encoding instead of UTF-8, which can produce files like you have shown. I just fixed that, next version will always use UTF-8 for CSV encoding.
Second issue is likely database encoding - as we are using varchar fields text is converted to whatever character set is choosen for database, with all unsupported Unicode characters converted to ?. Easiest option probably would be to switch database to UTF-8 encoding, but is is only available for SQL Server 2019. If you only encounter such characters in software inventory, you can try to change data type for columns in table software_inventory to NVARCHAR from VARCHAR. I have registered issue in our bugtracker for considering switching to NVARCHAR for MS SQL: https://track.radensolutions.com/issue/NX-2016 - if implemented it will solve issues like this one.

Best regards,
Victor

#684
Hi,

I would create script DCI that will read last known values of two other DCIs and return two distinctive values for match and not match. Then set threshold on it as usual.

Best regards,
Victor
#685
Hi,

if you got emails that means that somewhere you have rule that catches this event and sends an email. Maybe something  generic, like all events from certain devices or with certain severity. Easiest way to turn off processing for this event is to add as first rule in EPP with condition set to just that event and action set to "stop processing".

Best regards,
Victor
#686
Hi,

currently the only way is to setup event processing action for desired events that will execute external script that will use snmptrap command to send trap to upper level NMS. We plan to have SNMP trap sending as separate action type for some time already, it will be implemented eventually. 

Best regards,
Victor
#687
Hi,

what server version do you have and on what OS? If Linux, was it installed from packages or built from source?

Best regards,
Victor
#688
Announcements / Q&A session at March 4th
February 24, 2021, 07:25:06 PM
Save the date – March 4, 2021 at 4pm CET.

We will organize online Q&A session with NetXMS developers. Please contact @moshenska in our Telegram support channel or at [email protected] to sign up.

P.S. If you have any complex questions, let us know in advance.
#689
А в логе самого netxmsd что-то есть?
#690
General Support / Re: DCI from table element
February 24, 2021, 03:23:22 PM
Hi,

you can use script DCI that will read table value either directly from agent or from table DCI and extract version of product of interest. For example, this script accepts package name as argument and return it's version, directly reading table from agent:

packages = $node->readAgentTable("System.InstalledProducts");
if (packages == null)
   return null;
for(p : packages->rows)
{
   name = p->get(0);
   if (name == $ARGS[1])
      return p->get(1);
}
return null;


Best regards,
Victor