Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • Missing "ProcessTrapsFromUnmanagedNodes" entry in Server Config

    3
    1
    0 Votes
    3 Posts
    16k Views
    P
    No - pretty confused. I have about a thousand devices unmanaged and they send traps and do not turn into alarms. I have interfaces unmanaged but an interface is not a node - alarms register against a node. Is the issues you have is that traps are being sent from an unmanaged interface on a node - or - is NetXMS monitoring an unmanaged interface and generating an alarm at the Node level? I am pretty sure you cannot (currently) disable traps at an interface level as the traps will always aggregate up to the node - which makes sense as it is the node which generates the traps. If you have created interfaces as nodes, then the fact they are unmanaged would come under the Node rule and would not trigger. Excluding the fact that if a device wants to send your NetXMS server a trap, and you don't want to see it solely because it is coming down an unmanaged interface, you could probably filter this out using some scripting on the Event processing policy. For me, I got annoyed with Interface Down alerts - so I disabled the policy - no more alerts. Either the other end of the interface is a node and I will get a Node down alert, or I have redundancy in which case the redundancy kicks in - and no action required. For those I really care about, I have a container limited policy and apply alarms to those only. There is no setting as far as I know for what you want, but what you want can be achieved a number of ways as per above. I hope this helps.
  • nxshell - Create an OR column filter?

    8
    0 Votes
    8 Posts
    20k Views
    P
    I was simply looking for a way to be able to display alarms where status = outstanding without having to type outstanding every time. Alarm Log allows multiple filters - but is the log, so cannot acknowledge or terminate. Dashboard gives me access to the xml, but do not know what xml I need to add to have State = Outstanding. Having the State field as an additional display selection option on the Dashboard Alarms would be great - actually - it would be near perfect Perfect would be to include a search field - that would be perfect and would be the pen-ultimate Alarm browser. The ultimate? - have these in Alarm browser as well
  • Dumb question - snmp transport - unmanaged node - options

    3
    0 Votes
    3 Posts
    8k Views
    P
    Fantastic solution - thanks Victor
  • Need to fix subnet address map scrollbar

    2
    0 Votes
    2 Posts
    13k Views
    V
    Hi, looks like a bug in GUI. What version you are using? Best regards, Victor
  • Instance discovery filter - multiple OIDs

    3
    3
    0 Votes
    3 Posts
    19k Views
    B
    Victor, thanks. Initially this didn't work, but then I changed: snmp = CreateSNMPTransport($node); return SNMPGet(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != null; To: snmp = CreateSNMPTransport($node); return SNMPGetValue(snmp, ".1.3.6.1.2.1.31.1.1.1.6." . $1) != null; And it seems to be working now. Thank you!
  • clarify about sample count value

    2
    0 Votes
    2 Posts
    20k Views
    V
    Hi, yes, if you want average per minute then you put 60 as sample count. You do not need to collect it from agent every second - agent will return average for last 60 seconds whenever value is requested. Best regards, Victor
  • Multiple values assigned to same timestamp with nxapush

    3
    2
    0 Votes
    3 Posts
    28k Views
    F
    Okay, I will do so. Thank you very much. Kind regads, fbu
  • [solved] rpi.snm file does not exist in subagent

    3
    0 Votes
    3 Posts
    29k Views
    V
    Hi, please note that RPi subagent has very limited functionality: it provides access to GPIO PINs, supports reading DHT22 sensor connected to GPIO, and provides CPU temperature. Best regards, Victor
  • Alarm Key bug

    8
    0 Votes
    8 Posts
    49k Views
    P
    Got distracted - Event Processing has inspired me to get Create_Help_Desk_Ticket going first - much greater payback !!. To implement this, in its most rudimentary form, the following looks like it would work: // Hash the 4th parameter into a less than 256 char size as it is too long for duplicate comparison which fails to match duplicates // To use, $4 is the parameter that is to be shrunk and the alarm key is %n_%1_%M - the %M is the shortened %4 // This code is added to Actions and the action is added in Event Processing Policy alarmhash=sha1($4); CUSTOM_MESSAGE = alarmhash;
  • Can someone please tell me how to start and stop the f'ing NetXMS server

    4
    0 Votes
    4 Posts
    34k Views
    P
    Well posted tnayak. Should be pinned - including the initial problem - so those who hit this, which there will be others, have a clear and simple to follow solution. I have benefited unbelievably from the assistance of Tursiops and as per his initial response "try these options...they just work", a simple statement that certainly got you a lot closer as well. We went Windows as that was even easier, but even then, we hit the problem of trying a monitoring solution that relied on devices responding to snmp, but no snmp templates. Tursiops rescued us which otherwise probably would have seen us move on. The Linux and Windows SNMP based templates I ended up with have been posted for any and all to use. What's next for me?  I have a bunch of PowerShell tools to add -Ping, Tracert, SNMPGET, Create Help Desk ticket - non-jira etc. The simpler it is to enable people to use NetXMS, the wider its adoption and Development.  Your post will greatly assist that - well done and thanks.
  • Netxms 2.2.15 WebUI - The server session has timed out

    2
    0 Votes
    2 Posts
    26k Views
    P
    Similar setup - no problem here though - one huge difference. The console does not time out. We went the console path instead of WebUI as it required no install, we have created Object Tools(only works on Consoles), and it was one less thing I needed to worry about compared to my four browsers I currently have, depending on what program is picky about what browser. Does not solve your web problem but it does provide a workaround - once and for all
  • Search option within filtering takes minutes to populate

    3
    0 Votes
    3 Posts
    43k Views
    P
    Don't you just hate it when the answer is right in front of you!! Thanks for pointing this out - working much, much better now. I have included my original settings so everyone knows what NOT to use *** I worked out where my bad settings came from - they are the default when you untick use server settings *** [image: filter settings - do NOT use these unless you want pain - lots of it!!.png]
  • Globally set interface expected state severity to WARNING or MINOR

    3
    0 Votes
    3 Posts
    38k Views
    P
    I have a similar request for a different reason. I have a couple of hundred routers that have a fallback connectivity option that automatically switches. I do not particular care to have these devices have a status of critical when all that has happened is that we have flipped from the primary to the secondary connectivity. I would like the option of yes/no - include Interface status in Node status calculation. I would also like the option on the General panel to see why status is the way it is. Status = Critical still involves me having to check whereas the following would be better: Current Status = Critical Proposed: Connectivity State = (UP/DOWN) - from status polling - including last connectivity time - one each for the what is listed in capabilities. Interface status =  whatever the status is DCI threshold status =  whatever the status is Status included in overall node status - Connectivity + DCI (do not include Interface status) Show Nodes down as separate severity and colour (yes / no) - so that for node that are down, I can see this clearly.
  • Curious behavior - Status polling an unmanaged node

    3
    0 Votes
    3 Posts
    39k Views
    P
    Perhaps I just seem to find unusual situations. Transitioning from three other NMS's to NetXMs meant adding devices by IP - and then working on those that did not discover. I am fine that unmanaged means no automatic retry or discovery - that is consistent with unmanaged, but manually running status or configuration poll, I would expect that it would do the polling as requested, and then, if the node was contactable, to ask if I would want it managed again. End result - I now have snmpget and ping as object tools that achieve the equivalent - tell me if the node is manageable again - and I act on that. This came about when I was trying to get SNMP to work through to an EC2 instance. ICMP was not working, Node had been added, but polling just would not seem to work, no matter what settings along the way we changed. It was only when the comment was made - no snmp traffic requests for over 30 minutes - that  I realized that NetXMS is making up its own mind about whether it would actually do what was requested, based on the connectivity status and discovered status. Like all NMS tools, each one has its peculiarities and with NetXMS, this is one of them. I added the Ping and SNMPGET to Node Tools so these show up on the Object Details page and are quicker to execute that right click ==> poll == status [image: object commands for node.png]
  • Small bug / feature in Object Tool

    1
    0 Votes
    1 Posts
    19k Views
    P
    I added an Object Command that issues command ping %n . I have two versions, a local command and a server command. Both have the same fault. On a normal node it works On an unmanaged node it works On a node in maintenance node it works. On a node that I have added but does not respond to anything, and has yet to respond to anything, I get the following response "Bad parameter SNMP". Why does it not just simply run the command instead of checking SNMP, which at this point in the discovery process, has yet to succeed. Output: Bad parameter SNMP. *** TERMINATED ***
  • Community string corruption during topology poll

    6
    0 Votes
    6 Posts
    43k Views
    P
    I was wondering what the outcome of this is as I somehow seem to have a similar problem. Network discovery = off. Add device if trap received = on About 300 CISCO Routers added - SNMP is working. Every 30 minutes (topology polling interval) - auth failure trap received. Disable topology polling - alerts go away. Given I have not touched these devices, but in my list of communities there will be at least one that does not work, why would topology polling not only not be working, but on not receiving a correct response, why not trigger an event for topology polling failure. More importantly though - having not set anything on these auto discovered devices - how did I break it and how do I fix it?
  • Make Keeps Failing on CentOS 7

    1
    0 Votes
    1 Posts
    19k Views
    T
    Hi, I'm a novice in Linux and I'm trying to install NetXMS.  I followed the instructions for Installing from source, but 'Make' keeps failing, after running for several minutes, at the same point with the following errors.  I would greatly appreciate any suggestions. make[5]: Entering directory `/home/ares/netxms-2.2.15.2/src/db/dbdrv/mysql'   CXX      mysql_la-mysql.lo mysql.cpp: In function ‘void* GetFieldInternal(MYSQL_RESULT*, int, int, void*, int, bool)’: mysql.cpp:703:3: error: ‘my_bool’ was not declared in this scope   my_bool isNull;   ^ mysql.cpp:703:11: error: expected ‘;’ before ‘isNull’   my_bool isNull;           ^ mysql.cpp:714:16: error: ‘isNull’ was not declared in this scope   b.is_null = &isNull;                 ^ mysql.cpp: In function ‘void* GetFieldUnbufferedInternal(MYSQL_UNBUFFERED_RESULT*, int, void*, int, bool)’: mysql.cpp:1063:7: error: ‘my_bool’ was not declared in this scope       my_bool isNull;       ^ mysql.cpp:1063:15: error: expected ‘;’ before ‘isNull’       my_bool isNull;               ^ mysql.cpp:1074:20: error: ‘isNull’ was not declared in this scope       b.is_null = &isNull;                     ^ At global scope: cc1plus: warning: unrecognized command line option "-Wno-format-truncation" [enabled by default] make[5]: *** [mysql_la-mysql.lo] Error 1 make[5]: Leaving directory `/home/ares/netxms-2.2.15.2/src/db/dbdrv/mysql' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/ares/netxms-2.2.15.2/src/db/dbdrv' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ares/netxms-2.2.15.2/src/db' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ares/netxms-2.2.15.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ares/netxms-2.2.15.2' make: *** [all] Error 2 CentOS Setup I'm installing NetXMS in a CentOS 7.6.1810 in an ESXi 6.7 virtual machine with:     Minimal Install     No Security profile selected     Firewalld disabled and stopped I installed the following packages installed:     yum -y update     yum -y groups install 'Development Tools'     yum -y install libcurl-devel     yum -y install libssh-devel     yum -y install openssl-devel     yum -y install wget     yum -y install nano I only installed this package to get around an error message that appeared in the pre-build checks:     yum -y install epel-release     yum -y install mosquitto-devel I thought the issue involved a conflict with mariadb-libs-1:5.5.60-1.el7_5.x86_64 so I removed it before installing MySQL using the following commands:     rpm -ev --nodeps mariadb-libs-5.5.60-1.el7_5.x86_64     wget http://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm     rpm -ivh mysql80-community-release-el7-3.noarch.rpm     yum -y install mysql-server     yum install mysql-devel UPDATE #1: I tried starting MySQL Server ( systemctl status mysqld.service) before using the Make command, but the build failed almost immediately. UPDATE #2: I tired installing MySQl using mysql80-community-release-el7-1.noarch.rpm, but had the same result.  I'm trying to figure out how to install MySql 5.7 and will post the results.  UPDATE #3: I haven't figured out how to install MySQL 5.7 yet, but I did find a couple of other posts on the forum where the user shared the results of the ./configure script and the Server Libs statement was not empty, e.g. Server libs: -lldap -llber or Server libs:  -lssl -lrt.  Could that point to a solution to the problem? NetXMS Install NetXMS source code package: wget https://www.netxms.org/download/releases/2.2/2.2.15/netxms-2.2.15.2.tar.gz Build script: sh ./configure --with-server --with-mysql --with-agent ---------------------------------------------------------------------                         Configure results --------------------------------------------------------------------- Prefix                  : /usr/local Platform                : Linux Shared library suffix  : .so IPv6 support            : YES MQTT support            : YES Build Server            : YES Server libs            : LDAP support            : NO XMPP support            : YES ZeroMQ support          : NO Encryption enabled      : YES SSH support enabled    : YES Build DB-Drivers        : mysql sqlite Build Clients          : NO Build Agent            : YES Agent libs              : Agent extra components  : Subagents list          : linux ds18x20 mysql netsvc ssh mqtt Systemd support        : NO Build Static Agent      : NO UNICODE build          : YES Use internal libexpat  : YES Use internal libtre    : YES Use internal libjansson : YES Use internal sqlite    : YES Use internal zlib      : NO Force 32bit build      : NO C compiler              : gcc C++ compiler            : g++ C++ compiler info      : g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) CPPFLAGS                : -D_THREAD_SAFE -DTRE_WCHAR=1 -D_GNU_SOURCE -O2 -Wformat -Wno-unused-result -Wno-format-truncation -Werror=return-type -fvisibility=hidden -I/usr/local/include -DUNICODE -DPREFIX=L\"${prefix}\" -DDATADIR=L\"${pkgdatadir}\" -DBINDIR=L\"${bindir}\" -DLIBDIR=L\"${libdir}\" -DPKGLIBDIR=L\"${pkglibdir}\" -DSTATEDIR=L\"${localstatedir}/lib/netxms\" -DNDEBUG CXXFLAGS                : -g -O2 -std=c++11 -fno-rtti -fno-exceptions -fvisibility-inlines-hidden CFLAGS                  : -g -O2 LDFLAGS                : -L/usr/local/lib LIBS                    : -lz -lresolv -ldl  -lpthread -lssl -lcrypto Executable LDFLAGS      : Executable LIBS        : MySQL CPPFLAGS          : -I/usr/include/mysql MySQL LDFLAGS          : -L/usr/lib64/mysql MySQL LIBS              : -lmysqlclient
  • Cisco switches node overview

    5
    0 Votes
    5 Posts
    35k Views
    jdowneyJ
    Also, have the same issue with some Cisco 9300 switches. Ports not showing in the port view. Model C9300-48P  .1.3.6.1.4.1.9.1.2494 Netxms version - 2.2.8 planning to upgrade to 2.2.15 do you think it might be fine in this version? Let me know if any further details are required i.e port layout.
  • Version 3 Agent Release Date?

    2
    0 Votes
    2 Posts
    16k Views
    V
    Hi, We plan first 3.0 release in mid-July. If you need only agent for testing I can build installer form current 3.0 branch. Best regards, Victor
  • alarm_events table still holds an alert of removed node

    10
    0 Votes
    10 Posts
    44k Views
    B
    @tursiops said in alarm_events table still holds an alert of removed node: Can you confirm that DeleteEventsOfDeletedObject is set to 1? Have you tried shutting NetXMS down and running "nxdbmgr check" on your server? Just in case your problem is related to inconsistencies in your database. I can confirm that DeleteEventsOfDeletedObject is set to 1. I stopped the service and ran nxdbmgr check and got the following output. NetXMS Database Manager Version 2.2.15 Build 9523 (2.2.15.2) (UNICODE) Checking database (excluding collected data): * Zone object properties [PASSED] * Node object properties [PASSED] * Node to subnet bindings [PASSED] * Interface object properties [PASSED] * Interface bindings [PASSED] * Network service object properties [PASSED] * Network service bindings [PASSED] * Cluster object properties [PASSED] * Cluster member nodes [PASSED] * Template to node mapping [PASSED] * Object properties [PASSED] * Container membership [ 94% ] Container 2446 contains non-existing child 2455. Fix it? (Yes/No/All/Skip) A * Container membership [FIXED ] * Event processing policy [PASSED] * Network map links [PASSED] * Data tables [PASSED] * Raw DCI values table [ 24% ] Found raw value record for non-existing DCI [3458]. Delete it? (Yes/No/All/Skip) A * Raw DCI values table [ 61% ] Found raw value record for non-existing DCI [5684]. Delete it? (Yes/No/All/Skip) Y * Raw DCI values table [FIXED ] * DCI thresholds [ 46% ] Found threshold configuration for non-existing DCI [3458]. Delete? (Yes/No/All/Skip) A * DCI thresholds [FIXED ] * Table DCI thresholds [PASSED] 4 errors was found, 4 errors was corrected All errors in database was fixed Commit changes? (Yes/No) Y Committing changes... Changes was successfully committed to database Database check completed C:\NetXMS\bin> I ran the check again and it found no issues.  I then restarted the service, but still got the alert emails.  However, they all are just telling me these nodes are up, and just a few specific ones, not all of them. I can understand if there was an active alarm, like a node down, and I did get one like that - but my node is actually down.  The others are all up with no issues, and it just decides it has to tell me that for these 5 nodes every time I restart the service. Any help is appreciated!