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 - Victor Kirhenshtein

#4501
Значение instance берется не из самого параметра - это просто текст, занесенный в поле instance на страничке Thresholds в свойствах DCI.
#4502
General Support / Re: Instance Discovery questions
June 20, 2013, 12:33:25 PM
Just checked trace. I've created simple script:


for(i = 0; i <= 9; i++)
trace(i, "Trace at level " . i);


and run it on my test server console (with debug level set to 6). Output is as expected:


netxmsd: exec c:\temp\trace.nxsl
[20-Jun-2013 12:32:15.828] Trace at level 0
[20-Jun-2013 12:32:15.828] Trace at level 1
[20-Jun-2013 12:32:15.828] Trace at level 2
[20-Jun-2013 12:32:15.828] Trace at level 3
[20-Jun-2013 12:32:15.828] Trace at level 4
[20-Jun-2013 12:32:15.828] Trace at level 5
[20-Jun-2013 12:32:15.828] Trace at level 6
INFO: Script finished with rc=0

netxmsd:


Best regards,
Victor
#4503
General Support / Re: Custom Attributes
June 19, 2013, 12:40:16 PM
Hi!

You can create new empty template, open data collection configuration for existing one, select DCIs you want to copy to new template, right-click, select "Copy to other node...", and select new template object as destination.

You can modify templates using nxshell and Python scripts. Info about nxshell can be found here: http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations, and Java API documentation is here: https://www.netxms.org/documentation/javadoc/latest/ (you call Java API from nxshell script).

Best regards,
Victor
#4504
Общие вопросы / Re: snmp v3 informs
June 18, 2013, 05:36:33 PM
На первый взгляд ответ кажется правильным. Буду читать RFC внимательно и сравнивать ответ сервера с тем, что должно быть по стандарту.
#4505
General Support / Re: Custom Attributes
June 18, 2013, 05:13:26 PM
Another possible option is to use script type macros in templates. For example, you can use macro like

%{script:SelectOID}

instead of actual OID in template, and create script called [n]SelectOID[/b] in script library, which will return correct OID for given node. This script will have $node variable set, so it can get any information about the node.

For example:


if ($node->snmpOID like ".1.3.6.1.4.1.11.*")
   return ".1.3.6.1.4.1.11.2.3.4.5.6.7.8.0";
return return ".1.3.6.1.2.1.1.1.0";


Not sure if this will be easier then configuring separate templates...

Best regards,
Victor
#4506
General Support / Re: Custom Attributes
June 18, 2013, 04:59:52 PM
Hi!

Custom attributes are attached to the object. Template only handles data collection configuration, custom attributes will not be copied. Custom attributes was designed to store object-specific attributes, and often used by integration tools or scripts. For data collection it is usually enough to create different templates for different vendors/models.

Best regards,
Victor
#4507
Мистика какая-то. Connection from 192.168.3.3 rejected означает что 192.168.3.3 не прописан в конфиге в MasterServers. Для теста, попробуйте в конфиге добавить MasterServers = 0.0.0.0/0 - тогда агент должен любые соединения принимать.
#4508
Quote from: touton on June 18, 2013, 12:48:36 PM
QuoteYou can create dashboard which contains other dashboards and configure rotation. (Create new dashboard object, add single element of type "Dashboard", open it's properties, and add dashboards you want to rotate to the list. You can also set delay between changing screen here.)
Seems to do the job, one question, I've create a dashboard to host network map. When it is displayed, I have no background, and icons are not setup like within the network map (I know that there's a bug with display settings storage not located in the map). Any idea ?

This is bug in console. It's already fixed, version 1.2.8 will work as expected.

Quote from: touton on June 18, 2013, 12:48:36 PM
QuoteNo, with current map implementation you can only see different colors beneath object icon
Any schedule for creating decoration or other object with color selection linked to object status ? (it might be usefull for ATM monitoring ;) )

I'll add this to feature request list, but don't expect it in 1.2.8.

