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

F

Fred

@Fred
Unfollow Follow
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [Solved] Network Map Group / Propogation Status from L2 Topo Map
    F Fred
    Support

    Thanks Victor,

    Regards


  • [Solved] Network Map Group / Propogation Status from L2 Topo Map
    F Fred
    Support

    Hello,
    with containers and the same configuration the propagation is normal ...

    Fred


  • [Solved] Network Map Group / Propogation Status from L2 Topo Map
    F Fred
    Support

    Hello,

    A CRITICAL status from a Network Map (L2 Topo) is not propageted to the Map Group

    The Network Map (L2 Topo) :
    ObjectId : 72926
    getParentIdList : array('l', [72927L])
    Status : CRITICAL
    StatusPropagationMethod : 0

    The Map Group :
    ObjectId : 72927
    Status :NORMAL
    StatusCalculationMethod : 0

    I do not understand.

    Any ideas?
    Thanks


  • [Solved] Script / modifyObject mapgroup / NullPointerException
    F Fred
    Support

    Thanks Victor,
    Its working.

    Regards


  • [Solved] Script / modifyObject mapgroup / NullPointerException
    F Fred
    Support

    Hello,
    i have a problem to change  "Status Calculation Method" on mapgroup with a script,  mapgr is a NetworkMapGroup :

            print "mapgr.getObjectClassName(): %s " % ( mapgr.getObjectClassName())
            print "mapgr.getStatusCalculationMethod(): %s " % ( mapgr.getStatusCalculationMethod())
            md = NXCObjectModificationData(mapgr.getObjectId())
            print "md.getStatusCalculationMethod() : %s" % (md.getStatusCalculationMethod())
            md.setStatusCalculationMethod(3)
            print "md.getStatusCalculationMethod() : %s" % (md.getStatusCalculationMethod())
            session.modifyObject(md)
    

    result :

    mapgr.getObjectClassName(): NetworkMapGroup
    mapgr.getStatusCalculationMethod(): 1
    md.getStatusCalculationMethod() : 0
    md.getStatusCalculationMethod() : 3
    Traceback (most recent call last):
      File "Creation-de-map_3.py", line 12, in <module>
        session.modifyObject(md)
    	at org.netxms.client.NXCSession.modifyObject(NXCSession.java:4953)
    	at org.netxms.client.NXCSession.modifyObject(NXCSession.java:5111)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    java.lang.NullPointerException: java.lang.NullPointerException
    

    Why md status calculation is different from mapgr status calculation  ?

    Any ideas?
    Thanks

    NetXMS Server Version 2.2.6 Build 9513 (2.2.6) (UNICODE)
    NXCP: 4.48.1.13 (AES-256, Blowfish-256, 3DES, AES-128, Blowfish-128)
    Built with: g++ (Debian 4.9.2-10) 4.9.2

  • 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