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

Y

ytrasse

@ytrasse
Unfollow Follow
About
Posts
11
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Upgrade from 1.2.17 to 3.7 possible ?
    Y ytrasse
    Support

    Hi

    Is there a possibility to upgrade NetXMS 1.2.7 to 3.7 ?
    Maybe step by step. 1.2.7->2.x, 2.x->3.7 ?

    We already made a lot of Dashboards, MAPs, Queries in NetXMS 1.2.7.

    regards
    Leopold


  • Bind - IP Segemnts
    Y ytrasse
    Support

    Hi Victor

    It seem's that the problem is still existing also in 1.2.13

    regards
    leopold


  • SNMP Get disk free space
    Y ytrasse
    Support

    Hello andrey--k

    Filter and transfromation scripts are working on machines with several disk partitions, ond machines with and without DVD-drive.


  • SNMP Get disk free space
    Y ytrasse
    Support

    Hello andrey-k

    Transformation script is working perfect now.
    Attached my modified storage template für disk an memory usage (size/used/free/percent) in Gbyte/MByte.
    Maybe you can check it once more if everything is really working perfect and we can add this template to the standard
    templates lib for other users.

    One additional question.
    Is there a way to modify also the DCI description in a kind that instead of Disk {instance} the storage description
    from OID .1.3.6.1.2.1.25.2.3.1.3 is displayed ?  e.g. Disk C:\System


    storage-ok.xml


  • SNMP Get disk free space
    Y ytrasse
    Support

    Hello andrey--k

    I tested your hdd-template. In general it seems to be ok. But there is no transforamtion script to display the values in GByte.
    So I decided to merge your hdd-template with filter and instances with my working transformation script (see above).
    But I had no real success, because it seems that {instance} is not allowed in transformation scripts.
    e.g.
    ...
     oid = ".1.3.6.1.2.1.25.2.3.1.5." . {instance};
     disksize = SNMPGetValue(transport,  oid);  // get Disk size

    I also created a template for getting the memory size/used/free/percent template similar to the disk templates.
    My calculation of free memory here is also not working. (Other calculations are working)
    transformation script:
    sub main()
    {
      memused = GetDCIValueByName($node,(".1.3.6.1.2.1.25.2.3.1.6.".$1));
      memsize = GetDCIValueByName($node,(".1.3.6.1.2.1.25.2.3.1.5.".$1));
      memfree = (memsize - memused) * 64 / 1024;
      return (memfree);
    }

    Attached there are my templates for Disk size/free/used/percent and Memory size/used/free/percent
    It would be nice if somebody could check what is wrong with my templates.


    storage-notok.xml


  • SNMP Get disk free space
    Y ytrasse
    Support

    Hello

    I already found the problem in my script.
    It was no script problem, but a usage problem.
    I tested it with the "Test" option, but I used it on the template instead of the applied server.
    The transofrmation script itself seem's to be OK. It is working and returns the free disk space.

    However I will also have a look to your hdd template andrey-k.

    Attached there is my actual template.


    server.xml


  • SNMP Get disk free space
    Y ytrasse
    Support

    Hello

    I want to get the free Disk space on a windows HDD.
    But I can find in the host resource mib only "disk size = hrStorageSize" and "disk used space" = hrStorgeUsed.
    So I decided to calculate disk free space from paramters above via transfromation script below.
    (the DCI = $1 collects the disk size)

    sub main()
    {
      if ($node->isSNMP)
      {
      transport = CreateSNMPTransport($node);
        if (transport == null)
        {
          return -1;
        }
       
        diskused = SNMPGetValue(transport, ".1.3.6.1.2.1.25.2.3.1.6.2"); // get Disk used 😧
        blocksize = SNMPGetValue(transport, ".1.3.6.1.2.1.25.2.3.1.4.2");  // get Blocksize 😧
        if (diskused != null)
        {
            result = ($1 - diskused) ;      // Disk free = Disk size - Disk used
            result = result / ( 1024 * 1024 ) * blocksize / 1024 ; // transform to GByte
            return ( result );
           
        }
      }
    }

    But the script is not working. I always get the following error
    "Cannot execute script: Incompatible operation"

    Do you have any idea what is wrong in my script ?
    Are there other possibliies to get the disk free and memory free space via SNMP ?


  • WebUI
    Y ytrasse
    Support

    Hi Victor

    Fine, everything is working again with the new installer.

    Thanks
    Leopold


  • WebUI
    Y ytrasse
    Support

    Hi Victor

    Attached there is a screenshot from the web-interface.
    When I select different network maps from the object browser nothing is displyed in the main window on the right side of
    the object browser. Also a lot of menu items are missing under menu "view". eg. Alarm browser, Alarm log, Event log, ...

    best regards
    Leopold


    netxms-webui-empty.jpg


  • WebUI
    Y ytrasse
    Support

    Hi

    Today I installed the WebUi with Windows WebUI-Installer. (1.2.12)
    I can acces the WebUI, but there is no Output in the Outputwindow.
    With Netxms Console there is everything ok.

    I have attacheed the webui logfiles.
    Please have I look on it.

    best regards
    Leopold


    webui-log.zip


  • Bind - IP Segemnts
    Y ytrasse
    Support

    Hello

    I have some container groups created under "Infrastructure Services" an I want to bind complete IP segments to such a container.
    In version 1.2.9 this was possible. In the newest versions 1.2.11 and 1.2.12 I always got the following error:
     "Cannot create object binding: Incompatible operation".

    Is binding of complete Ip segments no longer supported or what could be the reason for the error now ?

    best regards
    Leopold

  • 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