Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

B

Beda

@Beda
Unfollow Follow
About
Posts
26
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SNMP enumerations in Object Tool
    B Beda
    Development

    Hello,
    I'd like to ask you if there is a way how to display string enumerations from a MIB file instead of an integer value in a SNMP Table Object Tool (or in MIB Explorer)?

    The snmp integer enumerations are described for example here:
    https://www.webnms.com/snmp/help/snmpapi/snmpv1/using_mibs_in_applns/enumintegers.html
    and in the mib file (mymibfile.txt), they can look like this

    severity OBJECT-TYPE
    	SYNTAX	INTEGER {
    				info(0),
    				warning(1),
    				error(2),
    				fatalError(3)
    			}
    	MAX-ACCESS	read-only
    	STATUS		current
    	DESCRIPTION	"Severity of the error"
    

    Instead of a number (1), I would like to see the associated string (warning) in the table.

    I tried to track the enumerations in code, but it seems to me that they don't even get to the netxms.mib file. Does NetXMS read the mib files (with .txt suffix) again or is it necessary to store the enumeration strings in the netxms.mib file? I'm afraid that modifying the netxms.mib file could cause a lot of trouble during parsing.

    I could try to implement this functionality myself (if it isn't implemented yet), but now I feel a bit lost, so each hint or advice would help me.

    I'm using NetXMS 2.0-M2 on Ubuntu.


  • Adding Condition to Trusted Nodes
    B Beda
    Support

    Hello,
    I try to access a Node from Condition's Status calculation script using FindNodeObject() method.
    The function still returns null, probably because the Condition isn't in the Node's "Trusted Nodes" list.
    But I can't add the condition there, because conditions are hidden in the tree when I click Add in "Trusted Nodes".
    FindNodeObject() works correctly if CheckTrustedNodes is set to 0 in Server Configuration, but it's only a workaround.
    Version of NetXMS used: 2.0-M1.


  • Object Tools for Conditions
    B Beda
    Support

    OK, this looks like a very powerful tool.
    Unfortunately I'd want to create a SNMP Table tool which (according to the admin-guide) doesn't support neither macro substitution nor setting a target IP.
    And without the target IP setting I can't predefine a SNMP Table tool which is independent on IP of the selected node.


  • Object Tools for Conditions
    B Beda
    Support

    Thank you, you helped me a lot.
    The first part is clear, now I am able to set a status of the node based on other nodes.
    But I'm afraid that I don't fully understand the second part. How can I hard-code a target node to the Object Tool?


  • Object Tools for Conditions
    B Beda
    Support

    Thank you for your immediate response.

    Unfortunately, in my case it is important on which node the Tool is called, because it is a SNMP table tool.

    The Condition has an advantage of being able to compute its status based on values from multiple objects, which I need.
    But I'd also want to display predefined Object Tool on a predefined node in a pop-up menu of the condition.

    The first solution which came on my mind is adding 2 optional parameters to each Object Tool:

    • target node - the node on which the tool will be called regardless of the selected object
    • displaying objects - list of objects (including non-node ones) that will have this tool in their pop-up menus

    Tools without these parameters would work as today.
    Do you think this solution could be consistent with current concept of the NetXMS?
    Could this be achieved in a less complicated way?


  • Object Tools for Conditions
    B Beda
    Support

    Hello,
    first, thank you for your great software and continuous development and support.

    Maybe this should be a feature request, but I'm not sure that I don't miss already existing way how to do what I want, so I've chosen a General Support section. What I want to achieve is this:

    In a Network Map I would want to represent an abstract device whose state is computed from more physical (and virtual) machines by a SNMP polling. I would want to represent the device by 1 icon (i.e. by 1 object), hence a Condition seems to be the right object for me so far.
    But I would also want to be able to call a predefined Object Tool (on a predefined Node) from a right-click pop-up menu of the icon in the Map, which forces me to use an object of type Node instead of the Condition.

    So far I've used a hack of the management console (I modified its sources), so I'm able to "chain" a Condition with a Node using the Condition's Custom Attribute with the ID of the Node. My modified console then displays a Tools item in a pop-up menu of the Condition. But I think that this modification does not correspond with an intended use of Condition objects, so I would want to ask:

    • Is there a way how to do this using existing objects?
    • If not, how (conceptually) could this functionality be implemented? As a new object? As a modification of an existing one? In another way? Maybe I could try to implement the modifications, but I don't want to corrupt a concept and the intended use of the objects, because I don't have an overall view of the project.

  • Alarm Notifier - Repeated sound warning
    B Beda
    Support

    Hi,
    is there a way how to set Alarm Notifier up such that it'd repeatedly play selected sound during all the time when an alarm is in an Outstanding state? I'd want to hear a sound when the alarm is generated and then each e.g. 5 seconds until somebody chnges a state of the alarm.

    I've tried inelegant solution using Alarm timeouts (SYS_ALARM_TIMEOUT terminated previous alarm and then created it again), but it needs extra rules (in Event Processing Policy) and it hides original time of creation of the alarm.


  • Not displayed log messages
    B Beda
    Support

    Hi,
    when I run

    netxmsd.exe -D9
    

    and in NetXMS\etc\netxmsd.conf a variable LogFile is set to {syslog}, log messages aren't displayed in a console. But if the variable LogFile is set to a standard file, log messages are displayed. Is it a feature or a bug?


  • Disabling not allowed tools
    B Beda
    Feature Requests

    This can look like a cosmetical issue, but I think it could significantly increase end-user frendliness of a Management Console.
    Would it be possible to hide (or disable) toolbar and menu items not allowed to user because of his low access rights instead of displaying an error message "Access denied"?


  • Inheritance of rights in user management
    B Beda
    Feature Requests

    Currently, user with a right to "manage users" is able to change its own rights (which gives him power of a superuser). This solution works and is documented, which is good.
    Unfortunately it is not possible to create a user with restricted rights (non-superuser) which can create new users.

    I'm afraid that changing user management policy in NetXMS is not a simple task, nevertheless I tried to formulate some rules that could be used.
    Let Bob be one of users:
    0 - Bob can't change his own rights.
    1 - Bob can't grant another user (or group) a right that Bob doesn't have.
    2 - Bob can't remove another user (or group) a right that Bob doesn't have.
    3 - Bob can't add users to groups that have at least one right that Bob doesn't have.
    4 - Bob can't remove users from groups that have at least one right that Bob doesn't have.
    5 - Bob can't delete user that have at least one right that Bob doesn't have.
    6 - Other actions are allowed to Bob.

    In another words these rules prevent Bob from changing his own rights, but allow him to manipulate with rights of all other users (but only with rights that Bob has). E.g. if Bob can only "Send SMS" and "Manage users", he can prevent (or grant) arbitrary user from sending SMS, but he isn't allowed to manipulate with "View event log" right of any user (including Bob himself).

    Maybe this solution is too crazy, but I think that possibility to create a non-superuser which can create new users could be a helpful feature.


  • PostgreSQL database export error
    B Beda
    Support

    After replacing files in C:\NetXMS\lib\sql by your files, export works.
    Thank you very much.


  • PostgreSQL database export error
    B Beda
    Support

    Hi, is "nxdbmgr.exe export" supposed to work with other databases than SQLite? I'm using PostgreSQL and I get

    C:\NetXMS\bin>nxdbmgr.exe export DBbackup
    NetXMS Database Manager Version 1.2.7
    
    ERROR: Schema version mismatch between dbschema_sqlite.sql and your database. Please check that NetXMS server installed correctly.
    Database export failed.
    

    Shouldn't dbschema_pgsql.sql be used?
    I'm running NetXMS 1.2.7 on Windows7 with PostgreSQL 9.2.


  • Alarm Details tool bugs
    B Beda
    Support

    Thank you, now displaying of alarm states works perfectly.
    Do you have an idea in which version the editting of alarm comments could be fixed (I didn't find this issue in a bug tracker)?

    Beda


  • Management Console sources
    B Beda
    Development

    Thank you,
    this helped me a lot.

                Beda


  • Eclipse Junos RCP Compile problems Netxms Console
    B Beda
    Support

    Maybe this guide could be helpful:
    https://www.netxms.org/forum/windows/compilation-of-a-netxms-console-in-eclipse/


  • Compilation of a NetXMS console in Eclipse
    B Beda
    Development windows

    Finally, I found out how to compile the NetXMS 1.2.6 desktop console and here is a guide for compiling it on Windows7:

    • Download NetXMS sources from SVN
      • Source package in "Download" section of an official site does not contain sources of the console, so use the SVN (for more info see https://www.netxms.org/forum/general/management-console-sources/)
      • SVN repository address: https://svn.netxms.org/public/netxms/tags/version-1.2.6
      • For example Tortoise (http://tortoisesvn.net/) can be used for downloading these sources
    • Install Maven
      • Download Maven from http://maven.apache.org/download.cgi
      • Insttall Maven according to README.txt (extract downloaded archive, set environment variables PATH and JAVA_HOME)
      • Run "mvn --version" to verify that Maven is correctly installed
    • Run version-1.2.6/src/java/package.cmd
      • For more info see https://www.netxms.org/forum/general-support/how-can-i-rebuild-the-new-java-console-from-scratchby-the-java-source-code/msg5207/#msg5207
    • Install and configure Eclipse
      • Download Eclipse Indigo 3.7 (this version is recommended at https://www.netxms.org/forum/installation/eclipse-junos-rcp-compile-problems-netxms-console/msg9001/#msg9001) for RCP and RAP Developers from http://www.eclipse.org/downloads/packages/release/indigo/sr2
      • Install plugins enumerated in a file version-1.2.6/src/java/eclipse_addons.txt. These plugins must be installed using a wizard in "Help->Install New Software" (see https://www.netxms.org/forum/windows/compilation-error-with-java-manage-console/msg9513/#msg9513)
    • Import projects from following folders to Eclipse using a wizard "File->Import->General->Existing Projects into Workspace":
      • version-1.2.6/src/java/netxms-eclipse
      • src/java/nebula/org.netxms.nebula.widgets.gallery (see https://www.netxms.org/forum/general/compiling-problem(missing-jar)/msg5261/#msg5261)
    • Run console directly from Eclipse (for quick testing)
      • Right-click on nxmc.product under nxmc-core project and select "Run As->Eclipse Application"
    • Create executable binary
      • Right-click on nxmc.product under nxmc-core project and select "Export"
      • In an export dialog, select "Eclipse product", press Next, and follow the wizard
      • for more see https://www.netxms.org/forum/general-support/how-can-i-rebuild-the-new-java-console-from-scratchby-the-java-source-code/msg5207/#msg5207

  • Management Console sources
    B Beda
    Development

    Hi,
    I would want to ask if it is possible to download a stable version of sources of a Management Console. I didn't find these sources in regular release packages and in actual state I can't be sure that sources of the console downloaded as an svn snapshot are stable.
    Also I think that this state can be a bit confusing - I tried to make some changes in sources (including translating NetXMS into Czech) and I was unsuccesfully grepping Spanish words in source package of 1.2.6 (finally I found https://www.netxms.org/forum/general/about-the-language/ and the problem was solved).


  • Compilation of a NetXMS console in Eclipse
    B Beda
    Development windows

    Hi,
    I would want to ask you, how to compile a NetXMS Management Console in Eclipse Indigo under Windows7. I've tried to experiment with Eclipse (it is a new IDE for me), but I didn't succeed. I tried to set the Eclipse Indigo according to
    https://www.netxms.org/forum/installation/eclipse-junos-rcp-compile-problems-netxms-console/msg9001/#msg9001
    but I couldn't run the console because of missing packages (org.netxms.api..., org.netxms.client...).
    Please, could you give me a hint how to get sources of the console into the Eclipse and compile it?
    Is "Import / Existing Projects into Workspace" a good way?


  • nxdbmgr export
    B Beda
    Support

    Hi, I know that Ithis topic was mentioned yet (for example  in https://www.netxms.org/forum/general-support/nxdbmbr-bug/msg7948/#msg7948).
    Unfortunately in NetXMS 1.2.6 with PostgreSQL 9.2.4 under Windows7 after

    C:\NetXMS\bin> nxdbmgr.exe export backup_file
    

    I still get

    NetXMS Database Manager Version 1.2.6
    ERROR: cannot load schema file "C\lib\sql\dbschema_sqlite.sql" Database export failed.
    

    Adding "DataDirectory = path" into netxmsd.conf doesn't help (unfortunately I don't understand how it is connected with the error and which path should I use). I can't find this issue in BugTracker, so I am afraid that I am missing something important.
    Could you please tell me how should I export the database with nxdbmgr.exe correctly?


  • Configuration of Perspectives
    B Beda
    Support

    Hi, I would like to ask you two questions related to configuration of NetXMS:

    First, is it possible to prevent some users from viewing some perspectives?
    My goal is to prepair a "simple" perspective for non-experienced users and I would like to hide their "Default Perspective" button. I would like the default perspective to be visible only for more privileged users. Ideally, non-experienced users should not be able to customize their perspective at all.

    And the second question: Is it possible (in some perspectives) to hide items in a context menu of objects in an Objects Browser?
    A motivation is the same as in previous case: non-experienced users could be confused.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups