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

bohdan

@bohdan
Unfollow Follow
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows 2K8, NETXMS and PostgreSQL
    B bohdan
    Support

    Hello.

    Problem is, that you don't have installed "Microsoft Visual C++ 2008 Redistributable version 9".

    pgsql.ddr driver requires dll library from that package. You have to download it from Microsoft pages.

    Best Regards,
    Bohdan


  • Custom network map Object Filter
    B bohdan
    Support

    Hi.

    Is it possible to automatically  populate custom network map with nodes containing particular custom attribute, for example Location=Bratislava ?
    I can do that by python script from my previous post, but I think something similar to automatic binding of nodes to container.

    Best regards,
    Bohdan


  • Custom network map Object Filter
    B bohdan
    Support

    Solution 🙂

    Test case:
    map name - Ambit
    node name - ubuntu

    from org.netxms.client.maps.elements import NetworkMapObject
    
    mapaAmbit = s.findObjectByName("Ambit")
    mapaId = mapaAmbit.getObjectId()
    md = NXCObjectModificationData(mapaId)
    page = mapaAmbit.createMapPage()
    elementId = page.createElementId()
    myObject = s.findObjectByName("ubuntu")
    myObjectId = myObject.getObjectId()
    
    ne = NetworkMapObject(elementId,myObjectId)
    ne.setLocation(150,150)
    page.addElement(ne)
    
    md.setMapContent(page.getElements(),page.getLinks())
    s.modifyObject(md)
    

  • Custom network map Object Filter
    B bohdan
    Support

    Hello.

    Always I try to add filtering script  in my custom map via NetXMS console, I get popup: Request time out. Console is not frozen but all other operations are time outed since mentioned operation. I can close console but it is not possible to reconnect with console anymore. nxshell also can't connect, probably any client can't connect to server. I don't see any error in server log and debug messages about continuing discovery and monitoring are written to log, so server is not crashed. I have to restart netxms server to be able connect with console again.

    What I need to do:
    My custom map contains a lot of nodes drag-and-dropped from subnets, but I need to display only nodes with concrete Custom Attribute.
    May be there is some other way how to create filtered custom map via nxshell but I din't find out how to do that. I need to create custom map via filter like I can do it for  infrastructure Service Container.

    I have NetXMS 1.2.13. I have discovered, that  same problem is also in my older version 1.2.9
    Simplified filter I use to simulate problem: return $node->isSNMP;

    Can anybody help me with this problem ?

    Thanks in advance,
    Bohdan

  • 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