Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • Kiosk and supervision screen only

    Locked
    5
    0 Votes
    5 Posts
    10k Views
    T
    Thanks, Waiting for 1.2.8 
  • Lost most of the inventory after a clea server reboot

    Locked
    6
    0 Votes
    6 Posts
    11k Views
    V
    Just add this issue to bug tracker so it will not be lost: https://www.radensolutions.com/chiliproject/issues/294. Best regards, Victor
  • Error during installation

    Locked
    2
    1
    0 Votes
    2 Posts
    15k Views
    V
    Hi! What is your MySQL server version? Best regards, Victor
  • History management : store averaged values ?

    Locked
    7
    0 Votes
    7 Posts
    18k Views
    T
    Today we use zenoss to store all the info from our machines. It stores about 3 or 4 years of data which helps us to evaluate trends or forecasts. Zenoss also use a template mechanism to create DCI (and associate a correct  polling interval). For instance, for each interface, we have in/out speed / packets /Errors, you can imagine how much it can be with 48 ports switches (or worst). Zenoss, just resample the data automatically, so you have a hour view, then daily, weekly and yearly. Of course we don't have a seconds resolution when we browse data 2 years old, but it is far enough to see trends. I'm waiting for the snmp table implementation to prepare templates for switches, computers, printers, sensors (I'll share all the template), but storage optimization will be required to limit  the impact. Is it easy to select all the DCI values with date filter and re-compute them ? (ie : take x values, compute average and replace the values by only one ) We could be something like : -take the last week values, and compute average per hour -take the last year and compute average per days (or half day)
  • Database query failed

    Locked
    3
    0 Votes
    3 Posts
    15k Views
    B
    Thanks The errors are gone after restarting the server
  • nxShell and jython[Solved]

    Locked
    4
    0 Votes
    4 Posts
    11k Views
    B
    After this suggestion by Victor for a similar task, I solved the problem also in this script. The working code is: #coding: utf-8 import csv import time from java.util import HashMap # CHANGE 1 from java.lang import String class XXX4: def YYY(self): listaNodi = [] listaNodi = session.getAllObjects() datiFile = open("PATH/Lettura.csv").readlines() for nodo in listaNodi: IPnodo = str(nodo.getPrimaryIP()) for riga in datiFile: print "___________starts for on riga_____________\n" print "riga: "+riga for parola in riga.split(): print "parola: "+parola if IPnodo ==parola: print "Verified IPnodo = parola" time.sleep(10) for interface in nodo.getAllChilds(objects.GenericObject.OBJECT_INTERFACE): print "starts interface for " interfaceName = interface.getObjectName() ID = interface.getObjectId() print "interfaceName: "+interfaceName for parola1 in riga.split(): print "parola1: "+parola1 if interfaceName == parola1: print "Verified interfaceName=parola1" for parola2 in riga.split(): EndUserInfo = parola2 print "EndUserInfo after for: "+EndUserInfo modificatore = NXCObjectModificationData(ID) modifica = HashMap() # CHANGE 2 modifica.put("End user Info",EndUserInfo) modificatore.setCustomAttributes(modifica) session.modifyObject(modificatore) time.sleep(10) G = XXX4() G.YYY()
  • nxShell: setPrimaryName doesn't work [Solved]

    Locked
    3
    0 Votes
    3 Posts
    12k Views
    B
    Thank you Victor! With one answer you solved two problems! Just in case anyone has the same problem I'll post the working code as example of both script: # coding: utf-8 class SetPrimaryName: def out(self): i=0 PrimaryNames = open("PATH/TO/FILE/PRIMARYNAME.TXT").readlines() for nome in open("/PATH/TO/FILE/HOSTNAMESTOMODIFY.TXT").readlines(): nodo = session.findObjectByName(nome.strip()) primaryName = PrimaryNames[i] if nodo: nodeID =nodo.getObjectId() print "To node %s with id %d I want to set Primary Name %s"%(nome.strip(), nodeID, primaryName) modificatore = NXCObjectModificationData(nodeID) modificatore.setPrimaryName(primaryName) session.modifyObject(modificatore) i+=1 spn = SetPrimaryName() spn.out() If you want to set custom attributes in already existing nodes, or if you want another example, you can find the script here.
  • Problem with the Ethernetbox from Messpc

    Locked
    16
    0 Votes
    16 Posts
    31k Views
    B
    Thanks for considering our problem for the 1.2.8 release. Best regards
  • DNS Service monitor

    Locked
    6
    0 Votes
    6 Posts
    36k Views
    T
    I wanted to add to this thread a Windows equivalent which I needed for myself. I've added two new DCI's to my agent's config file: ExternalParameter = DNS.Lookup(*):dig +noall +short @$1 $2 A ExternalParameterShellExec = DNS.Check(*):dig +noall +short @$1 $2 A | find /c "$3" The first returns the IP looked up as I wanted to be able to check it for myself, the second is the equivalent of the example from Victor that returns just a code. The reason for the "ShellExec" is because "find" is a built-in function of the command-prompt, and "/c" returns the count. You'll also need a copy of "dig" for Windows which can be found here.
  • Dial Charts - reversing colour bands

    Locked
    3
    0 Votes
    3 Posts
    29k Views
    T
    That's excellent, thanks they worked perfectly now. I think it was the 100s in the last two fields that I was not getting right.
  • Passive Network Discovery on only specified device

    Locked
    3
    0 Votes
    3 Posts
    31k Views
    T
    OK, i choose to Disable SNMP for all polls for the "problematic" nodes, that are already on Netxms. The problem is resolved, thank you so much!
  • error while loading shared libraries: libnetxms.so.1

    Locked
    7
    0 Votes
    7 Posts
    48k Views
    A
    @anrkey said in error while loading shared libraries: libnetxms.so.1: @mariposa said in error while loading shared libraries: libnetxms.so.1: I just solve the problem, thanks anyway Forced this is what I have done : go to /etc/ld.so.conf.d/libc.conf and check if it contains line "/usr/local/lib", if not, add it run "ldconfig" as root (it will produce no output) After that run "ldconfig -p|grep libnetxms" to verify (it will have output) run /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql it will work and now you can run agent and server Thanks, this fixed me up right away Thanks! Helped for me also!
  • DCI for SNMP tables

    Locked
    5
    0 Votes
    5 Posts
    29k Views
    V
    Hi! It should be in 1.2.8. Best regards, Victor
  • Request timed out

    Locked
    2
    0 Votes
    2 Posts
    20k Views
    V
    Hi! I've seen similar behavior on a site I'm supporting. In 1.2.7 I've added additional locks to ensure database integrity. Looks like this feature causing excessive internal locks under some circumstances. I'll make it configurable and turned off by default in 1.2.8. Best regards, Victor
  • How to Clear SNMP Traps Log

    Locked
    4
    0 Votes
    4 Posts
    27k Views
    V
    There was the problem with housekeeper process not clearing SNMP trap log. But I have fixed this in 1.2.6 or 1.2.7. What NetXMS version you are running? Best regards, Victor
  • NetXMS Agent v1.2.7 crashes on some machines but not others after upgrade

    Locked
    2
    0 Votes
    2 Posts
    19k Views
    V
    Hi! Core dump could be really helpful. Please send them to [email protected], and I'll take a look at it. Best regards, Victor
  • scripting management functions [SOLVED]

    Locked
    6
    0 Votes
    6 Posts
    48k Views
    V
    @sperlm said in scripting management functions [SOLVED]: The "null" parameter in findObjectNode was not clear to me (but it works with it too). It's a reference to already known object. Here is the explanation: http://wiki.netxms.org/wiki/SG:Security_Issues. Best regards, Victor
  • Node Status return 5 (unknown)

    Locked
    3
    1
    0 Votes
    3 Posts
    29k Views
    T
    Hi, in attachment the export of the Event Log for the node. After the 6 June the icmp ping of the node return stable, now only snmp pool don't work. Thank you. Event_log.txt
  • Nodes produce Down-Error for 1-2 minutes

    Locked
    2
    0 Votes
    2 Posts
    24k Views
    V
    Hi! When node will be shown as down again, try to run status poll from console and post it's output. Also, check log of agents running as proxy - they could exceed maximum number of allowed connections, so you may need to increase it. Best regards, Victor
  • Report problem

    Locked
    3
    0 Votes
    3 Posts
    29k Views
    M
    no ideas? it would be great if somebody could take the time to respond...