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

H

hbc

@hbc
Unfollow Follow
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Strange interface counting and port view
    H hbc
    Support

    Hello,

    I have some modulare HP 5412 switches. The component view looks pretty good. Several modules as container and ports from Letter 1-24 (A1-A24, B1-B24,...).
    The interface names in interface view are also right, even the ifIndex is incrementing correctly (A1=1, A24=24, B1=25, B24=48), BUT the port number is wrong.

    A1=1, A23=23, A24=0, B1=1, B23=23, B24=0

    This leads to display errors in port view. Sometime even one port (24) is missing per module and most modules start with port 0 instead of 1.

    For further info watch the screenshots.


    xms-components.PNG

    xms-interface.PNG

    xms-ports.PNG


  • Trivial transformation not working
    H hbc
    Support

    It is a template. Somewhere in forum, I found the quote:

    Transformation scripts in templates never executed - it is just a template for real DCIs.

    So, I tried to run the test in object DCI and there it worked. A bit tricky to develop templates, since I have to apply them to test scripts.


  • Trivial transformation not working
    H hbc
    Support

    Hi guys!

    I recently installed netXMS 2.2.11 on linux from sources and added some DCIs to templates for getting started.
    I watched the video tutorial and read the docs.

    I read an SNMP value (uptime) and want to transform it to minutes (timeticks/6000). Analog to tutorials this should be pretty easy.

    My transformation:

    $1/6000
    

    or

    return $1/6000;
    

    I set data type to floating point, but all I get is:

    Cannot execute script: Incompatible operation

    Server debug log (lvl7) shows

    2019.01.11 09:40:52.707 [client.session.0  ] Received message CMD_TEST_DCI_TRANSFORMATION
    2019.01.11 09:40:52.707 [client.session.0  ] Sending message CMD_REQUEST_COMPLETED (32 bytes)

    I also tested nxscript command on cli and compiled some preinstalled scripts from script library. Script compiler seems to work.

    So what am I doing wrong or do i have to change, that transformations work? This is a real show stopper.

  • 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