Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • L2 topology - LLDP gives NO links

    9
    1
    0 Votes
    9 Posts
    28k Views
    A
    [root@vmnetxms bin]# snmpwalk  -v 2c -cXXX R1.R3073.S3930 .1.3.6.1.2.1.17.1.4.1.2 SNMPv2-SMI::mib-2.17.1.4.1.2.41 = INTEGER: 517 SNMPv2-SMI::mib-2.17.1.4.1.2.42 = INTEGER: 518 SNMPv2-SMI::mib-2.17.1.4.1.2.43 = INTEGER: 519 SNMPv2-SMI::mib-2.17.1.4.1.2.44 = INTEGER: 520 SNMPv2-SMI::mib-2.17.1.4.1.2.51 = INTEGER: 0 SNMPv2-SMI::mib-2.17.1.4.1.2.54 = INTEGER: 524 [root@vmnetxms bin]# snmpwalk  -v 2c -cXXX R1.R3073.S6048 .1.3.6.1.2.1.17.1.4.1.2 SNMPv2-SMI::mib-2.17.1.4.1.2.41 = INTEGER: 517 SNMPv2-SMI::mib-2.17.1.4.1.2.42 = INTEGER: 518 SNMPv2-SMI::mib-2.17.1.4.1.2.43 = INTEGER: 519 SNMPv2-SMI::mib-2.17.1.4.1.2.44 = INTEGER: 520
  • Web interface (war) connect timed out nxmc-3.1.263/300

    6
    0 Votes
    6 Posts
    18k Views
    N
    Tomcat 7 on which I am deploying war file is on same machine as NetXMS server
  • Netxms Agent - get oldest folder

    3
    0 Votes
    3 Posts
    12k Views
    E
    Got that part working. Any suggestions for template use case when i have different servers with different age value ? Or do i need to create them all manualy ? Most simplest thing would be to get just 1 folder thats also the oldes one and return its age, then it could be compared in threshhold with %{customAttribute:50}
  • Cannot delete Templates Group

    Locked
    4
    0 Votes
    4 Posts
    15k Views
    R
    Hello, yes, this is ok - please answer at this forum Thank you for helping Rainer
  • Upgrading from version 30.10 to 30.11

    5
    0 Votes
    5 Posts
    14k Views
    B
    Got it!!! Thanks Again
  • NxShell Link color based on Objects

    2
    0 Votes
    2 Posts
    9k Views
    F
    There's a couple of minor things that are causing issues here. NetworkMapLink expects IDs within map, not netxms object IDs, so there's a function to convert. And we need to explicitly specify that IDs of status-providing nodes are of type "Long". Here's an example of working script: from java.util import ArrayList from java.lang import Long amap = s.findObjectById(2722) mapPage = amap.createMapPage() cd = NetworkMapLink(NetworkMapLink.NORMAL, mapPage.findObjectElement(672).id, mapPage.findObjectElement(674).id) sList = ArrayList() sList.add(Long(674)) sList.add(Long(672)) cd.setStatusObjects(sList) cd.setRouting(NetworkMapLink.ROUTING_DIRECT) cd.setColorSource(LinkConfig.COLOR_SOURCE_OBJECT_STATUS) mapPage.addLink(cd) data = NXCObjectModificationData(2722) data.setMapContent(mapPage.getElements(), mapPage.getLinks()) s.modifyObject(data)
  • Netxms 3.1.261 and device discovery

    4
    0 Votes
    4 Posts
    12k Views
    F
    Here's an example of such script, that will change community string for all nodes, that have SNMP polling enabled newAuthName = 'public2' for node in [o for o in session.getAllObjects() if isinstance(o, objects.Node)]: # filter all objects for objects.Node if (node.getFlags() & Node.NF_DISABLE_SNMP) = 0: # SNMP polling is not disabled if (node.getSnmpAuthName() != newAuthName): print('Processing node %s: changing community string from %s to %s' % (node.objectName, node.getSnmpAuthName(), newAuthName)) md = NXCObjectModificationData(node.objectId) md.setSnmpAuthName(newAuthName) session.modifyObject(md) The script is launched like this: java -jar nxshell-3.1.241.jar script_name.py There are some examples of Jython scripts in netxms sources in src/client/nxshell/samples/ Some examples are also here: https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations Documentation of API calls is here: https://www.netxms.org/documentation/javadoc/latest/overview-summary.html
  • When NetXMS 3.0 coming out Raspberry Pi?

    6
    0 Votes
    6 Posts
    15k Views
    F
    3.1 packags for raspbian buster have been released. Installation by installing https://packages.netxms.org/netxms-release-latest.deb in not working yet, so it's necessary to manually add deb http://packages.netxms.org/raspbian/ buster main into sources.list
  • DS18X20 Sensor on RPI config problem

    2
    0 Votes
    2 Posts
    8k Views
    F
    Hi! Let me describe the whole configuration process for DS18x20 sensors on RPi in case if someone needs this later. A pull-up resistor of 2..10KOhm should be connected between DQ pin of the sensor and +3.3v. GPIO2 and GPIO3 have built-in 1.8KOhm pull-up resistors (at least on RPi 3), so if you don't need I2C, you can connect the sensor to one of these pins. A kernel module is used to communicate with the sensor. It is activated ty adding dtoverlay=w1-gpio to the end of /boot/config.txt file. By default the DQ pin of the sensor should be connected to GPIO4, to use another GPIO the following format could be used: dtoverlay=w1-gpio,gpiopin=3. Reboot RPi when finished editing the file. Since kernel version 4.9.28 it's also possible to use dynamic overlay loading: sudo dtoverlay w1-gpio gpiopin=5, in this way it's possible to have sensors on several GPIO pins. After restart (of after dynamic overlay loading) the sensors should get detected: root@raspberrypi:~# ls /sys/bus/w1/devices/ 28-6cb0611f64ff w1_bus_master1 here we have one sensor connected, it has name 28-6cb0611f64ff 4) And we should be able to read the temperature: root@raspberrypi:~# cat /sys/bus/w1/devices/28-6cb0611f64ff/w1_slave 78 01 55 00 7f ff 0c 10 57 : crc=57 YES 78 01 55 00 7f ff 0c 10 57 t=23500 which in this case is 23,5 degrees C. 5) To configure NetXMS agent we add the following lines to /etc/nxagentd.conf SubAgent=ds18x20.nsm [DS18X20] Sensor = Test:28-6cb0611f64ff After agent restart systemctl restart nxagentd our parameter "Test" should return the temperature. user@netxms-server:~$ nxget raspberrypi.lan 'Sensor.Temperature(Test)' 23.312 Your configuration looks exactly the same. The thing is that the error message in agent log "Unable to add sensor from configuration file. Original configuration record:" looks to be a bug, i am also getting it (as of v. 3.1.274). But the parameter works. Most probably on your system Sensor.Temperature(Test) will also give the result.
  • how to enable capabilities

    7
    1
    0 Votes
    7 Posts
    17k Views
    F
    Which capabilities do you expect to be in "Yes" state? In may cases it's just enough to have isAgent Yes. Netxms agent provides a lot of monitoring options.
  • How to disable alerts on individual instance-discovered DCI's?

    2
    0 Votes
    2 Posts
    13k Views
    F
    Current approach to templates in NetXMS has the idea, that all nodes, belonging to one template are absolutely the same. You could create a separate template for your exclusion cases and set up template autoapply scripts that would set correct template for a particular node. The other way could be to use the following syntax in threshold field %{custom_attribute_name:100} in template. In this case threshold value will be taken from a custom attribute, specified on a node and if such attribute is not present on a node, a default value of 100 will be used.
  • Hex-String to text DCI transformation

    3
    0 Votes
    3 Posts
    17k Views
    Y
    Thanks, Victor Works perfect !!
  • snmp community string not saving after upgrade to v3

    2
    0 Votes
    2 Posts
    16k Views
    V
    Issue was fixed by 3.1. Not really much help here. 
  • SysLog parsing for unknown nodes possible?

    2
    0 Votes
    2 Posts
    15k Views
    V
    No, it is not possible without server source code changes. Best regards, Victor
  • Error is displaying event template message

    3
    0 Votes
    3 Posts
    16k Views
    E
    Thanks for the info.
  • Netxms 3.x failing to reconnect to database

    2
    0 Votes
    2 Posts
    12k Views
    F
    I've tried on my system with Postgres 10 and NetXMS 3.1.261 on Ubuntu 18.04 - the reconnect actually occurs. Can you increase debugging for DB operations, e.g. by running this from command line: nxadm -c "debug db.* 8" and show the log during the moment when database stops/restarts.
  • help with aggregate DCI

    15
    0 Votes
    15 Posts
    32k Views
    H
    Thumbs up for this topic! To calculate Total Space Used on all filesystems, into single aggregate DCI: UsedSpaceTotal=0; foreach (dci : FindAllDCIs($node,"FileSystem.Used*") ) { dciValue = GetDCIValue($node,dci->id); if ( dciValue == null ) continue; // To skip in case of errors UsedSpaceTotal+=dciValue; } return UsedSpaceTotal;
  • NetXMS Built-In Syslog Server Fails To Get All Received Syslog Messages

    3
    0 Votes
    3 Posts
    17k Views
    A
    Thanks for the information, In my case, the server in "Source" column in Syslog Monitor exists as a node in NetXMS. However, most of the computers in "Host Name" column do not exist as a node in NetXMS.
  • Summarize other node properties in addition to DCIs

    5
    0 Votes
    5 Posts
    16k Views
    meshnetM
    I wanted to follow up on how we fixed it. The radio devices have SNMP for virtual AP interfaces. We don't really care about these OIDs, plus they are all unique across formfactors/firmwares. So the trick is to use a working SNMP OID endpoint, poll it, then use a transformation script to replace the value. Example for geoLatitude_DMS: nodeLoc = $node->geolocation; return nodeLoc->latitudeText; [image: Screenshot from 2019-12-17 10-27-02.png] [image: Screenshot from 2019-12-17 10-30-28.png]
  • Valgrind log for 3.1.261-2; server crash

    3
    0 Votes
    3 Posts
    13k Views
    J
    I believe we were simply running out of memory overall. In this dev environment it's sharing space with postgresql. In the latest release, my best guess is that netxms behavior changed, resulting in more concurrent database queries. I dramatically lowered the number of database pools in use, and so far netxms has been stable with no reduction in performance. (I am monitoring threads via DCIs.)