Skip to content

Support

5.1k Topics 22.0k Posts

Questions about installing, configuring and using NetXMS.

  • Upgrade Issue from 1.2.13 to 1.2.14

    11
    0 Votes
    11 Posts
    107k Views
    S
    Hello, sorry for the delay. Its my first time debugging, used http://www.ibm.com/developerworks/linux/library/l-gdb/ as reference. Had to enter "file /opt/netxms/bin/netxmsd" into gdb before "run -D5". Debug finished with Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff0132700 (LWP 5879)] AlarmManager::watchdogThread (this=0x7ffff7dd7e80) at alarm.cpp:1105 1105 if ((m_pAlarmList[i].ackTimeout != 0) && bt output #0 AlarmManager::watchdogThread (this=0x7ffff7dd7e80) at alarm.cpp:1105 #1 0x00007ffff7aea849 in WatchdogThreadStarter (pArg=<value optimized out>) at alarm.cpp:204 #2 0x00007ffff6137851 in start_thread (arg=0x7ffff0132700) at pthread_create.c:301 #3 0x00007ffff534b90d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 With regards, Milan Sperl
  • Traceroute

    2
    0 Votes
    2 Posts
    37k Views
    P
    hi All, after digging on the forum, I finally figured out how to do that. Basically, I use ExternalParameter to implement the traceroute checking function.  Here is what I did :- Create a powershell script in a host, check_3hoptracert.ps1 In the nxagentd.conf, add this line ExternalParameter = Check_3Hop(*): "c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "D:\netxms-agent\bin\check_3hoptracert.ps1" $1 $2 $3 $4 In NetXMS console, add a DCI per the screen attached. Please make sure the AgentCommandTimeout specified in server configuration and exectimeout specified in nxagentd.conf are large enough to execute the script. I hope this can help someone in the future. Thanks! check_3hoptracert.ps1 =============== # This script is to check whether the first 3 hops of a traceroute is the same as the specifed ip addresses # Return "OK" if same; otherwise "Changed" # # Usage : check_3hoptracert hostname 1st-hop 2nd-hop 3rd-hop # # Written by Pedro on 29/5/2014 # Get arguments $hostname = $args[0] $ip1 = $args[1] $ip2 = $args[2] $ip3 = $args[3] # Run traceroute tracert -d $hostname > c:\temp\tracert.txt # Get 1st hop $hop1 = get-content c:\temp\tracert.txt | select-object -skip 3 | select-object -First 1 | % { $_.substring(32,9); } #write-host $hop1  " " $ip1 if ( $hop1 -ne $ip1 ) {  write-host "Changed"; EXIT 0; } # Get 2nd hop $hop2 = get-content c:\temp\tracert.txt | select-object -skip 4 | select-object -First 1 | % { $_.substring(32,9); } #write-host $hop2 if ( $hop2 -ne $ip2 ) {  write-host "Changed"; EXIT 0; } # Get 3rd hop $hop3 = get-content c:\temp\tracert.txt | select-object -skip 5 | select-object -First 1 | % { $_.substring(32,9); } #write-host $hop3 if ( $hop3 -ne $ip3 ) {  write-host "Changed"; EXIT 0; } # The traceroute result is the same as specified write-host "OK" del c:\temp\tracert.txt EXIT 1 [image: dci.jpg]
  • Help with SNMP Traps to Alarm Browser

    6
    0 Votes
    6 Posts
    66k Views
    W
    And I think I just found my own answer with the UnmanageObject function. Thanks for the help Victor! Great product.
  • Custom logo for web console

    7
    0 Votes
    7 Posts
    66k Views
    J
    @victor said in Custom logo for web console: Hi! Sorry, I change how it is configured. I was under impression that nobody uses this feature Now you should set custom logo in your nxmc.properties file, like this: loginFormImage = /logo.jpg Path should be relative to classpath root. Simplest variant is to put logi file next to nxmc.properties and use form /file. Best regards, Victor You announced the change but, since I didn't notice in the change log, I tought it wasn't implemented. I changed it following your instructions and now it works perfectly. I think it is a nice feature when you have to show the monitor to your customers, it adds a bit of "professionality" Best regards, Marco
  • Subnet appearing on Network Map

    1
    0 Votes
    1 Posts
    28k Views
    R
    Hi, how could I permanently delete the subnet/network from appearing on the Network Map? I have to keep deleting it and after a while it comes back.
  • Collecting Windows Event Logs, missing event Source and Event ID

    4
    0 Votes
    4 Posts
    39k Views
    P
    Victor, thank you very much!
  • Duplicate Nodes

    14
    0 Votes
    14 Posts
    90k Views
    L
    hi victor, problems again. upgraded to v1.2.14 and got duplicate nodes again. i am starting to believe that it has something to do with the blade center and how it is designed. Best Regards, Lindeamon
  • Agent Deployment

    20
    0 Votes
    20 Posts
    56k Views
    L
    hi victor, just upgraded to v1.2.14 and agent deployment didn't finished correctly. after manual install i got the "finished" message. Best Regards, Lindeamon
  • Use logwatch parameter in data collection

    8
    4
    0 Votes
    8 Posts
    48k Views
    J
    Hello Victor, return real(res) Doesn't work also. Have you any other suggestions. Thanks and Regards José
  • Peer MAC learning

    4
    0 Votes
    4 Posts
    31k Views
    V
    Hi! It should see as long as you have all devices in NetXMS and information about MAC addresses is there. It's hard to tell more without more detailed information (MAC address tables, topology poll results, etc.). Best regards, Victor
  • Agent on FreeBSD

    2
    0 Votes
    2 Posts
    26k Views
    V
    Hi! Storage discovery connector is part of not finished feature and can be safely ignored. Push connector used by nxapush command line tool to push DCI values through agent's connection with server. Both are using UNIX sockets, with file names /tmp/.nxagentd.push and /tmp/.nxagentd.sd. Most likely they was left on file system and owned by root - this is why agent cannot open them as non-root user. Line if (g_dwFlags & AF_SUBAGENT_LOADER) determines two execution paths depending on agent mode - is it master agent (the default one) or external subagent loader. NetXMS agent can be divided into multiple processes usually run under different accounts - in that case one is a master and others are external subagent loaders. External loaders communicates with master using UNIX sockets. Best regards, Victor
  • Monitor nodes with dynamic IP (dyndns) ?

    10
    0 Votes
    10 Posts
    58k Views
    V
    Hi! Changing database while server is running will not help, because most configuration information is cached and server do not expect outside modifications in DB. You can use nxshell scripts to change node parameters as needed. Also, if you are building server from sources, you'll be able to apply patch when we solve #566. Best regards, Victor
  • Distributed Monitoring

    8
    0 Votes
    8 Posts
    62k Views
    N
    You should enable EnableISCListener and ReceiveForwardedEvents in server configuration and open port 4702. And on both sides events and nodes should match. This works localy only.
  • Log parsing

    13
    0 Votes
    13 Posts
    69k Views
    N
    Yes, first problem was obvious negligence mistake. And with upgrade to 1.2.14 everything works fine, thank you Regards, Nikk
  • Syslog times

    5
    1
    0 Votes
    5 Posts
    34k Views
    F
    @fj89j said in Syslog times: Thanks Victor! Hi Victor I noticed that when this issue seems to rear its head, all messages appear to be cached in RAM. Things can be fine for quite a while, but as soon as the process takes so much RAM that the server cannot operate as it should, it causes crashes Thanks
  • Bind - IP Segemnts

    4
    0 Votes
    4 Posts
    24k Views
    V
    Hi, you right, seems that I forgot to fix it. Fixed now (will be in 1.2.14). Best regards, Victor
  • nxagent table configuration

    2
    0 Votes
    2 Posts
    23k Views
    V
    Hi! No, tables from scripts are not supported. However, you can use dbquery subagent to read tables from database (it could be sqlite database for example if you need something local). Best regards, Victor
  • To many alerts / emails when node is down (48 port network switch)

    5
    0 Votes
    5 Posts
    30k Views
    S
    Hi, maybe you could solve it by filters in event processing policy ? Something along these lines: IF SYS_IF_DOWN and: parentNode = GetObjectParents($if); // not sure if "$if" (Get ObjectParents reference) if ((parentNode->status == 4) return 0; For more details see my solution of dependency based on infrastructure, if it helps... here With regards, MS
  • Software Inventory Version Change

    4
    0 Votes
    4 Posts
    28k Views
    A
    Do you need to trigger on any change, or just some predefined list of software products?
  • Reports... again

    8
    0 Votes
    8 Posts
    45k Views
    R
    I've rewritten the script to PHP. Now it is much more cleaner and easier to understand. Link to github: https://github.com/frostyslav/netxms-report-generator