Quote from: touton on June 18, 2013, 12:48:36 PM
Last thing : is there a way to send events to java console (like force opening X view) ? Thaks to this, it would be possible to change view when an event occurs.

No, it's not possible. You can create your own plugin which will listen to events coming from server and do necessaey view switching :) Also, this will be a bit simpler when we add Python scripting support in console (similar like it's done now in nxshell tool).

Best regards,
Victor
#4509
General Support / Re: Instance Discovery questions
June 18, 2013, 01:12:34 PM
Hi!

Currently it's not possible to rename DCIs created via instance discovery. I'll think what I can do for this in the future.

Trace function should work. Do you get other debug messages in the log? Maybe you specify debug level higher then actually enabled?

Do your device supports 64-bit interface counters? When you do SNMP walk on .1.3.6.1.2.1.2.2.1.16 in MIB explorer, do you get results? Also, don't forget that instance discovery occurs at configuration poll, so you won't see new DCIs until next configuration poll (you can run it manually as well).

Best regards,
Victor
#4510
Just add this issue to bug tracker so it will not be lost: https://www.radensolutions.com/chiliproject/issues/294.

Best regards,
Victor
#4511
General Support / Re: Error during installation
June 18, 2013, 10:36:40 AM
Hi!

What is your MySQL server version?

Best regards,
Victor
#4512
Listening on socket 0.0.0.0:4700 означает, что агент ожидает соединения на всех адресах, которые есть на хосте. Это нормально. Единственно, для локального агента добавьте 127.0.0.1 в списом MasterServers. И локальный агент ставится вместе с сервером, его не надо ставить отдельно.
#4513
Hi!

Quote from: touton on June 17, 2013, 11:42:41 PM
What are you using to do this (maps ?)? What is the best to display (html connection or full java console) ?

I recommend using Java console - it looks nicer and work faster. There are options in Java console for auto login: http://wiki.netxms.org/wiki/Autologin_for_Management_Console.

Quote from: touton on June 17, 2013, 11:42:41 PM
Is there a way to rotate screens (ie: switch some parts of the screen to see different info/room ?) ?

You can create dashboard which contains other dashboards and configure rotation. (Create new dashboard object, add single element of type "Dashboard", open it's properties, and add dashboards you want to rotate to the list. You can also set delay between changing screen here.)

Quote from: touton on June 17, 2013, 11:42:41 PM
Is there a way to change dasboard screen when an alert is raised ? (an alert occured, and all the screens are switching to a view of the error DCI)

No.

Quote from: touton on June 17, 2013, 11:42:41 PM
Is there a way to create icons depending on object status (we use labels, but sizeable lights would be easier to integrate on photos)

No, with current map implementation you can only see different colors beneath object icon.

Quote from: touton on June 17, 2013, 11:42:41 PM
What is the use of rack object in Infrastructure Services ?

It's not done yet. Idea is to provide easy to configure rack view - each node will have rack image and rack position attribute, so after you add it to rack object it will be displayed in correct position automatically. We plan to implement this in 1.2.9 release.

Quote from: touton on June 17, 2013, 11:42:41 PM
What is the best use of geo location ? (ie: I have multiple objects at the same location, do I use a container ?) ?

It mostly useful for mobile devices (we have monitoring agent for Android-based devices, so you can track their location on map). For many non-mobile objects in one location it's better to use container and set geo location attribute for the container.

Best regards,
Victor
#4514
Hi!

There are known issue with topology discovery not working on some Cisco switches for devices in VLANs other than VLAN 1. May be it's your case too.

Best regards,
Victor
#4515
Feature Requests / Re: Templates for Interfaces
June 18, 2013, 10:18:54 AM
Hi!

You can use instance discovery for that. With instance discovery, you can create single DCI in template which will be expanded to one DCI per interface (you can also filter for what interfaces DCIs should be created). There are very basi description in user manual: http://wiki.netxms.org/wiki/UM:Data_Collection#Instance_Discovery and video tutorial: http://www.youtube.com/watch?v=HSs9mP_0XK0.

Best regards,
Victor