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

T

thierryc

@thierryc
Unfollow Follow
About
Posts
6
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • NxShell Link color based on Objects
    T thierryc
    Support

    Hello,
    I am adding links to my maps using nxshell.
    With the following code the link is not reflecting the Object status.

    from java.util import ArrayList
    
    ltype = NetworkMapLink.NORMAL
    cd = NetworkMapLink(ltype,4885,4943)
    sList = ArrayList()
    sList.add(4917)
    sList.add(4943)
    cd.setStatusObjects(sList)
    cd.setRouting(NetworkMapLink.ROUTING_DIRECT)
    cd.setColorSource(LinkConfig.COLOR_SOURCE_OBJECT_STATUS)
    
    amap = s.findObjectById(5036)
    mapPage = amap.createMapPage()
    mapPage.addLink(cd)
    
    data = NXCObjectModificationData(5036)
    data.setMapContent(mapPage.getElements(), mapPage.getLinks())
    s.modifyObject(data)
    

    There is a LinkConfig object but I don't see how it should be applied to the Links:

    lc = cd.getConfig()
    lc.setColorSource(LinkConfig.COLOR_SOURCE_OBJECT_STATUS)
    lc.setObjectStatusList(sList)
    

  • Build 3.0.2039 was incidentally pushed to stable ubuntu repository
    T thierryc
    Announcements

    Hello,
    Would it be possible to have the nxshell for version 3.0.2039.

    I now run this version since 3 weeks without problem.
    Is there a repository for this version or a download site?

    Thanks
    Thierry


  • NXShell change geoLocation
    T thierryc
    Support

    Hello,

    I am trying to set the geoLocation on some containers using nxshell.
    I am not able to find how to set the geolocation neither how to update the geolocation of my node

    cd = session.findObjectById(123)
    geo = cd.geolocation
    print geo

    This works but now ...

    geo.setLatitude(11.1) or anything  in this way does not work.

    And then I can not find a  cd.setGeoLocation()
    And neither  cd.geolocation = geo  works as it is a read-only attribute.

    Regards.


  • Show link between containers
    T thierryc
    Support

    Ok I found it myself:

    Click on first Object, Ctrl-Click on the second object press Ctrl-L
    (or click on the Link selected object symbol on the right)


  • Show link between containers
    T thierryc
    Support

    Hello,

    I have map with different networks located arround the world.
    I show only a container with its status and the user needs to click the container to see the network details.
    I would like to see a link that changes color depending on it's status (some value in a sat modem or status of router interface).

    How could I do that?

    Thanks.


  • netxmsd not listening to 4701
    T thierryc
    Support

    Hello,

    Netxms was woring fine for some time but then suddenly (without notice it was no reachable anymore).
    I run in version 2.2.4 on ubuntu with tomcat7 for the web

    netstat -nl  gives me:

    tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN   
    tcp        0      0 127.0.0.1:21784        0.0.0.0:*              LISTEN   
    tcp        0      0 127.0.0.1:6010          0.0.0.0:*              LISTEN   
    tcp        0      0 0.0.0.0:4700            0.0.0.0:*              LISTEN   
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*              LISTEN   
    tcp6      0      0 :::22                  :::*                    LISTEN   
    tcp6      0      0 ::1:6010                :::*                    LISTEN   
    tcp6      0      0 :::4700                :::*                    LISTEN   
    tcp6      0      0 127.0.0.1:8005          :::*                    LISTEN   
    tcp6      0      0 :::8080                :::*                    LISTEN   
    udp        0      0 0.0.0.0:68              0.0.0.0:*                     

    using: select var_name,var_value,default_value from config;
    I see:
    | CaseInsensitiveLoginNames                        | 0                                            | 0                              |
    | CheckTrustedNodes                                | 0                                            | 0                              |
    | ClientListenerPort                                | 4701                                         | 4701                          |
    | ClusterContainerAutoBind                          | 0                                            | 0                              |

    Starting in debug 9 mode I do not see any errors but neither do I see any

    [INFO ] Listening for  .... connections

    Any idea what could be wrong?

    Thanks

    Update:

    If I delete the alarms, the event_log and the alarm_events and restart netxmsd it works for some time.

    At some time it will stop (10-20 minutes) it will stop working again.

    Last logs:

    2018.03.20 15:10:24.652 *D* New thread started in thread pool MAIN
    2018.03.20 15:10:24.652 *D* New thread started in thread pool MAIN
    2018.03.20 15:10:24.652 *D* New thread started in thread pool MAIN
    2018.03.20 15:10:24.652 *D* New thread started in thread pool MAIN
    2018.03.20 15:10:31.563 *D* [obj.poll.node      ] AcceptNewNode(192.168.37.52): host is not reachable
    2018.03.20 15:10:31.566 *D* [obj.poll.node      ] NodePoller: processing node 192.168.37.144/24 in zone 0
    2018.03.20 15:10:39.553 *D* Started topology poll for node BTZ-FW2101 [123]
    2018.03.20 15:10:39.553 *D* Finished instance discovery poll for node BTZ-FW2101 (ID: 123)
    2018.03.20 15:10:39.555 *D* VLAN list retrieved from node BTZ-FW2101 [123]
    2018.03.20 15:10:39.555 *D* Failed to get switch forwarding database from node BTZ-FW2101 [123]
    2018.03.20 15:10:39.556 *D* Link layer topology retrieved for node BTZ-FW2101 [123] (5 connections found)
    2018.03.20 15:10:39.557 *D* Link layer topology processed for node BTZ-FW2101 [123]
    2018.03.20 15:10:39.558 *D* Finished topology poll for node BTZ-FW2101 [123]
    2018.03.20 15:10:40.592 *D* Started topology poll for node LUSCBCENG-SW01.net.eng [121]
    2018.03.20 15:10:40.592 *D* Finished instance discovery poll for node LUSCBCENG-SW01.net.eng (ID: 121)
    2018.03.20 15:10:41.652 *D* VLAN list retrieved from node LUSCBCENG-SW01.net.eng [121]
    2018.03.20 15:10:43.257 *D* Switch forwarding database retrieved for node LUSCBCENG-SW01.net.eng [121]
    2018.03.20 15:10:43.540 *D* Link layer topology retrieved for node LUSCBCENG-SW01.net.eng [121] (5 connections found)
    2018.03.20 15:10:43.541 *D* Link layer topology processed for node LUSCBCENG-SW01.net.eng [121]
    2018.03.20 15:10:43.541 *D* Finished topology poll for node LUSCBCENG-SW01.net.eng [121]
    2018.03.20 15:10:45.208 *D* Starting instance discovery poll for node 192.168.37.15 (ID: 1696)
    2018.03.20 15:10:45.208 *D* Node is marked as unreachable, instance discovery poll aborted
    2018.03.20 15:10:45.208 *D* Finished instance discovery poll for node 192.168.37.15 (ID: 1696)
    2018.03.20 15:10:45.208 *D* Started topology poll for node 192.168.37.15 [1696]
    2018.03.20 15:10:45.208 *D* Failed to get switch forwarding database from node 192.168.37.15 [1696]
    2018.03.20 15:10:45.209 *D* Link layer topology retrieved for node 192.168.37.15 [1696] (1 connections found)
    2018.03.20 15:10:45.209 *D* Link layer topology processed for node 192.168.37.15 [1696]
    2018.03.20 15:10:45.209 *D* Finished topology poll for node 192.168.37.15 [1696]
    2018.03.20 15:10:49.829 *E* Thread "Item Poller" does not respond to watchdog thread
    2018.03.20 15:10:50.965 *D* [obj.netmap        ] NetworkMap::updateContent(L2 [911]): cannot get topology information for node BTZ-SW2101 [133]
    2018.03.20 15:10:51.034 *D* Stopping worker thread in thread pool DATACOLL due to inactivity
    2018.03.20 15:10:54.641 *D* Stopping worker thread in thread pool POLLERS due to inactivity
    2018.03.20 15:11:03.552 *D* [obj.poll.node      ] AcceptNewNode(192.168.37.144): host is not reachable
    2018.03.20 15:11:03.558 *D* [obj.poll.node      ] NodePoller: processing node 192.168.37.163/24 in zone 0

  • 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